apache / apache/magpie

Auto-skip when a triager has already left a similar comment

Open
#76 1 comment 0 reactions 0 assignees View on GitHub
capability:triage family:pr-management kind:policy mode:Triage
Dominant language
Python
Stars
92
Forks
92
Avg merge
1d 12h
Merged PRs (30d)
104

Description

When a triager (any user with the triager role, including the bot itself) has already left a comment on a PR and the classifier would now propose a *similar* comment, **classify the action as `skip` automatically** rather than queuing the near-duplicate for human confirmation.

**Why:** today the human triager has to repeatedly dismiss "we already said this" proposals. It wastes attention and risks accidental duplicate posts when the operator clicks through too quickly.

### Open questions
- **Similarity definition:** exact rule-class match (same template / classifier rule fired before), keyword overlap, or embedding similarity? Rule-class match is the simplest and probably catches the bulk of duplicates.
- **Threshold knob** exposed to the user via config?
- **Logging:** silent skip, or a brief note in the progress output ("auto-skipped — same as existing triager comment by @user")?

Related but distinct: Issue for "repeat-triage avoidance when maintainer already engaged" — that is about *any* engagement; this one is about *similarity of the proposed comment*.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.