Skip to content

fix: use ArcSwap for SyncStatus#7213

Merged
LesnyRumcajs merged 5 commits into
mainfrom
hm/arc-swap-for-sync-status
Jun 22, 2026
Merged

fix: use ArcSwap for SyncStatus#7213
LesnyRumcajs merged 5 commits into
mainfrom
hm/arc-swap-for-sync-status

Merge branch 'main' into hm/arc-swap-for-sync-status

ddb176a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 22, 2026 in 1s

64.41% (+0.03%) compared to 9aa6f70

View this Pull Request on Codecov

64.41% (+0.03%) compared to 9aa6f70

Details

Codecov Report

❌ Patch coverage is 91.39785% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.41%. Comparing base (9aa6f70) to head (ddb176a).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/chain_sync/chain_follower.rs 33.33% 2 Missing ⚠️
src/daemon/mod.rs 0.00% 1 Missing ⚠️
src/db/gc/snapshot.rs 0.00% 1 Missing ⚠️
src/health/endpoints.rs 75.00% 1 Missing ⚠️
src/rpc/methods/eth.rs 0.00% 1 Missing ⚠️
src/rpc/methods/sync.rs 92.85% 1 Missing ⚠️
...tool/subcommands/api_cmd/generate_test_snapshot.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
src/chain_sync/sync_status.rs 24.13% <100.00%> (+12.13%) ⬆️
src/health/mod.rs 95.76% <100.00%> (+0.81%) ⬆️
src/tool/offline_server/server.rs 27.23% <100.00%> (ø)
src/tool/subcommands/api_cmd/test_snapshot.rs 82.09% <100.00%> (ø)
src/daemon/mod.rs 24.74% <0.00%> (ø)
src/db/gc/snapshot.rs 0.00% <0.00%> (ø)
src/health/endpoints.rs 89.47% <75.00%> (ø)
src/rpc/methods/eth.rs 65.11% <0.00%> (+0.02%) ⬆️
src/rpc/methods/sync.rs 73.37% <92.85%> (+1.15%) ⬆️
...tool/subcommands/api_cmd/generate_test_snapshot.rs 7.00% <0.00%> (ø)
... and 1 more

... and 10 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9aa6f70...ddb176a. 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.