fix(signals): classify scss and less source maps as generated#3376
Conversation
Sass/Less bundlers emit .scss.map/.less.map siblings; slop already treated .css.map as generated but missed these spellings, so they were 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 #3376 +/- ##
=======================================
Coverage 93.90% 93.90%
=======================================
Files 284 284
Lines 30607 30607
Branches 11148 11148
=======================================
Hits 28743 28743
Misses 1208 1208
Partials 656 656
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 05:42:25 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 5 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.scss.mapand.less.mapas generated output, matching the existing.css.maphandling (fix(signals): classify vue/svelte/astro source maps as generated #3357).classifyChangedFile.Scope
CONTRIBUTING.md.Validation
git diff --checknpm run test:cion Node 22npm audit --audit-level=moderate— 0 vulnerabilities.scss.mapand.less.mapSafety
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 (#3373 focus-manifest, #3372/#3304 test-evidence, #3368 engine, #3361 enrichment, #3314 miner, #3305 enrichment-wire, #3304 queue/gate). Merges cleanly after any of those land without rebase.Made with Cursor