Skip to content

Draft: Refactor worker to query projects with stuck MRs

What does this MR do and why?

Utilizes distinct_each_batch to query target_project_id of MRs that are in locked state.

Behind a feature flag called unstick_mrs_distinct_each_batch so we can turn it off if it shows any unforeseen issue on production.

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.

Merge request reports