Implement redis cache of failed builds executed on instance runners
What does this MR do and why?
MR | Description |
---|---|
!130560 (merged) |
Implement redis cache of failed builds executed on instance runners |
!130579 (merged) | GraphQL: Implement failure_reason in AllJobsResolver |
This MR implement a list on the redis cache that will be used in a follow-up MR to keep builds that:
- executed on instance runners
- failed with
failure_reason: :runner_system_failure
These builds represent a small fraction of existing builds in prod (1 in 500).
This will be needed to build a dashboard to list out the latest instance-wide runner system failures without overloading the database with queries to ci_builds
. The actual feature will be built progressively under a feature flag in follow-up MRs.
EE: true
Part of #421889 (closed)
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
The specs should exercise the intended functionality already.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Pedro Pombeiro