Skip to content

ci: surface Claude review output and give it a base to diff - #83

Open
amery wants to merge 1 commit into
mainfrom
pr-amery-review-debug
Open

amery wants to merge 1 commit into
mainfrom
pr-amery-review-debug

Conversation

@amery

@amery amery commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Diagnostic, not a fix. Opened so the Claude review job runs against
a real PR with its output visible.

Why

The job has exited success on eight non-renovate PRs without ever
posting a comment — pr-amery-plugin (×3), pr-amery-eslint-config,
pr-amery-workflows, pr-amery-chores,
pr-amery-deps-eslint-config and pr-amery-scripts. Everything
since 2026-04-07 has been renovate-authored and correctly skipped by
the actor filter, which masked the problem.

The one run whose log survives, on #82, ended:

{"type":"result","subtype":"success","is_error":false,
 "num_turns":8,"total_cost_usd":1.0125425,
 "permission_denials_count":2}

and its final step reported No buffered inline comments. So the
agent ran for eight turns, had two tool calls denied, and buffered
nothing for the action to post.

The denials are not GitHub token scopes — the job grants
pull-requests: write and issues: write, and the runner confirms
both. They are Claude Code's own tool gate, which has no allowlist to
work from: git ls-files .claude is empty, so nothing repo-side
reaches the runner even though the action reads project settings.

What this changes

  • show_full_output: true — the SDK output is suppressed by
    default, which is why the two denied tools cannot be named.
  • fetch-depth: 0 — a depth-1 checkout gives the review no base
    commit to diff the head against.

Next

Read the denial lines from this PR's run, then either commit a
.claude/settings.json granting the tools involved or pass them via
claude_args, and revert or narrow both changes here.

The review job has exited `success` on eight PRs without ever
posting; #82 recorded two permission denials and an empty inline
comment buffer, and the SDK output is suppressed by default so the
denied tools cannot be identified.

Turn on `show_full_output` to capture them, and fetch full history
so the review has a base commit to diff the head against.

Both changes are diagnostic and meant to be reverted or narrowed
once the cause is known.

Signed-off-by: Alejandro Mery <amery@apptly.co>
@amery amery added the ci CI/CD workflows and automation label Aug 13, 2026
@amery amery self-assigned this Aug 13, 2026
@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@amery, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 80 minutes

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

How can I continue?

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.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 1834c7bb-fb91-486f-9bab-b411d9d9bdbf

📥 Commits

Reviewing files that changed from the base of the PR and between 6fcf9e1 and a264a21.

📒 Files selected for processing (1)
  • .github/workflows/claude-code-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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI/CD workflows and automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant