Skip to content

Conversation

@bdougie
Copy link
Collaborator

@bdougie bdougie commented Aug 8, 2025

Description

Adds automatic similar issue detection and discussion suggestions to the Continue repository using the deja-view semantic search service.
This workflow will:

  • For new issues: Automatically find and comment with up to 3 similar existing issues (≥70% similarity) to help reduce duplicates and
    connect related discussions
  • For new PRs: Identify up to 5 related open issues (≥85% similarity) that the PR might address
  • Discussion suggestions: Analyze new issues to suggest if they would be better suited as GitHub Discussions (questions, feature requests,
    general feedback)
  • Automatic labeling: Add relevant labels like potential-duplicate or should-be-discussion based on the analysis

The workflow uses AI-powered semantic search to find truly similar issues even when they use different terminology, helping maintainers and
contributors quickly identify related work and reduce duplicate effort.

Checklist

Screen recording or screenshot

The workflow will automatically comment on new issues/PRs with formatted tables showing similar issues and confidence scores, similar to bdougie/deja-view#7 (comment).

Tests

The workflow has been tested on the deja-view repository and includes error handling for cases where no similar issues are found or when
the semantic search service is unavailable.

Manual tests from the cli. This will run through actions when merged.

#6598 (comment)

Note: it will have similarity % with the action


Summary by cubic

Added a workflow that automatically comments on new issues and PRs with similar existing issues, suggests converting issues to discussions when appropriate, and applies relevant labels to help reduce duplicates and organize feedback.

  • New Features
  • Detects and comments on up to 3 similar issues for new issues and up to 5 related open issues for new PRs.
  • Suggests converting issues to GitHub Discussions if they are questions or feedback.
  • Adds labels like potential-duplicate and should-be-discussion based on analysis.

@bdougie bdougie marked this pull request as ready for review August 8, 2025 17:42
@bdougie bdougie requested a review from a team as a code owner August 8, 2025 17:42
@bdougie bdougie requested review from tomasz-stefaniak and removed request for a team August 8, 2025 17:42
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Aug 8, 2025
Copy link
Collaborator

@RomneyDa RomneyDa left a comment

Choose a reason for hiding this comment

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

@bdougie can you verify that the required API keys have been added to github before I merge this? e.g. CHROMA_CLOUD_API_KEY
@TyDunn

@TyDunn
Copy link
Contributor

TyDunn commented Aug 8, 2025

@RomneyDa I've added CHROMA_API_KEY, CHROMA_TENANT, and CHROMA_DATABASE as Actions repo secrets

Copy link
Collaborator

@RomneyDa RomneyDa left a comment

Choose a reason for hiding this comment

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

Adds an action to help connect related issues/prs and deduplicate!

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Aug 8, 2025
@RomneyDa RomneyDa merged commit 46dd6cc into main Aug 8, 2025
67 of 70 checks passed
@RomneyDa RomneyDa deleted the bdougie/similar-issues branch August 8, 2025 22:06
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Aug 8, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 8, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Aug 8, 2025
@sestinj
Copy link
Contributor

sestinj commented Aug 18, 2025

🎉 This PR is included in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Aug 18, 2025

🎉 This PR is included in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

lgtm This PR has been approved by a maintainer released size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants