fix(agent): redact Linear tracker names in PR comments - #3967
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-07 08:14:24 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.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3967 +/- ##
=======================================
Coverage 93.66% 93.66%
=======================================
Files 372 372
Lines 34856 34858 +2
Branches 12743 12745 +2
=======================================
+ Hits 32649 32651 +2
Misses 1588 1588
Partials 619 619
🚀 New features to boost your workflow:
|
Motivation
Description
revealTitlesflag todescribeMatchandrenderSuggestionComment, and only reveal tracker titles when the backend is notlinearinmaybeSuggestProjectOrMilestoneMatch(src/integrations/project-tracker-adapter.ts).backend === "linear"the comment text omits the Linear project/milestone names and match-confidence details but keeps useful generic wording (e.g. "matching project" / "linked to the project").findLinearNativeLinkandLinearAdapter.listOpenProjectsare unchanged; only the public comment content is redacted for Linear-backed matches (src/integrations/linear-adapter.tsandsrc/integrations/project-tracker-adapter.ts).test/unit/linear-adapter.test.ts).Testing
npm exec tsc -- --noEmit --pretty false, which succeeded.npx vitest run test/unit/linear-adapter.test.ts --reporter=dotandnpx vitest run test/unit/project-tracker-adapter.test.ts --reporter=dot, and both suites passed.npm run test:coverage, but the full suite encountered an existing unrelated recursion (RangeError: Maximum call stack size exceededintest/unit/queue.test.ts) and was stopped before completion.git diff --checkwhich passed, andnpm audit --audit-level=moderatewas attempted but the registry audit endpoint returned403 Forbidden.Codex Task