Skip to content

Fix broken similar-issues bot with GenAI issue deduplication (#11164) - #11212

Open
niels9001 wants to merge 1 commit into
microsoft:mainfrom
niels9001:niels9001/issue-dedup-11164
Open

Fix broken similar-issues bot with GenAI issue deduplication (#11164)#11212
niels9001 wants to merge 1 commit into
microsoft:mainfrom
niels9001:niels9001/issue-dedup-11164

Conversation

@niels9001

Copy link
Copy Markdown
Collaborator

Problem

The similar-issues-bot.yml workflow uses the third-party action craigloewen-msft/GitGudSimilarIssues, which POSTs to a backend at https://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 a getaddrinfo ENOTFOUND gitgudissues.azurewebsites.net error notification.

Fixes #11164

Fix

Replace the broken bot with the GitHub Models-based pelikhan/action-genai-issue-dedup workflows, mirroring the setup already running in microsoft/PowerToys:

  • automatic-issue-deduplication.yml — runs on issue opened/reopened, finds similar/duplicate issues via GitHub Models, and applies the existing duplicate label.
  • manual-batch-issue-deduplication.ymlworkflow_dispatch batch 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

  • Requires GitHub Models to be enabled for the repo/org (already in use by PowerToys).
  • The duplicate label already exists in this repo.
  • Minor improvements over the PowerToys originals: pinned actions/checkout@v4 and wired the declared since input through to the action.

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>
@niels9001
niels9001 requested a review from a team as a code owner July 1, 2026 14:30
@microsoft-github-policy-service microsoft-github-policy-service Bot added the needs-triage Issue needs to be triaged by the area owners label Jul 1, 2026
@niels9001
niels9001 marked this pull request as draft July 1, 2026 14:33
@niels9001
niels9001 requested a review from beth-panx July 1, 2026 14:33
@beth-panx

Copy link
Copy Markdown
Member

Is it still draft or ready for review? XD

@niels9001
niels9001 marked this pull request as ready for review July 2, 2026 12:34
@niels9001

Copy link
Copy Markdown
Collaborator Author

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 :)

@beth-panx

Copy link
Copy Markdown
Member

@microsoft/tm-winui Can I get a second approval?

@beth-panx
beth-panx requested a review from Copilot July 13, 2026 18:22
@beth-panx beth-panx removed the needs-triage Issue needs to be triaged by the area owners label Jul 13, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml workflow that used craigloewen-msft/GitGudSimilarIssues.
  • Added automatic-issue-deduplication.yml to deduplicate on issue opened/reopened and apply the duplicate label.
  • Added manual-batch-issue-deduplication.yml to deduplicate a user-provided list of issue numbers via workflow_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.

Comment on lines +28 to +33
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run GenAI Issue Deduplicator
uses: pelikhan/action-genai-issue-dedup@v0
Comment on lines +32 to +34
- name: Run GenAI Issue Deduplicator
uses: pelikhan/action-genai-issue-dedup@v0
with:
Comment on lines +15 to +18
- name: Run Deduplicate Action
uses: pelikhan/action-genai-issue-dedup@v0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creating a bug will cause broken getsimilarissues error message

3 participants