-
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
TaskRun and PipelineRun controller do not sync status on err
from reconcile
#1059
Comments
/assign |
@afrittoli: GitHub didn't allow me to assign the following users: me. Note that only tektoncd members and repo collaborators can be assigned. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign |
The TaskRun controller reconcile returns errors immediately. It should instead first attempt to update status and labels and then return both the original error plus any further error raised during the update. Fixes tektoncd#1059
The TaskRun controller reconcile returns errors immediately. It should instead first attempt to update status and labels and then return both the original error plus any further error raised during the update. Fixes tektoncd#1059
The TaskRun controller reconcile returns errors immediately. It should instead first attempt to update status and labels and then return both the original error plus any further error raised during the update. Fixes tektoncd#1059
The TaskRun controller reconcile returns errors immediately. It should instead first attempt to update status and labels and then return both the original error plus any further error raised during the update. Fixes tektoncd#1059
Expected Behavior
When
reconcile
returns an error, there status, labels and annotations of the TaskRun/PipelineRun should still be sync'ed back.Actual Behavior
In case of error, the error is returned, and no update happens.
There is only a little number of cases where this is relevant; nonetheless it should be fixed and unit test coverage added
Steps to Reproduce the Problem
pipeline/pkg/reconciler/v1alpha1/taskrun/taskrun.go
Lines 124 to 128 in 7b06d63
pipeline/pkg/reconciler/v1alpha1/pipelinerun/pipelinerun.go
Lines 166 to 170 in 7b06d63
Additional Info
The text was updated successfully, but these errors were encountered: