Skip to content

fix: make the V4 batch gates zero-cost by reusing already-loaded old elements - #790

Merged
QuantumExplorer merged 3 commits into
developfrom
fix/v4-zero-cost-cleanup-gates
Aug 3, 2026
Merged

fix: make the V4 batch gates zero-cost by reusing already-loaded old elements#790
QuantumExplorer merged 3 commits into
developfrom
fix/v4-zero-cost-cleanup-gates

docs+test: address review — capture-struct return doc, tighter overwr…

787f365
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 3, 2026 in 1s

92.17% (+0.03%) compared to d56d314

View this Pull Request on Codecov

92.17% (+0.03%) compared to d56d314

Details

Codecov Report

❌ Patch coverage is 93.33333% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.17%. Comparing base (d56d314) to head (787f365).

Files with missing lines Patch % Lines
grovedb/src/batch/mod.rs 92.17% 28 Missing ⚠️
merk/src/tree/ops.rs 96.77% 3 Missing ⚠️
grovedb/src/batch/indexed_tree/overwrite.rs 81.81% 2 Missing ⚠️
grovedb/src/batch/indexed_tree/delete_tree.rs 83.33% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #790      +/-   ##
===========================================
+ Coverage    92.13%   92.17%   +0.03%     
===========================================
  Files          257      257              
  Lines        78297    78079     -218     
===========================================
- Hits         72137    71967     -170     
+ Misses        6160     6112      -48     
Components Coverage Δ
grovedb-core 90.34% <91.79%> (-0.08%) ⬇️
merk 93.14% <97.72%> (+0.24%) ⬆️
storage 87.00% <ø> (ø)
commitment-tree 96.05% <ø> (ø)
mmr 96.79% <ø> (ø)
bulk-append-tree 89.82% <ø> (ø)
element 97.95% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.