-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Expected Behavior
CompletionTime is always updated to reflect the time the task/pipeline was observed to succeed.
Actual Behavior
CompletionTime is only updated when something else in Status is being touched. This is because updateStatus is guarded by an equivalence check, so if nothing else changes, then this doesn't get set.
Steps to Reproduce the Problem
I saw this in a unit test where I set the condition but not CompletionTime, and was surprised it wasn't set.
Additional Info
This is going to be blocking for a transition away from hand-rolled updateStatus to // +genreconciler.
/kind bug
Metadata
Metadata
Assignees
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.