Repository navigation
fix(ci): drop caller concurrency that deadlocks claude-review - #168
Merged
Merged
Conversation
The workflow is named claude-review, so the caller-level concurrency
group ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
resolves to claude-review-<pr#> — byte-identical to the job-level group
the called reusable workflow (melodic-software/ci-workflows
claude-review.yml) defines. GitHub treats a called job entering the
same concurrency group its caller already holds as a deadlock and
fails the run instantly (proven in melodic-software/standards PR #98,
fixed there in f93fb81 the same way). The reusable's job-level group
already provides per-PR review supersession, so the caller-level block
is removed rather than re-keyed.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EPDbXgonTuFwFwdTtHaCmw
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_4b9302a2-7101-43f3-92b7-a7539401d097) |
There was a problem hiding this comment.
Risk: low. Cursor Bugbot did not complete successfully (check skipped due to usage limit), so automated review is incomplete and I am not approving. Human review is needed; no reviewers were assigned because the only repo contributor is the PR author.
Sent by Cursor Approval Agent: Pull Request Router and Approver
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.


Problem
The caller workflow is named
claude-review, so its workflow-level concurrency group${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}resolves toclaude-review-<pr#>— the exact same group the called reusable workflow (melodic-software/ci-workflowsclaude-review.yml) hardcodes at job level (claude-review-${{ github.event.pull_request.number || github.sha }}). When the called job tries to enter the concurrency group its own caller already holds, GitHub fails the run instantly as a same-group deadlock.This is the identical failure class proven in melodic-software/standards#98 (run failed in 0s) and fixed there in melodic-software/standards@f93fb81 by removing the caller-level block.
Fix
Remove the workflow-level
concurrency:block (and its comment) from the caller. The reusable workflow's job-level group already owns per-PR review supersession (newest head cancels the in-flight review), so no behavior is lost.Part of melodic-software/github-iac#82
🤖 Generated with Claude Code
https://claude.ai/code/session_01EPDbXgonTuFwFwdTtHaCmw
Note
Low Risk
CI workflow-only change; review cancellation behavior remains in the pinned reusable workflow.
Overview
Removes the workflow-level
concurrencyblock (and its comment) from.github/workflows/claude-review.yml.That group used
${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}, which resolves toclaude-review-<pr#>— the same name the calledmelodic-software/ci-workflowsreusable workflow already uses at job level. When both layers tried to enter one group, GitHub failed the run immediately as a same-group deadlock.Per-PR review supersession (cancel in-flight review on newer pushes) stays owned by the reusable workflow’s job-level concurrency; nothing else in the caller workflow changes.
Reviewed by Cursor Bugbot for commit 8d355b1. Bugbot is set up for automated code reviews on this repo. Configure here.