Extend similar-issue detection across projects, not only within a single project
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 23m
- Merged PRs (30d)
- 607
Description
Problem Statement
Similarity detection is scoped to a single project. Cross-Project Issues lets you
view issues from several projects in one stream, and Similar Issues will find
related issues inside one project, but nothing detects that an issue in project A
and an issue in project B are the same defect.
Organizations that share code across products hit this constantly: a shared engine,
an internal SDK, a common platform or publishing layer. When a defect lands in that
shared code it surfaces as separate issues in separate projects, each investigated
independently by a different team, often reaching the same conclusion days apart.
The inverse case is worse. A shared-layer regression looks like a small local
problem in each project, so its true blast radius is never visible to anyone, and
prioritisation is wrong by construction: an issue affecting five projects gets
triaged as five separate small issues.
Project boundaries are organisational. Defects follow code, and shared code crosses
those boundaries. There is currently no way to ask "is anyone else seeing this
crash", which is the first question anyone asks during a shared-layer incident.
Solution Brainstorm
- Extend similarity detection to operate across projects within an organization,
subject to the viewer's project permissions. - A "seen in other projects" indicator on the issue page, with counts and links.
- Support correlating by shared stack frame or shared module across projects, so a
common-layer regression can be recognised as one thing even when the surrounding
frames differ. - Surface it in the cross-project issue stream, where users are already looking
across the boundary.
Related: #101821
Product Area
Issues
Requested by Saad Khan.
--
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading related issue #101821 and tracing the existing Similar Issues and Cross-Project Issues entry points. Define how cross-project permissions, shared stack frames or modules, issue-page indicators, and cross-project stream results should work; done means a scoped design and implementation plan with clear acceptance criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100