Repository navigation
ci: Give the check-format workflow a top-level concurrency group (#962) - #2640
Merged
Merged
Conversation
zackees
enabled auto-merge
October 27, 2026 13:51
Member
Author
|
Handed off to the coordinator.
|
This was referenced Oct 27, 2026
This was referenced Oct 27, 2026
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 #962. Clears the unapproved
ci-lint precheckfinding against.github/workflows/check-format.yamlby fixing it rather than recording anexception: the workflow gains a top-level
concurrencygroup and its ci.tomlWF-002
[[exceptions]]entry is deleted.RED
ci/test_wf002_concurrency.py(commit c55299d, test only) fails againstmaster'scheck-format.yaml:ci-lint precheckonmaster(pina1917ce7…, the pin inci.toml) reportsit as:
GREEN
Commit a4204fa:
.github/workflows/check-format.yamlgains a top-levelconcurrency: { group: check-format-${{ github.event_name }}-${{ github.ref }}, cancel-in-progress: true }.The literal
check-format-prefix keeps the group distinct from thecalling workflow's own group (
ci.ymlalso sets a top-level concurrencygroup), so a newer run of a ref cancels the one it supersedes.
ci.toml: the WF-002[[exceptions]]block forcheck-format.yamlisdeleted.
ci-lint precheckwith the change:556 approved exception(s)(was 557),16 violation(s), no new one — the WF-002 finding forcheck-format.yamlisgone. (The 16 includes RUST-018 on
origin/master, fixed separately in#2639.)
Local, on the change:
ci/test_wf002_concurrency.pypasses (the RED test now GREEN).ci/test_ci_toml.py,ci/test_uv_run.py,ci/test_workflow_duplicate_keys.py,ci/test_workflow_schedule_guard.py,ci/test_ci_tests_stdlib_only.pypass.The pin follows
ci/test_ci_job_timeouts.py(the WF-001 analog), so a lateredit that drops the group fails the same lane the linter would.
No
docs/features.mdline: build tooling only.