Devr.AI icon indicating copy to clipboard operation
Devr.AI copied to clipboard

FEATURE REQUEST:CI/CD: Duplicate issue detection and marking

Open aniket866 opened this issue 9 months ago • 7 comments

Is your feature request related to a problem?

  • [x] Yes, it is related to a problem

Describe the feature you'd like

Describe the feature

Problem: Before opening a new issue, people have to manually check many old issues. This takes time and still causes duplicate issues.

How: Use a GitHub bot and a simple GitHub Action to automatically check new issues and show similar existing ones.

Impact: Duplicate issues get clearly marked, so maintainers don’t have to spend extra time checking or replying again.

Notes: The system will only suggest duplicates and will not auto-close any issue.

Add ScreenShots

N/A

Record

  • [x] I agree to follow this project's Code of Conduct
  • [x] I want to work on implementing this feature

aniket866 avatar Feb 04 '26 18:02 aniket866

I don't think this is a strong issue. Duplicate issue can already be avoided by using Github`s built-in search and templates. A bot may not meaningfully reduce duplicates and could increase maintenance overhead.

Divyanshudevtalla avatar Feb 05 '26 16:02 Divyanshudevtalla

I don't think this is a strong issue. Duplicate issue can already be avoided by using Github`s built-in search and templates. A bot may not meaningfully reduce duplicates and could increase maintenance overhead.

are you a maintainer? See in other repos I have implemented this Idea and maintainers are really happy with this idea, because no body ,searches for issues before creating new ones.

aniket866 avatar Feb 05 '26 18:02 aniket866

I’m not a maintainer — was just giving early feedback as a contributor. Fair point about people not searching before opening issues. If this has worked well in other repos, it could definitely help here too.

Divyanshudevtalla avatar Feb 06 '26 05:02 Divyanshudevtalla

hey this idea seems brilliant to me . Can you tell me the approach, just interested to know more in this also I can help if you ever want

dolliecoder avatar Feb 06 '26 14:02 dolliecoder

Ping maintainer on Discord to look into this issue

aniket866 avatar Feb 06 '26 14:02 aniket866

Hi @maintainers 👋

I’d like to work on implementing a lightweight duplicate issue detection workflow using GitHub Actions.

My proposed approach:

Trigger workflow on issues.opened

Use GitHub REST API to fetch recent open issues

Compare title + body similarity (basic string similarity or keyword matching)

If high similarity is detected:

Comment on the new issue with potential duplicates

Add a possible-duplicate label

The system will only suggest duplicates — it will not auto-close any issues.

This keeps it lightweight, avoids maintenance overhead, and reduces duplicate triage effort for maintainers.

If this approach aligns with the project direction, I’ll start implementing it and open a PR.

Looking forward to your feedback.

mahek2016 avatar Feb 18 '26 15:02 mahek2016

This has been implemented and pushed. Kindly review the PR. Thanks!

mahek2016 avatar Feb 18 '26 16:02 mahek2016