Skip to content

Fix Claude Code Review workflow comment tooling#18

Merged
justin808 merged 1 commit intomainfrom
codex/fix-claude-code-review-tools-20260219
Feb 19, 2026
Merged

Fix Claude Code Review workflow comment tooling#18
justin808 merged 1 commit intomainfrom
codex/fix-claude-code-review-tools-20260219

Conversation

@justin808
Copy link
Member

This ports the Claude Code review workflow fix from shakacode/hichee-data#367:

  • update prompt instructions so Claude posts feedback via GitHub comments
  • allow required tools via claude_args --allowedTools
  • remove sticky-comment mode

This makes Claude review output appear as top-level and inline PR comments.

@coderabbitai
Copy link

coderabbitai bot commented Feb 19, 2026

Warning

Rate limit exceeded

@justin808 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 27 minutes and 4 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/fix-claude-code-review-tools-20260219

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 and usage tips.

@greptile-apps
Copy link

greptile-apps bot commented Feb 19, 2026

Greptile Summary

This PR modernizes the Claude Code Review workflow by replacing the deprecated sticky comment mode with direct GitHub comment integration. The changes include:

  • Removed use_sticky_comment: true parameter to switch from single updating comment to standard PR comment workflow
  • Enhanced prompt with explicit instructions on using gh pr comment for top-level feedback and mcp__github_inline_comment__create_inline_comment for inline code comments
  • Added claude_args with --allowedTools to explicitly grant Claude access to the GitHub comment tools and PR viewing commands
  • Improved prompt structure with clearer review focus areas (code quality, bugs, security, performance)

The workflow now produces more natural PR review output with both top-level comments and inline code annotations, matching the fix previously applied in the hichee-data repository.

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • The changes are purely configuration updates to a GitHub Actions workflow. The modifications improve the workflow by replacing a deprecated approach with a more standard GitHub PR comment integration. The syntax is correct, the tool permissions are appropriately scoped, and this exact pattern has been successfully tested in another repository (hichee-data#367). No code logic changes are involved.
  • No files require special attention

Important Files Changed

Filename Overview
.github/workflows/claude-code-review.yml Updated Claude Code Review workflow to use GitHub comments instead of sticky comments, with explicit tool permissions

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[PR Event Triggered] --> B[Checkout Repository]
    B --> C[Run Claude Code Action]
    C --> D{Review PR}
    D --> E[Use gh pr comment<br/>for top-level feedback]
    D --> F[Use mcp__github_inline_comment__create_inline_comment<br/>for inline code comments]
    E --> G[Post to PR]
    F --> G[Post to PR]
    G --> H[Review Complete]
Loading

Last reviewed commit: b1f0c73

@justin808 justin808 merged commit 58a6d6a into main Feb 19, 2026
3 of 4 checks passed
@justin808 justin808 deleted the codex/fix-claude-code-review-tools-20260219 branch February 19, 2026 00:48
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