Skip to content

Comments

feat: Support merge queues in Gateway#3321

Open
AshCorr wants to merge 1 commit intomainfrom
ash/merge-queues
Open

feat: Support merge queues in Gateway#3321
AshCorr wants to merge 1 commit intomainfrom
ash/merge-queues

Conversation

@AshCorr
Copy link
Member

@AshCorr AshCorr commented Feb 13, 2026

What does this change?

Add support to our CI pipelines for Merge Queues.

This is based on discussions in the Engineering channels about preferring "Merge Queues" over "Auto merge".

Frequently I will find that a PR is out of date from the mainline branch after its been approved, usually in this scenario I will hit the "Update" button and then "Auto-merge" so that the PR will be merged once checks have finished running on the now updated PR.

Ocassionally, more than one person might be working on a repo, and between the time that I've hit the "Update" button and CI completing, someone else might merge another change in which puts my PR out of date again, requiring me to update the PR again and start my CI from scratch.

Merge queues fixes this issue by basically managing the process of updating your PR and running CI automatically, so if main is updated after you've hit the merge button on your PR the merge queue will take care of updating your branch and making sure CI still works.

"Auto-merge" also has the unfortunate effect that sometimes it will be enabled before a PR is approved, this goes against the way we usually treat reviews at The Guardian, where the PR creator is usually responsible for supervising its deployment, "Auto-merge" flips this on its head and makes the approver potentially responsible for the merge. We do run a "no blame" culture, so its not like the approver has done anything wrong, but it can be a barrier to approving a PR when you know that you'll potentially have to be the one monitoring it.

After merging this PR we can remove the check for a branch to be up to date before merging and then enable merge queues in our branch protection rules.

@AshCorr AshCorr added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Feb 13, 2026
@AshCorr AshCorr marked this pull request as ready for review February 13, 2026 12:45
@AshCorr AshCorr requested a review from a team as a code owner February 13, 2026 12:45
@github-actions
Copy link

github-actions bot commented Feb 13, 2026

@AshCorr AshCorr added run_tests Run Cypress & Chromatic and removed run_tests Run Cypress & Chromatic labels Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature run_tests Run Cypress & Chromatic

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant