Fix OverdueFinalizeBackgroundMigration
What does this MR do and why?
This MR fixes a bug in the OverdueFinalizeBackgroundMigration
housekeeper keep where it would crash when encountering no-op migrations.
The issue occurred with migrations like BackfillExternalGroupAuditEventDestinationsFixed
which don't contain queue_batched_background_migration
.
The housekeeper would find the migration file but then fail when trying to process it.
How to set up and validate locally
Run the housekeeper with migrations that include no-op entries:
bundle exec gitlab-housekeeper -d -k Keeps::OverdueFinalizeBackgroundMigration