Make user-facing PipelineRun condition messages more granular and debuggable as canonical error codes #7501
Labels
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
kind/question
Issues or PRs that are questions around the project or a particular feature
User requirements
Following up on the discussion at #6859, a mechanism of canonical error code would be preferred for error attribution for downstream users.
Current behavior
Currently, the most similar field we have during a Run status is the PipelineRun/TaskRun reason. But
For example, PipelineValidationFailed is vague in terms of it conflates many reasons i.e. invalid param array index and invalid PipelineResult see #7434 for more detail.
The following table summarizes the PipelineRunReasons that have conflated error causes:
The remaining questions are similar to what's discussed at #7390 , how we could not break users with such changes.
Future Work Plan
/kind question
/kind cleanup
The text was updated successfully, but these errors were encountered: