Define a unique identifier for each batched background migration
Steps needed to implement the proposed solution.
- Define a unique identifier for each BBM (
👈 ) - Include finalize_after timestamp in BBM data dictionary, with a rubocop to ensure it's presence.
- Include finalized_by to store the migrations version which finalized the BBM.
- Add a rubocop to ensure the presence of 'introduced_by' key in dictionary.
- Run a cron to create a new issue after 'finalize_after' timestamp and add appropriate labels+assignee using introduced_by MR/issue.
- Establish dependecy between new migrations and previously enqueued BBMs.
- Add a rubocop to warn when the dependent BBMs are not finalized yet.
Edited by Prabakaran Murugesan