Skip to content

fix(#425): scope claude-review.yml's concurrency group per-PR, not per-ref - #426

Merged
Like2Read merged 2 commits into
mainfrom
fix/claude-review-concurrency-scope
Aug 29, 2026
Merged

fix(#425): scope claude-review.yml's concurrency group per-PR, not per-ref#426
Like2Read merged 2 commits into
mainfrom
fix/claude-review-concurrency-scope

Conversation

@coder-abt

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • actionlint clean on the changed file
  • Test Workflows CI job (YAML syntax validation) passes

Closes #425

…r-ref

github.ref resolves to the default branch for issue_comment and
pull_request_review_comment events regardless of which PR the comment
is on, so every comment-triggered review across the whole repo shared
one concurrency-group queue slot. A newer run entering the group
cancels whatever was previously queued (not the in-progress one), so a
review requested on one PR could silently evict a still-queued review
on an unrelated PR, with no visible error to whoever asked for it.

Reproduced live on 2026-08-28: near-simultaneous @claude review
comments on PR #422 and #423 collided; #422's queued run was silently
cancelled by claude[bot]'s own auto-reply comments on #423 firing into
the same shared group.

Scope the group by github.event.issue.number (issue_comment, including
PR comments) or github.event.pull_request.number (pull_request and
pull_request_review_comment), falling back to github.ref for any other
trigger. cancel-in-progress is unaffected - it only reads
github.event_name.

Closes #425

Assisted-by: claude-opus-5 (agent)
@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 59 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: ea58cbbf-5905-4101-b294-739429516910

📥 Commits

Reviewing files that changed from the base of the PR and between 66379d1 and 7aed16a.

📒 Files selected for processing (1)
  • .github/workflows/claude-review.yml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a GitHub Actions concurrency misconfiguration in the Claude review workflow so that comment-triggered reviews don’t all share a single repo-wide queue slot and cancel each other across unrelated PRs.

Changes:

  • Scope claude-review.yml concurrency group by PR/issue number (github.event.issue.number / github.event.pull_request.number) instead of github.ref.
  • Add explanatory documentation in the workflow clarifying why github.ref is incorrect for comment events and how the new key avoids cross-PR eviction.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/claude-review.yml
…ment

Reflow the concurrency comment so the code span isn't split across a
line break, per Copilot review feedback.

Assisted-by: claude-opus-5 (agent)
@alex-budanov

Copy link
Copy Markdown
Member

`@claude review
@coderabbitai review

@alex-budanov
alex-budanov requested a lite review from Copilot August 29, 2026 14:37
@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown

@alex-budanov I will review the changes.

⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@Like2Read
Like2Read merged commit 23d9b4f into main Aug 29, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

claude-review.yml: comment-triggered reviews share one repo-wide concurrency group, not per-PR

4 participants