ci: use distinct concurrency groups for clang and go linters#440
Merged
Conversation
Both Linter workflows shared name "Linter" and the concurrency group
"${{ github.workflow }}-${{ github.ref }}", so they landed in the same
group and cancelled each other with "higher priority waiting request"
whenever the sibling linter started on the same ref.
Give each workflow its own literal group so clang-lint and golangci-lint
run independently per ref.
Co-authored-by: Cursor <cursoragent@cursor.com>
u-veles-a
approved these changes
Jul 23, 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.
Summary
clang_lint.yamlandgolang_lint.yamlsharename: Linterand the concurrency group${{ github.workflow }}-${{ github.ref }}. Sincegithub.workflowis the workflow name, both files resolved to the same group (Linter-<ref>).cancel-in-progress: true, the two linters ended up in one concurrency group and cancelled each other — the clang lint job was killed withCanceling since a higher priority waiting request for Linter-... existswhenever the Go linter started on the same ref (and vice versa).clang-lint-${{ github.ref }}golangci-lint-${{ github.ref }}cancel-in-progress: trueis kept, so a new push to the same PR still supersedes the previous in-progress run of that same linter.Test plan
pp/**and Go files; confirm bothclang-lintandgolangcirun to completion without cancelling each other.Made with Cursor