Skip to content

resolve AI comment

d438415
Select commit
Loading
Failed to load commit list.
Merged

refactor: use file backed CID hashset to reduce memory usage in chain export #6939

resolve AI comment
d438415
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 21, 2026 in 0s

63.93% (+0.00%) compared to 462e824

View this Pull Request on Codecov

63.93% (+0.00%) compared to 462e824

Details

Codecov Report

❌ Patch coverage is 65.14286% with 61 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.93%. Comparing base (462e824) to head (d438415).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/ipld/util.rs 37.50% 13 Missing and 2 partials ⚠️
src/cid_collections/hash_set.rs 86.58% 8 Missing and 3 partials ⚠️
src/rpc/methods/chain.rs 0.00% 9 Missing ⚠️
src/tool/subcommands/archive_cmd.rs 33.33% 5 Missing and 1 partial ⚠️
src/db/gc/snapshot.rs 0.00% 5 Missing ⚠️
src/dev/subcommands/export_state_tree_cmd.rs 0.00% 4 Missing ⚠️
src/chain/mod.rs 86.95% 3 Missing ⚠️
src/tool/subcommands/benchmark_cmd.rs 0.00% 3 Missing ⚠️
src/daemon/mod.rs 0.00% 2 Missing ⚠️
src/daemon/context.rs 66.66% 0 Missing and 1 partial ⚠️
... and 2 more
Additional details and impacted files
Files with missing lines Coverage Δ
src/cid_collections/mod.rs 97.26% <100.00%> (+0.24%) ⬆️
src/rpc/methods/sync.rs 72.39% <100.00%> (+0.17%) ⬆️
src/rpc/mod.rs 89.20% <ø> (ø)
src/tool/offline_server/server.rs 31.57% <100.00%> (+0.30%) ⬆️
src/tool/subcommands/api_cmd/test_snapshot.rs 85.61% <100.00%> (+0.09%) ⬆️
src/daemon/context.rs 66.21% <66.66%> (+<0.01%) ⬆️
...tool/subcommands/api_cmd/generate_test_snapshot.rs 7.07% <0.00%> (-0.04%) ⬇️
src/tool/subcommands/snapshot_cmd.rs 0.00% <0.00%> (ø)
src/daemon/mod.rs 28.26% <0.00%> (-0.10%) ⬇️
src/chain/mod.rs 76.85% <86.95%> (+1.85%) ⬆️
... and 7 more

... and 9 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 462e824...d438415. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.