fix(review): harden impact map path markdown#4078
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 #4078 +/- ##
=======================================
Coverage 93.63% 93.63%
=======================================
Files 384 384
Lines 35822 35825 +3
Branches 13146 13146
=======================================
+ Hits 33543 33546 +3
Misses 1618 1618
Partials 661 661
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-07 23:53:04 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
longestBacktickRun + 1so embedded backticks cannot close the span (seemarkdownPathCodeinsrc/review/unified-comment-bridge.ts).markdownPathCodefor both changed-module and affected-module cells so all impact-map paths are consistently protected.test/unit/impact-map-collapsible.test.tsthat assert safe rendering for hostile filenames containing backticks, pipes, angle-brackets, and newline-separated Markdown content.Testing
npx vitest run test/unit/impact-map-collapsible.test.tsand the unit suite passed (15 tests passed).npm run typecheck(i.e.,tsc --noEmit) and type checking passed without errors.git diff --checkwas run and returned no issues.npx vitest run ... --coverageand the tests executed but coverage remapping failed withTypeError: jsTokens is not a function(coverage remapping error outside this change); andnpm audit --audit-level=moderatefailed due to the registry audit endpoint returning403 Forbidden(environmental/registry issue rather than a code regression).Codex Task