Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This Do
Enable a merge queue, and include the following configurations:
squashmethodmaster, but require a reason for skipping these checksMotivation
By enabling a merge queue, not only can we ensure that PRs pass CI with the latest version of
master, including all PRs merged before it, but also we can run certain checks (e.g. benchmarks) only when merging tomaster. Merge queues by default run with the "speculative" workflow type. More details here, but TLDR; each PR needs to pass with the latest version ofmaster+ any PRs that sit before it in the merge queue before being merged.This is a separate discussion from the merge queue itself, but as an example of what it can be used for -- benchmarks are the longest-running job on CI and currently run for every push. Certain PRs like documentation changes that do not warrant benchmarking runs or commits that are not yet ready to be benchmarked still need to wait for these jobs to pass in order for the CI run to complete. This delays feedback and can slow down the development cycle, even moreso if we want to increase the benchmark runtime (e.g. to improve stability). Instead we can run benchmarks when manually triggered and merging to
masterthrough a merge queue. The check-big-regressions PR-gate would prevent large regressions from being merged tomaster, but it would be the responsibility of the developer to run benchmarks when relevant prior to putting their PR in the merge queue.Additional Notes
Contributor Checklist
type:and (comp:orinst:) labels in addition to any useful labelsclose,fixor any linking keywords when referencing an issue.Use
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]