Repository navigation
fix(ci): prevent duplicate inline comments across review cycles - #1514
Merged
Merged
Conversation
The review-pr skill said "Do not repeat any point from previous reviews" but this wasn't specific enough — the bot posted 3 nearly identical inline comments on the same file/line across 3 review cycles of PR #1499 (readme_sync.rs:1586, all about the same transform_docs_for_skill gap). Strengthen the instruction: explicitly state that if an existing bot comment targets the same file and makes the same point, the new comment should be skipped — even if the issue persists. The existing comment is still visible and unresolved. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Owner
|
too wordy |
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Collaborator
Author
|
Trimmed both the skill text and PR description. The instruction is now two lines instead of five. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Strengthen the duplicate-comment prevention in the review-pr skill. The bot was posting nearly identical inline comments across review cycles (seen in run 23082553898 on PR #1499 — 3 comments on the same line flagging the same issue).
The existing "do not repeat" instruction was too vague. Added explicit guidance to cross-reference planned comments against existing bot comments before posting.
Test plan
🤖 Generated with Claude Code