Skip to content

fix(ci): prevent duplicate inline comments across review cycles - #1514

Merged
max-sixty merged 2 commits into
mainfrom
hourly/review-23082929646
Mar 14, 2026
Merged

max-sixty merged 2 commits into
mainfrom
hourly/review-23082929646

Conversation

@worktrunk-bot

@worktrunk-bot worktrunk-bot commented Mar 14, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Verify next multi-cycle review doesn't re-post inline comments that already exist

🤖 Generated with Claude Code

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]>
@worktrunk-bot worktrunk-bot added the claude-behavior Issues with Claude CI bot behavior label Mar 14, 2026
@max-sixty

Copy link
Copy Markdown
Owner

too wordy

@worktrunk-bot

Copy link
Copy Markdown
Collaborator Author

Trimmed both the skill text and PR description. The instruction is now two lines instead of five.

@max-sixty
max-sixty merged commit f4ef31b into main Mar 14, 2026
22 checks passed
@max-sixty
max-sixty deleted the hourly/review-23082929646 branch March 14, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-behavior Issues with Claude CI bot behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants