Skip to content

remove retained block is zero guards since prune with 0 is allowed now

0bcf378
Select commit
Loading
Failed to load commit list.
Open

feat: pruning migration #3597

remove retained block is zero guards since prune with 0 is allowed now
0bcf378
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 11, 2026 in 0s

76.02% (target 70.00%)

View this Pull Request on Codecov

76.02% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 73.67150% with 109 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.02%. Comparing base (60ecba4) to head (0bcf378).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
migration/historyprunner/migrator.go 72.46% 32 Missing and 25 partials ⚠️
migration/historyprunner/restorer.go 61.01% 16 Missing and 7 partials ⚠️
migration/historyprunner/copy.go 67.50% 8 Missing and 5 partials ⚠️
migration/historyprunner/stager.go 78.12% 4 Missing and 3 partials ⚠️
node/migration.go 0.00% 6 Missing ⚠️
migration/historyprunner/committer.go 89.47% 1 Missing and 1 partial ⚠️
migration/progresslogger/block_progress_tracker.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3597      +/-   ##
==========================================
+ Coverage   75.81%   76.02%   +0.20%     
==========================================
  Files         387      393       +6     
  Lines       34975    35314     +339     
==========================================
+ Hits        26518    26846     +328     
+ Misses       6595     6566      -29     
- Partials     1862     1902      +40     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.