Skip to content

Introduce ability to bypass push mirror delay

Igor requested to merge remote-mirror-no-delay into master

What does this MR do and why?

For the operation of gitlab.com we rely heavily on push mirrors to https://ops.gitlab.net. We usually also mirror pushes of unprotected branches, as we run MR pipelines on ops as well.

The 5 minute delay incurred between pushes really slows down the feedback cycle and limits our ability to quickly mitigate incidents. In many cases it is the limiting factor when waiting for a merged MR to get applied.

This patch introduces a way to selectively bypass this delay on a per-project basis via ops feature flag.

It's a middle ground between what we have today, and a full-fledged configurable delay time that has been proposed in the past: #99 (closed), #3390, #3832 (closed).

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Igor

Merge request reports