Conformance Policy around Custom Task Run #5700
Labels
area/roadmap
Issues that are part of the project (or organization) roadmap (usually an epic)
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
Creating this issue to propose:
REQUIRED
|RECOMMENDED
|OPTIONAL
) of each field.The motivation behind this issue is: nowadays. we expect customers to implement something but we have no way to enforce that, this has caused a lot of inconsistency between the design, the documentation and the actual implementation in Custom Task Run. Including but not limited to: #5653, #5582, #5393
Let me get the ball rolling, feel free to leave comments!
Spec.Status
to support pipeline-level timeoutsStatus.Conditions
: only mark the CustomRun as done when it's really done (all retry attempts have been exhausted)Taking
retries
andtimeout
functionality as example, custom task controller should only report the custom task as done (Reason!="" && Reason!=UNKNOWN
) after exhausting all retries. And Pipeline Controller only relies on status report to decide the current status of a Run. (removing the dependence onlen(retriesStatus)
)cc @tektoncd/core-collaborators
The text was updated successfully, but these errors were encountered: