fix(scripts): only swallow ENOENT in rees-coverage lcov post-process (#7771) - #7815
Conversation
|
Superagent did not find any vulnerabilities or security issues in this PR. |
…SONbored#7771) Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7815 +/- ##
=======================================
Coverage 88.57% 88.57%
=======================================
Files 725 725
Lines 76409 76409
Branches 22762 22760 -2
=======================================
Hits 67682 67682
Misses 7681 7681
Partials 1046 1046
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-21 13:29:05 UTC
Review summary Nits — 4 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 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 LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
catch{}inrees-coverage.mjsto only swallowENOENTon read; re-throw all other errors (e.g. write failures)normalizeLcovSfPathswith injectable read/write for unit tests; guardmain()behindimport.meta.urlcheckrees-coverage.d.mtstype declarations and unit tests covering ENOENT swallow, write-failure propagation, and backslash normalizationCloses #7771
Test plan
npm run typecheckpasses locallyMade with Cursor