-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
We have had use cases as specified in #7223 and #7396 that downstream users and Tekton providers would want to have more granular error reasons. As discussed at the API WG and #7390, the existing CRDs {Step, TaskRun, PipelineRun} rely on knative.dev/pkg/apis#Condition for conveying user-facing reasons.
However these Condition reasons are being relied on for our Pipeline For example, dashboard will rely on the error reason to determine the step status.
Blocked issues:
Surfacing of actual Termination Reason in Step Status
Surface TaskRun failure reason when Step or Pod fails
Make user-facing condition messages more granular as canonical error codes
Current workaround:
Option 1: Add a new provisional field in the CRDs for {Step, TaskRun, PipelineRun} Condition/ContainerTerminatedState status
Option 2: Add it to the condition/containerTerminated message
Future work plan:
With a major version bump, i.e. in v2alpha1, we would be able to change the Condition/ContainerTerminated Reason
co-authored with: @renzodavid9