Repository navigation
ci: Test PRs on their merge result via the merge queue (#692) - #716
Merged
Merged
Conversation
pr-pull.yaml runs on merge_group and on every PR (docs-only PRs need the required check too), and a 'CI Gate ✅' job fails when any other job failed or was cancelled. In a merge group build-project.yaml scopes the change against the queue's base commit and ignores local-gate stamps, so the full Linux suite runs on the merge result. Refs #692
This was referenced Oct 14, 2026
zackees
added a commit
to nathan-v/obs-studio
that referenced
this pull request
Oct 14, 2026
…st#720) Section 8 recorded the obs-rust#139 decision to wait for an always-reported aggregate check before requiring checks or a merge queue. CI Gate is that check (obs-rust#716); the master ruleset now queues PR merges and requires it, with repository admins bypassing for the attested direct-push flow. Fixes obs-rust#692
11 of 15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Refs #692 (it closes once the master ruleset is switched on after this merges; see below)
Workflow changes
pr-pull.yamlruns onmerge_group. It also runs on every PR: I droppedpaths-ignore: '**.md', because a docs-only PR would otherwise never get the required check.CI Gate ✅job (if: always()) needs every other job. It fails if any of them failed or was cancelled; skipped jobs (out of scope, or attested) pass. That gives the ruleset one stable check name.build-project.yaml:ci_scope.py) againstmerge_group.base_sha;coordination.mdexplains queuing (gh pr merge <N>) and that hand rebases are needed only on conflict.ci/test_merge_queue.py(in./lint) pins all of the above.After merge (repository setting)
I'll add a master ruleset with merge queue (merge method MERGE, matching coordination.md §8) and required status check
CI Gate ✅. That has to wait until this workflow is on master, or every open PR would wait on a check that never reports.RED → GREEN
ci/test_merge_queue.pyfails 5/5 on the test commit../lintis ok. This PR's own run should showCI Gate ✅.