Skip to content

fix(miner): count the prompt-cache tiers as input tokens in the engine's own parsers - #10252

Merged
loopover-orb[bot] merged 3 commits into
mainfrom
fix/ai-cache-token-accounting
Jul 31, 2026
Merged

fix(miner): count the prompt-cache tiers as input tokens in the engine's own parsers#10252
loopover-orb[bot] merged 3 commits into
mainfrom
fix/ai-cache-token-accounting

test(engine): cover the cli driver's input-tier sum in the engine's o…

82b01ad
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 31, 2026 in 0s

92.30% (+0.01%) compared to 12f3c6a

View this Pull Request on Codecov

92.30% (+0.01%) compared to 12f3c6a

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.30%. Comparing base (12f3c6a) to head (82b01ad).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10252      +/-   ##
==========================================
+ Coverage   92.28%   92.30%   +0.01%     
==========================================
  Files         939      939              
  Lines      114775   114810      +35     
  Branches    27715    27729      +14     
==========================================
+ Hits       105920   105970      +50     
+ Misses       7553     7534      -19     
- Partials     1302     1306       +4     
Files with missing lines Coverage Δ
...ages/loopover-engine/src/miner/agent-sdk-driver.ts 95.97% <100.00%> (+0.15%) ⬆️
...loopover-engine/src/miner/cli-subprocess-driver.ts 80.87% <100.00%> (+5.75%) ⬆️

... and 1 file with indirect coverage changes