GeezerVison is showing github.com — fix(linear): searching an issue identifier returns only that issue by OmegaHawkeye · Pull Request #40255 · pingdotgg/t3code
Conversation
Problem
Searching a Linear issue by its identifier, such as ENG-42, returns that issue plus every
issue in the team whose title or description mentions ENG-42. Teams that cross-reference
issues often get a long list instead of the one issue they asked for.
To reproduce, connect Linear and search ENG-42 on the Issues page, in the issue picker, or with
the list_issues agent tool, where ENG-42 is mentioned in another issue's description.
Both issues are returned.
Change
LinearIssueTracker.listIssues sent the query as number = 42 OR title contains "ENG-42" OR description contains "ENG-42". When the query is a team-qualified identifier for the bound
team (ENG-42, any case) or #42, it now filters by number alone. A bare 42 still also
matches title and description text, since it can be an ordinary search term. An identifier
from another team is still a text search, as before.
Scope
Small fix for an obvious bug, so I didn't open a separate issue first. One file in
packages/issue-tracker-linear plus its test. Every surface uses this search, so the Issues
page, issue picker, and agent tool all pick up the fix.
Verification
- Extended the existing
matches an issue number only in the team it names case in
LinearIssueTracker.test.ts to assert that a qualified identifier sends no text clauses.
It fails on main and passes here. vp run check:changed passes.
- Searched
OME-257 on the Issues page against a real Linear workspace, where OME-364's
description mentions OME-257:
Before (main)
After
Fixed with Claude Code (Claude Opus 5.5).
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Searching "ENG-42" matched the number or any title or description containing
the text, so every issue that mentions ENG-42 showed up too. A team-qualified
identifier or "pingdotgg#42" now filters by number alone; a bare "42" still matches text.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
coderabbitai
Bot
commented
Nov 21, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
listIssues now treats team-qualified and #-prefixed numbers as exact issue-number searches. Bare numbers can also match issue titles or descriptions. Tests verify the number filter and text-matching behavior.
Changes: Linear issue search matching
| Layer / File(s) |
Summary |
Search filter and coverage packages/issue-tracker-linear/src/server/LinearIssueTracker.ts, packages/issue-tracker-linear/src/server/LinearIssueTracker.test.ts |
listIssues uses number-only matching for qualified identifiers. Bare numbers can match the issue number, title, or description. Tests check the extracted number and whether text matching is present. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related PRs
- pingdotgg/t3code#39809: Both PRs change Linear issue search behavior for team-prefixed identifiers. This PR uses number-only matching for qualified identifiers; PR
#39809 scopes numeric matching to the named team and retains text matching.
Suggested reviewers: juliusmarminge, adamulek123
Merge Risk: Minimal · up to 14548
-
Searching a team-qualified identifier or a # number now returns only the matching issue. Bare numbers behave as before. No merge-blocking risk was identified.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title "fix(linear): searching an issue identifier returns only that issue" matches the main change. The PR makes team-qualified identifiers such as ENG-42 and #42 filter by issue number alone, so … |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
| Description check |
 |
The description follows the template well. It has a clear Problem with reproduction steps, a Change section that explains the filter behavior, a Scope section that explains why no issue was linked for… |
Full details: Title check
-
Explanation
The title "fix(linear): searching an issue identifier returns only that issue" matches the main change. The PR makes team-qualified identifiers such as ENG-42 and #42 filter by issue number alone, so searches stop returning issues that only mention the identifier in title or description. The title is specific and follows conventional commit format.
Full details: Description check
-
Explanation
The description follows the template well. It has a clear Problem with reproduction steps, a Change section that explains the filter behavior, a Scope section that explains why no issue was linked for this small obvious bug, and a Verification section with a test, a before/after screenshot comparison, and a results table. It names the model used, as the template asks. The Scope section does not explain the Issues page, picker, and tool impact in template form, but this is minor. Images are linked to GitHub user-attachments, which is the expected upload pattern.
Finishing Touches
-
Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between 1425613 and 1454828.
Files selected for processing: 2
-
packages/issue-tracker-linear/src/server/LinearIssueTracker.test.ts
packages/issue-tracker-linear/src/server/LinearIssueTracker.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This branch has not been deployed
No deployments
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:XS
0-9 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|