fix(review): deduplicate repeated inline comments #236
No reviewers
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/auto_review!236
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/214-comment-deduplication"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #214.
Summary
Verification
rtk cargo test -p ar-review duplicate_severity_and_message_across_locations_posts_one_inline_commentjust fmtjust clippyjust testThis PR deduplicates inline review comments by severity and message, ensuring only the first occurrence is preserved. The changes include updating the
output_to_review_requestfunction and adding a regression test to verify the behavior. The modifications appear safe to merge.Walkthrough
output_to_review_requestfunction to filter out duplicate findings based on severity and message.seen_findingsvector to track unique findings.duplicate_severity_and_message_across_locations_posts_one_inline_commentto ensure that duplicate findings across different locations result in only one inline comment.The PR introduces functionality to handle implementation-review veto recovery in the RGR cycle, ensuring that veto contexts are recorded and consumed correctly. The changes include new functions and tests to support this feature. The implementation appears sound, but attention should be paid to resource management and error handling.
Walkthrough
Δ since
7f229e4:rgr_recover_implementation_review_vetoto handle veto recovery.