Proposal: issue triage and duplicate detection automation - #11673
Open
Niels Laute (niels9001) wants to merge 4 commits into
Open
Proposal: issue triage and duplicate detection automation#11673Niels Laute (niels9001) wants to merge 4 commits into
Niels Laute (niels9001) wants to merge 4 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 66b27de4-de61-4cb1-811d-2f32e190ea84
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 66b27de4-de61-4cb1-811d-2f32e190ea84
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 66b27de4-de61-4cb1-811d-2f32e190ea84
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 66b27de4-de61-4cb1-811d-2f32e190ea84
Jaylyn Barbee (Jaylyn-Barbee)
added a commit
to Jaylyn-Barbee/microsoft-ui-xaml
that referenced
this pull request
Aug 27, 2026
Implements the duplicate-detection portion of the issue-triage automation proposal (microsoft#11673) so every opened, edited, or reopened issue is checked against existing reports. - .github/scripts/issue-triage/find_duplicates.py: deterministic retrieval and scoring. Bounded GitHub search retrieval (max 30 candidates), weighted title/body/identifier similarity, max 5 suggestions. No writes; fails closed on retrieval errors so nothing is published. - .github/workflows/duplicate-issue-detection.yml: read-only detect job plus a separate issues:write publish job that re-checks issue state, maintains one canonical comment, and applies the possible-duplicate label. When no candidate clears the threshold, nothing is commented or labeled. - Unit tests plus a PR workflow that runs them. - Removes similar-issues-bot.yml, which is superseded; running both would post two bot comments per issue. Version and metadata form sections are excluded from scoring so unrelated reports on the same Windows build do not match. Issue text is treated as untrusted: markup is stripped before scoring and mentions and Markdown control characters are escaped before republishing. Third-party actions are pinned to full commit SHAs. Validated against the known duplicate cluster microsoft#11646-microsoft#11649: all three duplicates returned at high confidence from 30 candidates, and four unrelated open issues returned no candidates. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
5 tasks
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
Pilot
Public fork: https://github.com/niels9001/microsoft-ui-xaml
Deterministic run: https://github.com/niels9001/microsoft-ui-xaml/actions/runs/33071945420
Legacy GenAI comparison: https://github.com/niels9001/microsoft-ui-xaml/actions/runs/33071662766
This PR contains documentation only. The experimental workflows remain on the fork-only
issue-automation-pilotbranch.Pilot screenshots
Exact-title duplicate cluster — fork issue #4
Incomplete bug form — fork issue #5
Feature proposal — fork issue #35