Skip to content

Set failure reason for non-persisted pipelines

What does this MR do and why?

Makes it so that pipeline.failure_reason is accurate for non-persisted failed pipelines, such as pipelines that have been filtered by rules or workflow rules. We will later use this to keep track of the source branch commit sha of the latest valid processed pipeline configuration for merge requests.

These changes were split out of !136089 because that MR is still very large and under development, but in the meantime we could already merge and fully roll out this code.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports