Skip to content

Feat(historyprunner): one pruning migration for old and new state - #4147

Merged
NazariiDenha merged 8 commits into
mainfrom
feat/newstate-pruning
Oct 27, 2026
Merged

NazariiDenha merged 8 commits into
mainfrom
feat/newstate-pruning

address comment, update test

f253a53
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 27, 2026 in 1s

80.78% (target 70.00%)

View this Pull Request on Codecov

80.78% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 87.67908% with 43 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.78%. Comparing base (d308f99) to head (f253a53).

Files with missing lines Patch % Lines
migration/historyprunner/migrator.go 83.33% 15 Missing ⚠️
migration/historyprunner/history.go 83.90% 14 Missing ⚠️
migration/historyprunner/layout.go 84.61% 8 Missing ⚠️
migration/historyprunner/stager.go 85.71% 5 Missing ⚠️
migration/historyprunner/restorer.go 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4147      +/-   ##
==========================================
- Coverage   80.87%   80.78%   -0.10%     
==========================================
  Files         509      509              
  Lines       39062    39102      +40     
==========================================
- Hits        31593    31589       -4     
- Misses       7460     7507      +47     
+ Partials        9        6       -3     

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.