Sitelet https://web.archive.org/web/20220124202526/https://github.com/github/roadmap/issues/370
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

Open
github-product-roadmap opened this issue Jan 12, 2022 · 0 comments
Open

Pull Request Merge Queue #370

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

Comments

@github-product-roadmap
Copy link
Collaborator

@github-product-roadmap github-product-roadmap commented Jan 12, 2022

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Q2 2022 – Apr-Jun
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant