fix(signals): classify MDX source maps as generated#3446
Conversation
MDX bundlers emit .mdx.map siblings; slop already treated .vue.map and .astro.map as generated but missed .mdx.map, so machine output was miscounted as substantive source in classifyChangedFile. Co-authored-by: Cursor <cursoragent@cursor.com>
|
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 #3446 +/- ##
=======================================
Coverage 92.99% 92.99%
=======================================
Files 294 294
Lines 30962 30962
Branches 11291 11291
=======================================
Hits 28793 28793
Misses 1514 1514
Partials 655 655
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 07:28:00 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 4 non-blocking
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.
|
Summary
isGeneratedFileinpath-matchers.tsto treat.mdx.mapas generated output, matching the existing.vue.map/.astro.map/.scss.maphandling (fix(signals): classify vue/svelte/astro source maps as generated #3357, fix(signals): classify scss and less source maps as generated #3376).review/visual/paths.ts; bundler source-map siblings were still miscounted as substantive source.Scope
CONTRIBUTING.md.Validation
git diff --checknpm run test:cion Node 22npm audit --audit-level=moderate— 0 vulnerabilitiesdist/page.mdx.mapas generated viaisGeneratedFileSafety
UI Evidence
N/A — backend path classifier only.
Notes
Conflict avoidance: Touches only
src/signals/path-matchers.tsandtest/unit/path-matchers.test.ts. Zero overlap with open PRs (#3444/#3443 selfhost, #3442 secret-scan, #3441 rees render, #3440 queue, #3439 engine, #3433 integrations, #3431 rees release, #3429 release workflow, #3414 review-evasion, #3314 miner, #3305 enrichment-wire, #3304 queue/gate). Merges cleanly after any of those land without rebase.Made with Cursor