-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Start using knative PermanentErrors in reconcilers #2474
Labels
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
kind/feature
Categorizes issue or PR as related to a new feature.
Comments
tekton-robot
added
the
kind/feature
Categorizes issue or PR as related to a new feature.
label
Apr 23, 2020
/kind cleanup |
tekton-robot
added
the
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
label
Apr 23, 2020
3 tasks
afrittoli
added a commit
to afrittoli/pipeline
that referenced
this issue
Jun 10, 2020
Instead of returning nil on error during reconcile, if the error is transient return it, so that the key is requeue. If the error is permanent return a permanent error, so that the key is not requeued. Partially addresses tektoncd#2474
afrittoli
added a commit
to afrittoli/pipeline
that referenced
this issue
Jun 10, 2020
Instead of returning nil on error during reconcile, if the error is transient return it, so that the key is requeue. If the error is permanent return a permanent error, so that the key is not requeued. Partially addresses tektoncd#2474
This was referenced Jun 10, 2020
afrittoli
added a commit
to afrittoli/pipeline
that referenced
this issue
Jun 10, 2020
Instead of returning nil on error during reconcile, if the error is transient return it, so that the key is requeue. If the error is permanent return a permanent error, so that the key is not requeued. Partially addresses tektoncd#2474
afrittoli
added a commit
to afrittoli/pipeline
that referenced
this issue
Jun 11, 2020
Instead of returning nil on error during reconcile, if the error is transient return it, so that the key is requeue. If the error is permanent return a permanent error, so that the key is not requeued. Partially addresses tektoncd#2474
afrittoli
added a commit
to afrittoli/pipeline
that referenced
this issue
Jun 23, 2020
Instead of returning nil on error during reconcile, if the error is transient return it, so that the key is requeue. If the error is permanent return a permanent error, so that the key is not requeued. Partially addresses tektoncd#2474
afrittoli
added a commit
to afrittoli/pipeline
that referenced
this issue
Jun 23, 2020
Instead of returning nil on error during reconcile, if the error is transient return it, so that the key is requeue. If the error is permanent return a permanent error, so that the key is not requeued. Partially addresses tektoncd#2474
afrittoli
added a commit
to afrittoli/pipeline
that referenced
this issue
Jun 24, 2020
Instead of returning nil on error during reconcile, if the error is transient return it, so that the key is requeue. If the error is permanent return a permanent error, so that the key is not requeued. Partially addresses tektoncd#2474
afrittoli
added a commit
to afrittoli/pipeline
that referenced
this issue
Jun 24, 2020
Instead of returning nil on error during reconcile, if the error is transient return it, so that the key is requeue. If the error is permanent return a permanent error, so that the key is not requeued. Partially addresses tektoncd#2474
tekton-robot
pushed a commit
that referenced
this issue
Jun 25, 2020
Instead of returning nil on error during reconcile, if the error is transient return it, so that the key is requeue. If the error is permanent return a permanent error, so that the key is not requeued. Partially addresses #2474
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
kind/feature
Categorizes issue or PR as related to a new feature.
Expected Behavior
Distinguish explicitly between permanent errors and transient ones in the reconciler code.
Actual Behavior
Today we capture errors that are considered permanent in
Reconcile
so that we can returnnil
and the key is not directly requeued. So we use the same semantic to indicate no error and permanent error.Knative pkg defines
PermanentError
: whenReconcile
is invoked on an object taken from the queue, if it returnsPermanentError
the object is not requeued.This allows being explicit in the reconcile code about which error is considered a permanent one.
/kind feature
The text was updated successfully, but these errors were encountered: