Skip to content

ci: reduce noise in Claude PR review and label-check prompts#205

Open
Troublor wants to merge 1 commit intomainfrom
william/ci/reduce-review-noise
Open

ci: reduce noise in Claude PR review and label-check prompts#205
Troublor wants to merge 1 commit intomainfrom
william/ci/reduce-review-noise

Conversation

@Troublor
Copy link
Collaborator

Summary

  • Update PR review prompt to check existing conversation history before posting, avoid duplicating resolved feedback, and calibrate review effort to PR size. Enforces exactly one top-level comment per review.
  • Update label-check prompt to manage its own comments: edit existing comment when labels change, delete it when labels are fixed, and avoid posting duplicate comments.
  • Add gh api to label-check allowed tools to support comment deletion.

Test plan

  • Open a PR and verify the review bot posts at most one top-level comment
  • Push a fix to the PR and verify the bot does not re-raise resolved review threads
  • Change labels on a PR and verify the label-check bot edits or deletes its prior comment instead of posting a new one

@Troublor Troublor requested a review from RealiCZ as a code owner March 20, 2026 09:18
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