-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hi CDEvents team 👋
While reviewing the spec for pipelineRun.finished, I noticed a couple of areas where additional clarity would be helpful:
- Allowed values for outcome
- The spec text lists "success", "error", and "failure" as example values.
- However, the JSON schema appears to allow arbitrary strings, without enforcing a strict enum constraint.
- Could you clarify whether producers are required to use only "success", "error", or "failure", or if custom values are permitted?
- Difference between "error" and "failure"
- The spec includes both outcome terms, but doesn’t clarify the intended distinction.
- For instance: is "error" intended for infrastructure or runtime issues (e.g. crashes, misconfigurations), whereas "failure" is used for legitimate pipeline execution failures (e.g. failed tests, build errors)?
- Additional guidance or example use cases would help ensure consistent interpretation and handling across toolchains.
Thanks a lot in advance and let me know should you need more context.
Metadata
Metadata
Assignees
Labels
No labels