Skip to content

Persisting failed pipelines from schedules

Max Fan requested to merge 224958-show-pipeline-schedule-errors into master

What does this MR do and why?

Currently when Pipeline Schedules Fail, it's really hard to debug why since there's no user log or information detailing the failure.

This MR will persist failed pipelines from schedules, so the user can see why it failed.

Note: There are still ways for schedules to fail, but no information is provided. Such as the person setting up the schedule has left the company, so the schedule has insufficient permission to run. This is not handled in this issue, and is still pending discussion in a future one.

Screenshots or screen recordings

Previously, these "Scheduled" Pipelines would not appear. Now you can see failures of "Schedules", as well as hovering over the failed bubble tells you why it failed.

image

The Schedules view also list the latest pipeline and if it has failed or not

image

How to set up and validate locally

Follow the repo steps here: #224958 (closed)

MR acceptance checklist

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

Related to #224958 (closed)

Edited by Max Fan

Merge request reports