Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull Request Merge Queue #370

Closed
github-product-roadmap opened this issue Jan 12, 2022 · 2 comments
Closed

Pull Request Merge Queue #370

github-product-roadmap opened this issue Jan 12, 2022 · 2 comments
Labels
all Product SKU: All cloud Available on Cloud ga Feature phase: Generally available GHES 3.12 GHES 3.12 github enterprise Product SKU: GitHub Enterprise pull requests Feature: Github Pull Requests server Available on Server shipped Shipped

Comments

@github-product-roadmap
Copy link
Collaborator

Summary

Pull Request Merge Queues are already in beta for a select number of customers. With the release, we are making merge queues publicly available to all.

Maintaining a green mainline development branch ensures developers always have a good starting point for bug fixes and new features and because in many workflows, releases are initiated from this branch. When this branch becomes broken, new development and downstream workflows (like release creation, integration testing, deployments, etc) can be disrupted. One of the simplest ways to avoid a broken branch today is by enabling the Require branches to be up-to-date branch protection setting. However, this forces developers to constantly update their pull request branch when another pull request gets merged, which triggers a new round of CI status checks. In a highly active branch, developers may be forced to repeat this process multiple times before they can merge, delaying the delivery of fixes and features.

Pull Request Merge Queue ensures pull requests are merged efficiently, without requiring developers to update their pull request whenever another change lands, all while ensuring the branch remains green.

Intended Outcome

Improve developer productivity and increase the velocity of changes landing in your busiest branches.

How will it work?

A developer can add their pull request to the merge queue when:

  1. Merge queue is enabled on a branch via a new branch protection setting, and...
  2. All merge requirements have been met (e.g. including required reviewer and status check)

image

Once in the queue, the pull request's changes will be:

  1. validated to ensure it passes all required checks before merging
  2. merged with the latest version of the branch along with any pull requests ahead of it in the queue

image

@github github locked and limited conversation to collaborators Jan 12, 2022
@github-product-roadmap github-product-roadmap added all Product SKU: All cloud Available on Cloud code Feature area: Code experiences ga Feature phase: Generally available github enterprise Product SKU: GitHub Enterprise labels Jan 12, 2022
@github-product-roadmap github-product-roadmap added the server Available on Server label May 18, 2022
@ankneis ankneis added the pull requests Feature: Github Pull Requests label Dec 21, 2022
@github-product-roadmap github-product-roadmap added GHES 3.10 and removed code Feature area: Code experiences GHES 3.8 labels Jan 25, 2023
@ankneis
Copy link
Collaborator

ankneis commented Jul 12, 2023

This has shipped: https://github.blog/2023-07-12-github-merge-queue-is-generally-available/!

Leaving open to track for GHES release.

@ankneis ankneis added the shipped Shipped label Jul 12, 2023
@ankneis ankneis added GHES 3.12 GHES 3.12 and removed GHES 3.11 labels Sep 27, 2023
@ankneis ankneis added GHES 3.13 GHES 3.13 and removed GHES 3.12 GHES 3.12 labels Nov 6, 2023
@github-product-roadmap github-product-roadmap added GHES 3.12 GHES 3.12 and removed GHES 3.13 GHES 3.13 labels Nov 8, 2023
@ankneis
Copy link
Collaborator

ankneis commented Mar 12, 2024

🚢 This has shipped with GHES 3.12: https://docs.github.com/en/[email protected]/admin/release-notes

@ankneis ankneis closed this as completed Mar 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
all Product SKU: All cloud Available on Cloud ga Feature phase: Generally available GHES 3.12 GHES 3.12 github enterprise Product SKU: GitHub Enterprise pull requests Feature: Github Pull Requests server Available on Server shipped Shipped
Projects
Status: Q3 2023 – Jul-Sep
Development

No branches or pull requests

2 participants