Fix broken similar-issues bot with GenAI issue deduplication (#11164) - #11212
Fix broken similar-issues bot with GenAI issue deduplication (#11164)#11212niels9001 wants to merge 1 commit into
Conversation
The similar-issues-bot workflow used the craigloewen-msft/GitGudSimilarIssues action, which calls a decommissioned backend (gitgudissues.azurewebsites.net). Every new issue triggered a failed run that emailed the issue author a 'getaddrinfo ENOTFOUND' error (microsoft#11164). Replace it with the GitHub Models-based pelikhan/action-genai-issue-dedup workflows (as used in microsoft/PowerToys): - automatic-issue-deduplication.yml: runs on issue opened/reopened - manual-batch-issue-deduplication.yml: workflow_dispatch batch mode These have no external service dependency and restore similar/duplicate issue detection. Fixes microsoft#11164 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Is it still draft or ready for review? XD |
Whoops, yeah.. good to go. Disclaimer: this can't really be tested. But it's a copy from the thing that runs on the PowerToys repo which works great :) |
|
@microsoft/tm-winui Can I get a second approval? |
There was a problem hiding this comment.
Pull request overview
This PR replaces the broken similar-issues-bot.yml workflow (which depended on a decommissioned external Azure service) with GitHub Models–based issue deduplication workflows to restore similar/duplicate issue detection without external service dependencies.
Changes:
- Removed the failing
similar-issues-bot.ymlworkflow that usedcraigloewen-msft/GitGudSimilarIssues. - Added
automatic-issue-deduplication.ymlto deduplicate on issueopened/reopenedand apply theduplicatelabel. - Added
manual-batch-issue-deduplication.ymlto deduplicate a user-provided list of issue numbers viaworkflow_dispatch.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/similar-issues-bot.yml | Removes the legacy similar-issues workflow that is currently failing due to a decommissioned backend dependency. |
| .github/workflows/automatic-issue-deduplication.yml | Adds an automatic issue-triggered dedup workflow using GitHub Models permissions. |
| .github/workflows/manual-batch-issue-deduplication.yml | Adds a manual batch dedup workflow for on-demand processing of specified issue numbers. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Run GenAI Issue Deduplicator | ||
| uses: pelikhan/action-genai-issue-dedup@v0 |
| - name: Run GenAI Issue Deduplicator | ||
| uses: pelikhan/action-genai-issue-dedup@v0 | ||
| with: |
| - name: Run Deduplicate Action | ||
| uses: pelikhan/action-genai-issue-dedup@v0 | ||
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} |
Problem
The
similar-issues-bot.ymlworkflow uses the third-party actioncraigloewen-msft/GitGudSimilarIssues, which POSTs to a backend athttps://gitgudissues.azurewebsites.net. That Azure service has been decommissioned — DNS no longer resolves. As a result, every new issue triggers a failing workflow run that emails the issue author agetaddrinfo ENOTFOUND gitgudissues.azurewebsites.neterror notification.Fixes #11164
Fix
Replace the broken bot with the GitHub Models-based
pelikhan/action-genai-issue-dedupworkflows, mirroring the setup already running in microsoft/PowerToys:automatic-issue-deduplication.yml— runs on issueopened/reopened, finds similar/duplicate issues via GitHub Models, and applies the existingduplicatelabel.manual-batch-issue-deduplication.yml—workflow_dispatchbatch mode for de-duplicating a list of issue numbers on demand.This has no external service dependency (runs on GitHub-hosted Models via
permissions: models: read), so it can't rot the same way, and it restores the similar-issue detection the original bot was meant to provide.Notes
duplicatelabel already exists in this repo.actions/checkout@v4and wired the declaredsinceinput through to the action.