Skip to content

test(engine): consolidate focus-manifest engine bolt-ons into one file#8581

Merged
JSONbored merged 1 commit into
mainfrom
test/consolidate-focus-manifest-engine-coverage
Jul 24, 2026
Merged

test(engine): consolidate focus-manifest engine bolt-ons into one file#8581
JSONbored merged 1 commit into
mainfrom
test/consolidate-focus-manifest-engine-coverage

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Closes #8577.

Summary

Test plan

  • npx vitest run test/unit/focus-manifest-engine.test.ts — 9/9 pass
  • npm run typecheck — clean
  • Coverage regression check on packages/loopover-engine/src/focus-manifest.ts, before (barrel + branch-coverage + loader + validation) vs after (merged + loader + validation): identical — 869/1729 branches (50.26%), 727/1334 lines (54.49%) in both cases.

#8577)

focus-manifest-engine-barrel.test.ts (a single re-export-identity check)
and focus-manifest-engine-branch-coverage.test.ts (a #2280 Codecov
bolt-on) both tested packages/loopover-engine/src/focus-manifest.ts from
two disconnected tiny files. Merge into focus-manifest-engine.test.ts,
keeping every case verbatim (a pure relocation, no case dropped or
retitled logic-wise).

Verified zero coverage regression on the module: branch/line coverage
with {loader, validation, engine-merged} is identical to
{loader, validation, barrel, branch-coverage} -- 869/1729 branches
(50.26%), 727/1334 lines (54.49%) in both cases.
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@JSONbored JSONbored self-assigned this Jul 24, 2026
@JSONbored
JSONbored merged commit 473fff0 into main Jul 24, 2026
4 checks passed
@JSONbored
JSONbored deleted the test/consolidate-focus-manifest-engine-coverage branch July 24, 2026 22:24
@loopover-orb loopover-orb Bot added the gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. label Jul 24, 2026
@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.99%. Comparing base (346c183) to head (2e6ebea).
⚠️ Report is 6 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8581      +/-   ##
==========================================
- Coverage   92.54%   91.99%   -0.56%     
==========================================
  Files         796      796              
  Lines       79845    79845              
  Branches    24134    24134              
==========================================
- Hits        73896    73452     -444     
- Misses       4802     5309     +507     
+ Partials     1147     1084      -63     
Flag Coverage Δ
backend 92.95% <ø> (-0.78%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fold focus-manifest-engine-branch-coverage.test.ts into focus-manifest-engine-barrel.test.ts

1 participant