Skip to content

ci(review): make Claude Code Review post its findings - #313

Open
Jamie-BitFlight wants to merge 1 commit into
mainfrom
claude/review-workflow-comment
Open

Jamie-BitFlight wants to merge 1 commit into
mainfrom
claude/review-workflow-comment

Conversation

@Jamie-BitFlight

Copy link
Copy Markdown
Contributor

Summary

Claude Code Review has never posted a review. Two verified causes:

  1. No --comment. The prompt runs /code-review:code-review <repo>/pull/<n>. anthropics/claude-code plugins/code-review/commands/code-review.md line 63: "If --comment argument was NOT provided, stop here. Do not post any GitHub comments." The plugin README says output goes "to terminal by default, or as PR comment with --comment flag".
  2. No inline-comment tool. claude-code-action src/mcp/install-mcp-server.ts installs the github_inline_comment MCP server only when claude_args --allowedTools lists it. This workflow had no claude_args.

Changes (.github/workflows/claude-code-review.yml)

  • Append --comment to the prompt.
  • Add claude_args: --allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)", the list from the action's docs/solutions.md review example.
  • pull-requests: read → write, as in the same example.

Why this is its own PR

The action refuses to run a workflow file that differs from the default branch. The run on #312 logged: "Skipping action due to workflow validation: … The workflow file must exist and have identical content to the version on the repository's default branch." So this change can only be tested after it merges.

Verification

🤖 Generated with Claude Code

https://claude.ai/code/session_01K5rAHJfvZyEEaUQghV7hCQ


Generated by Claude Code

The workflow ran /code-review:code-review without --comment, and the
code-review plugin stops before posting when --comment is absent
(anthropics/claude-code plugins/code-review/commands/code-review.md).
The inline-comment MCP server is also only installed when its tool is
listed in --allowedTools (claude-code-action
src/mcp/install-mcp-server.ts). Add --comment, the allowedTools list
from the action's docs/solutions.md review example, and
pull-requests: write as in that example.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K5rAHJfvZyEEaUQghV7hCQ
@coderabbitai

coderabbitai Bot commented Sep 30, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: f27daaed-7547-45c7-a646-6632dfa61d3f

  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-30T14:28:55.793734Z 5f93be0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

📊 Test Coverage Report

Coverage: 88.74%

📥 Coverage XML available as artifact: coverage-xml

@github-actions

Copy link
Copy Markdown

Benchmark Results

🔴 Regression detected — threshold: 30%

scan-clean

Metric Base Compare Change
files_per_second 78.7 files/s 79.3 files/s ✅ +0.8%
scan_max_ms 13257.7 ms 12858.4 ms ✅ -3.0%
scan_mean_ms 12715.8 ms 12617.7 ms ✅ -0.8%
scan_min_ms 12381.0 ms 12465.5 ms ➡️ +0.7%

scan-violations

Metric Base Compare Change
files_per_second 94.4 files/s 94.9 files/s ✅ +0.6%
scan_max_ms 2152.9 ms 2148.9 ms ✅ -0.2%
scan_mean_ms 2130.0 ms 2117.2 ms ✅ -0.6%
scan_min_ms 2116.2 ms 2076.8 ms ✅ -1.9%

fix-violations

Metric Base Compare Change
fix_files_per_second 144.0 files/s 143.3 files/s ➡️ -0.5%
fix_max_ms 1400.1 ms 1429.0 ms ➡️ +2.1%
fix_mean_ms 1395.6 ms 1403.0 ms ➡️ +0.5%
fix_min_ms 1389.5 ms 1376.2 ms ✅ -1.0%

cpu

Metric Base Compare Change
cpu_clean_mean_ms 0.6 ms 0.6 ms ➡️ +0.9%
cpu_fix_mean_ms 1.6 ms 1.7 ms ➡️ +3.5%
cpu_violations_mean_ms 0.6 ms 0.6 ms ➡️ +0.2%

import

Metric Base Compare Change
import_package_max_ms 177.8 ms 374.0 ms 🔴 +110.3%
import_package_mean_ms 157.6 ms 227.9 ms 🔴 +44.6%
import_package_min_ms 144.9 ms 152.8 ms ➡️ +5.4%
import_rules_max_ms 243.8 ms 437.0 ms 🔴 +79.3%
import_rules_mean_ms 242.7 ms 315.4 ms ➡️ +29.9%
import_rules_min_ms 241.9 ms 252.5 ms ➡️ +4.4%

View benchmark history

Updated 2026-09-30 14:26 UTC

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.

2 participants