Repository navigation
ci: one summary check gates the merge, and a run on main is never cancelled (C1) - #709
Merged
Merged
Conversation
…celled (C1) From the CI audit of 2026-10-05: only six fast checks were required, so auto-merge landed pull requests before Corpus health, the writer corpus and IfcOpenShell finished (#647 merged with 22 of 23 checks passed, then main CI run 37213656572 failed in Corpus health on a real conflict between two pull requests), and two merges in a row cancelled the first one's run on main. - A `CI passed` job needs every CI job and fails when any failed or was cancelled. The committed main-protection ruleset requires it alone; it is applied once the job has run green on main. - CI's concurrency cancels in-progress runs on pull requests only. - docs/maintaining.md describes the gate.
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.
ci: one summary check gates the merge, and a run on main is never cancelled (C1)
From the CI audit of 2026-10-05: only six fast checks were required, so
auto-merge landed pull requests before Corpus health, the writer corpus and
IfcOpenShell finished (#647 merged with 22 of 23 checks passed, then main CI
run 37213656572 failed in Corpus health on a real conflict between two pull
requests), and two merges in a row cancelled the first one's run on main.
CI passedjob needs every CI job and fails when any failed or wascancelled. The committed main-protection ruleset requires it alone; it is
applied once the job has run green on main.
Note
Medium Risk
Changes branch protection and merge gating behavior; misconfiguration could block merges or weaken enforcement, though the intent is stricter (all jobs must complete).
Overview
Merge protection now requires a single
CI passedstatus instead of six individual job names, so auto-merge cannot land until the full CI matrix finishes.A new
ci-okjob (CI passed) runs withif: always(), depends on every CI job in the workflow, and fails if any dependency failed or was cancelled. Branch protection inmain-protection.jsonwas updated to require only that context, so renaming or adding jobs no longer forces ruleset edits.Concurrency on
ci.ymlnow setscancel-in-progressonly for pull requests; pushes tomainno longer cancel an in-flight run when another merge lands immediately after.docs/maintaining.mddocuments the single gate and that Measure/release/deploy workflows stay outside it.Reviewed by Cursor Bugbot for commit 4cf0ae1. Configure here.