Skip to content

[FEATURE]: CI/CD: Duplicate Issue Detection and Automatic Marking #2012

Open

Description

@Abhinandankaushik

Why do we need this improvement?

Currently, duplicate issues and pull requests are often created in the repository, leading to redundant discussions, repeated work, and extra maintenance overhead for maintainers. There is no automated mechanism in the CI/CD pipeline to detect potential duplicates and flag them proactively.

How will this change help?

I propose adding an automated duplicate issue detection mechanism in the CI/CD workflow that:

  • Scans newly created issues and pull requests for similarity with existing ones.
  • Identifies potential duplicates based on title, description, and labels.
  • Automatically marks suspected duplicates with a label such as possible-duplicate.
  • Adds a bot comment suggesting existing related issues with links.
  • Optionally closes the issue if an exact match is found (configurable behavior).

How could it be implemented/designed?

GitHub Issue Created
↓
GitHub Actions Trigger
↓
Fetch Recent Issues
↓
Compute Similarity (Rule-based / ML)
↓
If duplicate likely:
→ Add Label
→ Post Bot Comment
→ (Optional) Auto-close
Else:
→ Do nothing

🚧 Breaking changes

No

👀 Have you checked for similar open issues?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!

Activity

  1. github-actions commented on Feb 7, 2026

    @github-actions
    Contributor

    Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
    Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

  2. 1164148-7-eng commented on Apr 21, 2026

    @1164148-7-eng

    /attempt #2012

    I've claimed this issue. Working on it now! 🚀

  3. 1164148-7-eng commented on Apr 22, 2026

    @1164148-7-eng

    /attempt #2012

    I've claimed this issue. Working on it now! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions