Finalize BBM for vulnerability risk score table backfill

What does this MR do?

This MR adds a finalization migration for the BackfillVulnerabilityFindingRiskScores batched background migration that was queued in 18.6.

Why?

We need to finalize this migration in 18.7 before the required stop of 18.8 because we want to start a migration to ES index (!211551 (merged)) in 18.7, which is dependent on this migration being completed.

If you do indeed need this exception, it would be safer to put the finalize in a regular migration in 18.7.

👆🏼 We already discussed about this process in slack thread here. The guidance received from groupdatabase frameworks is to use a regular migration to finalize in 18.7 on gitlab.com and dedicated.

Finalization for self-managed will be introduced after the required stop in 18.9.

Key Changes

  • Added db/migrate/20251120100000_finalize_backfill_vulnerability_finding_risk_scores.rb
  • Set skip_early_finalization_validation: true because this migration requires to be finalized before one required stop

Closes #581522


This merge request was created by GitLab Duo

Edited by Bala Kumar

Merge request reports

Loading