fix(linear): stop fuzzy matching workspace milestones - #4977
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4977 +/- ##
==========================================
- Coverage 94.22% 94.22% -0.01%
==========================================
Files 439 439
Lines 38704 38693 -11
Branches 14100 14098 -2
==========================================
- Hits 36468 36457 -11
Misses 1576 1576
Partials 660 660
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-11 12:49:57 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 5 non-blocking
Concerns raised — review before merging
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Motivation
Description
LinearAdapter.listOpenMilestonesinert and return an empty list with a doc comment explaining the privacy risk so workspace milestone names are no longer fetched.resolveTrackerMatches(..., backend === "linear")to only fuzzy-match Linear projects (setmilestone: null) while still preferringfindLinearNativeLinkfor confirmed native links.test/unit/linear-adapter.test.tsto assert that milestone listing is inert and that milestone-based fuzzy suggestions no longer occur.Testing
npm exec -- vitest run test/unit/linear-adapter.test.ts --reporter=verbose, which passed (18 passed).npm run typecheck, which succeeded.npm run test:coverage; the focused unit test coverage run completed, but the full coverage run did not finish in this environment and/or fails the repo-wide coverage gate locally, so please run the full gate (npm run test:ciandnpm run test:coverage) in CI or locally before pushing.Codex Task