Skip to content

Clarification needed on pipelineRun.finished.outcome field #268

@IshaGupta18

Description

@IshaGupta18

Hi CDEvents team 👋

While reviewing the spec for pipelineRun.finished, I noticed a couple of areas where additional clarity would be helpful:

  1. 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?
  1. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions