Skip to content

Fix Claude Code Review workflow comment tooling#16

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

Fix Claude Code Review workflow comment tooling#16
justin808 merged 1 commit intomasterfrom
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 24 minutes and 38 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 plugin-based approach with direct tool integration.

Key changes:

  • Upgraded permissions from read to write for pull-requests and issues to enable commenting
  • Replaced plugin marketplace configuration with explicit prompt instructions and tool allowlist
  • Updated actions/checkout from v4 to v6
  • Added claude_args with --allowedTools to explicitly permit gh pr comment, gh pr diff, gh pr view, and mcp__github_inline_comment__create_inline_comment
  • Removed commented-out path filters and author filters (cleanup)

The workflow now uses gh CLI and MCP tools directly instead of the code-review plugin, making Claude's output appear as native GitHub PR comments.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The changes are straightforward configuration updates to a GitHub Actions workflow. The migration from plugin-based to tool-based approach is well-structured, permissions are correctly upgraded from read to write to enable commenting functionality, and the tool allowlist is properly scoped to only necessary operations (gh pr comment/view/diff and inline comments). No code logic changes, just workflow configuration.
  • No files require special attention

Important Files Changed

Filename Overview
.github/workflows/claude-code-review.yml Migrated from plugin-based to direct tool-based approach with write permissions and explicit tool allowlist

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 for top-level feedback]
    D --> F[Use mcp__github_inline_comment for inline comments]
    E --> G[Post GitHub Comments]
    F --> G
    G --> H[Review Complete]
    
    style C fill:#f9f,stroke:#333,stroke-width:2px
    style G fill:#9f9,stroke:#333,stroke-width:2px
Loading

Last reviewed commit: f10d146

@justin808 justin808 merged commit d68d654 into master Feb 19, 2026
2 of 3 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