fix(ci): capture review-enrichment node:test coverage for Codecov - #6527
Conversation
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-16 11:51:49 UTC
Nits — 2 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
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.
|
Closes JSONbored#6250 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 #6527 +/- ##
==========================================
- Coverage 95.56% 93.59% -1.98%
==========================================
Files 589 671 +82
Lines 47121 67573 +20452
Branches 14989 18573 +3584
==========================================
+ Hits 45032 63242 +18210
- Misses 1297 3360 +2063
- Partials 792 971 +179
Flags with carried forward coverage won't be shown. Click here to find out more. |
Summary
@loopover/reesruns a realnode:testsuite in CI, but Codecov only ingested vitest lcov. Vitest listed a single unusedreview-enrichment/src/analyzers/codeowners.tsentry, so all 83 REES source files (includingsecret-scan.ts) were invisible to the 99% patch gate.dist/(source-map remapped toreview-enrichment/src/**) viascripts/rees-coverage.mjs, upload under a separatereesCodecov flag, remove the stale vitest include, and runvalidate-testsshards on REES-only PRs soafter_n_builds: 6still posts a real patch verdict.Closes #6250
Test plan
vitestcodecov-policy regression for the new wiringnpm run rees:coverageproduces lcov with 83review-enrichment/src/**files (~91% lines)Risk / tradeoffs
npm --prefix review-enrichment teststep. Coverage harvest uses|| trueand fails closed only if lcov is missing.