test(miner): mirror shouldReenter under root vitest for Codecov (#8347)#8479
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 #8479 +/- ##
==========================================
+ Coverage 92.47% 92.49% +0.02%
==========================================
Files 791 791
Lines 79321 79335 +14
Branches 23954 23965 +11
==========================================
+ Hits 73355 73384 +29
+ Misses 4839 4807 -32
- Partials 1127 1144 +17
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-24 15:19:17 UTC
Review summary Nits — 2 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
test/unit/loop-reentry-policy.test.ts, a root vitest mirror of the existing enginenode:testsuite forshouldReenter, so Codecov can seepackages/loopover-engine/src/miner/loop-reentry-policy.ts.packages/loopover-engine/README.md— same pattern as reviewer-consensus-calibration.ts (658 lines) is the package's largest branch surface invisible to Codecov #8349 — so theenginepath filter trips and CI runs the unscoped suite. A test-only diff under scoped--changedwrites emptylcovand failsvalidate-tests-merge(exactly what closed test(miner): mirror shouldReenter ceilings under root vitest for Codecov (#8347) #8460).packages/loopover-engine/src/**orpackages/loopover-engine/test/**.Closes #8347
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
npx vitest run test/unit/loop-reentry-policy.test.ts(17 pass), coverage ofloop-reentry-policy.tsat 100% stmts/branches/lines,npm run typecheck,git diff --check,npm audit --audit-level=moderate. README change setsengine=trueso CI runs the full unscoped suite (avoids the test(miner): mirror shouldReenter ceilings under root vitest for Codecov (#8347) #8460 empty-lcov / missingall-blob-reportsfailure). Remaining validate-code steps unchanged by this diff.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
N/A — test-only, no visible UI change.
Notes
validate-tests-merge(ENOENT: all-blob-reports): scoped--changedran the new test, then skipped blob upload becausecoverage/lcov.infowas empty (no_src_coverage), so merge had nothing to scan.engine=true→ unscoped suite.