Skip to content

claude-code-review.yml: add missing --comment flag - #84

Merged
jnasbyupgrade merged 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:fix-claude-review-comment-flag
Jul 31, 2026
Merged

claude-code-review.yml: add missing --comment flag#84
jnasbyupgrade merged 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:fix-claude-review-comment-flag

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Contributor

Summary

  • Same issue as claude-code-review.yml: add missing --comment flag pgxntool-test#61: the /code-review plugin only prints its findings to the terminal/job log by default; it needs --comment to post a PR comment. This workflow's prompt was missing that flag, so every automated review has run (real API cost, correct analysis) but never posted anything visible to the PR.
  • Root cause confirmed on the pgxntool-test side by temporarily enabling show_full_output on a canary PR with a deliberately injected bug: the review agent found the bug correctly, but its own final line read "No --comment argument was provided, so no GitHub comments were posted." Adding --comment fixed it there; this is the same one-line fix applied to pgxntool's copy of the workflow.

Test plan

Without it, the code-review plugin only prints findings to the
GitHub Actions job log and never posts to the PR itself. Confirmed
by capturing the plugin's own hidden transcript on a canary PR in
pgxntool-test: it correctly found an injected bug but its own final
line said no GitHub comment was posted for lack of --comment.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 37c3f2f4-9e51-43be-8d3e-ba51abc74415

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant