Use new flag to toggle UpdateDefaultContextWorker

What does this MR do and why?

Even though we have the worker to update default contexts on default branch change we are still seeing duplicates on production. This is because the UpdateDefaultContextWorker was using vulnerabilities_across_contexts FF which is not globally enabled. So adding a new FF so that we can toggle this worker as needed independently.

NOTE: We don't see any issues with the worker as of now. So the new FF will enabled on production once the MR is merged and can be toggled back if needed.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rushik Subba

Merge request reports

Loading