Skip to content

Populate p_ci_runner_failed_builds table with failed builds

This MR is based on the pedropombeiro/421889/1-create-runner_failed_builds-table branch, please change to master before merging

What does this MR do and why?

MR Description
!129972 (closed) Create p_ci_runner_failed_builds partitioned table
!130174 (closed) you are here Populate p_ci_runner_failed_builds table with failed builds
!130203 (closed) Clean up stale runner failed build records
omnibus-gitlab!7113 (closed) Add cronjob to clean up stale runner failed bui... (omnibus-gitlab!7113 - closed)
gitlab-org/charts/gitlab!3361 (closed) Add cronjob to clean up stale runner failed bui... (gitlab-org/charts/gitlab!3361 - closed)

This MR follows up on !129972 (closed) to start populating the table with any builds that fail with a failure reason of :runner_system_failure. It also introduces a project-scoped FF called :runner_failed_builds (rollout issue) so that we can disable the creation of the new records if needed.

Part of #421889 (closed)

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