Update runners owned by non-existing projects
What does this MR do and why?
This MR follows up on !176879 (merged) and adds a background migration to handle runners that are owned by deleted projects (referenced through sharding_key_id
in ci_runners
). There will be similar MRs to handle runner managers and runner taggings. If there is a fallback project association, we use the oldest still-existing association, otherwise we delete the runner.
Changelog: added
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
- Handle sharding_key_id pointing to missing proj... (#512075 - closed)
- Update runner managers owned by non-existing pr... (!177423 - merged)
- Update runner taggings owned by non-existing pr... (!177453 - merged)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
n/a
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
n/a