Skip to content

Enable geo_proxy_check_pipeline_refs by default

Ian Baum requested to merge enable-geo-proxy-check-pipeline-refs-by-default into master

What does this MR do and why?

Enable geo_proxy_check_pipeline_refs by default

Changelog: changed EE: true

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.

How to set up and validate locally

  1. Configure a GitLab instance using unified URL, and a runner registered to the secondary
  2. Shutdown sidekiq on the secondary to disable replication
  3. Run a pipeline against the secondary, and confirm it fails to clone the project due to a missing refs/pipelines/X branch
  4. Enable the feature flag by running in a rails console on the primary
    > ::Feature.enable(:geo_proxy_check_pipeline_refs)
  5. Run a pipeline against the secondary, and this time it should clone the project.

Be aware of #260456, it may be required to clear redis cache on secondary after flipping the feature flag

Edited by Ian Baum

Merge request reports