Skip to content

Store partial chunk writes as merge deltas instead of full-chunk rewrites#482

Closed
Barre wants to merge 1 commit into
mainfrom
chunk-merge-deltas
Closed

Store partial chunk writes as merge deltas instead of full-chunk rewrites#482
Barre wants to merge 1 commit into
mainfrom
chunk-merge-deltas

Store partial chunk writes as merge deltas instead of full-chunk rewr…

16a61fd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 29, 2026 in 1s

69.30% (+0.21%) compared to 68ad84d

View this Pull Request on Codecov

69.30% (+0.21%) compared to 68ad84d

Details

Codecov Report

❌ Patch coverage is 82.76762% with 66 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.30%. Comparing base (68ad84d) to head (16a61fd).

Files with missing lines Patch % Lines
zerofs/src/replication/transport.rs 74.73% 24 Missing ⚠️
zerofs/src/db.rs 23.52% 13 Missing ⚠️
zerofs/src/cli/init.rs 0.00% 11 Missing ⚠️
zerofs/src/fs/store/chunk_merge.rs 94.58% 11 Missing ⚠️
zerofs/src/cli/server.rs 14.28% 6 Missing ⚠️
zerofs/src/cli/compactor.rs 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #482      +/-   ##
==========================================
+ Coverage   69.09%   69.30%   +0.21%     
==========================================
  Files          72       73       +1     
  Lines       22657    23021     +364     
==========================================
+ Hits        15655    15955     +300     
- Misses       7002     7066      +64     
Files with missing lines Coverage Δ
zerofs/src/fs/mod.rs 89.98% <100.00%> (+0.02%) ⬆️
zerofs/src/fs/stats.rs 100.00% <100.00%> (ø)
zerofs/src/fs/store/chunk.rs 88.71% <100.00%> (+1.05%) ⬆️
zerofs/src/replication/tail.rs 100.00% <ø> (ø)
zerofs/src/rpc/server.rs 72.31% <100.00%> (+0.05%) ⬆️
zerofs/src/cli/compactor.rs 0.00% <0.00%> (ø)
zerofs/src/cli/server.rs 19.97% <14.28%> (+<0.01%) ⬆️
zerofs/src/cli/init.rs 0.00% <0.00%> (ø)
zerofs/src/fs/store/chunk_merge.rs 94.58% <94.58%> (ø)
zerofs/src/db.rs 72.16% <23.52%> (-1.92%) ⬇️
... and 1 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.