Skip to content

ci: stop stray review comments cancelling in-progress AI reviews#89

Merged
nsportsman merged 1 commit into
mainfrom
fix/concurrency-no-cancel-on-comment
Jun 7, 2026
Merged

ci: stop stray review comments cancelling in-progress AI reviews#89
nsportsman merged 1 commit into
mainfrom
fix/concurrency-no-cancel-on-comment

Conversation

@nsportsman

Copy link
Copy Markdown
Contributor

What

Changes the AI-reviewer caller concurrency from cancel-in-progress: true to:

cancel-in-progress: ${{ github.event_name == 'pull_request' }}

Why

These callers trigger on pull_request_review_comment, and every comment shares
the same per-PR concurrency group. Workflow-level concurrency is evaluated at run
creation — before the reusable's preflight @mention gate skips a stray
comment — so an unconditional true lets any inline review comment cancel an
in-progress review and leave the PR with none.

Gating cancellation on pull_request (open/ready) events means stray review
comments queue behind a running review and no-op instead of killing it, while
open/ready dedup is preserved.

Same class of bug as google-github-actions/run-gemini-cli#195.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@nsportsman, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 54 minutes and 28 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0b14c8f3-9910-4196-b15a-240bb5aba198

📥 Commits

Reviewing files that changed from the base of the PR and between c7754c4 and a38488e.

📒 Files selected for processing (2)
  • .github/workflows/codex-code.yml
  • .github/workflows/gemini-code.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/concurrency-no-cancel-on-comment

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

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Gemini review skipped — non-code PR (only changed files matching docs/**, .github/**, .claude-plugin/**, *.md, *.txt, images, or license-like files). Post @gemini on a review comment to force a review.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Codex review skipped — non-code PR (only changed files matching docs/**, .github/**, .claude-plugin/**, *.md, *.txt, images, or license-like files). Post @codex on a review comment to force a review.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Claude review skipped — non-code PR (only changed files matching docs/**, .github/**, .claude-plugin/**, *.md, *.txt, images, or license-like files). Post @claude on a review comment to force a review.

@nsportsman nsportsman merged commit bca300a into main Jun 7, 2026
15 checks passed
@nsportsman nsportsman deleted the fix/concurrency-no-cancel-on-comment branch June 7, 2026 00:51
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.

1 participant