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/patch succeeded Oct 27, 2026 in 1s

87.67% of diff hit (target 60.00%)

View this Pull Request on Codecov

87.67% of diff hit (target 60.00%)

Annotations

Check warning on line 51 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L51

Added line #L51 was not covered by tests

Check warning on line 61 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L61

Added line #L61 was not covered by tests

Check warning on line 72 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L72

Added line #L72 was not covered by tests

Check warning on line 78 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L78

Added line #L78 was not covered by tests

Check warning on line 123 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L123

Added line #L123 was not covered by tests

Check warning on line 131 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L131

Added line #L131 was not covered by tests

Check warning on line 151 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L151

Added line #L151 was not covered by tests

Check warning on line 168 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L168

Added line #L168 was not covered by tests

Check warning on line 171 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L171

Added line #L171 was not covered by tests

Check warning on line 193 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L193

Added line #L193 was not covered by tests

Check warning on line 199 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L198-L199

Added lines #L198 - L199 were not covered by tests

Check warning on line 202 in migration/historyprunner/history.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/history.go#L201-L202

Added lines #L201 - L202 were not covered by tests

Check warning on line 28 in migration/historyprunner/layout.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/layout.go#L27-L28

Added lines #L27 - L28 were not covered by tests

Check warning on line 30 in migration/historyprunner/layout.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/layout.go#L30

Added line #L30 was not covered by tests

Check warning on line 83 in migration/historyprunner/layout.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/layout.go#L83

Added line #L83 was not covered by tests

Check warning on line 87 in migration/historyprunner/layout.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/layout.go#L87

Added line #L87 was not covered by tests

Check warning on line 106 in migration/historyprunner/layout.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/layout.go#L106

Added line #L106 was not covered by tests

Check warning on line 110 in migration/historyprunner/layout.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/layout.go#L110

Added line #L110 was not covered by tests

Check warning on line 133 in migration/historyprunner/layout.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/layout.go#L133

Added line #L133 was not covered by tests

Check warning on line 119 in migration/historyprunner/migrator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/migrator.go#L119

Added line #L119 was not covered by tests

Check warning on line 166 in migration/historyprunner/migrator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/migrator.go#L166

Added line #L166 was not covered by tests

Check warning on line 182 in migration/historyprunner/migrator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/migrator.go#L182

Added line #L182 was not covered by tests

Check warning on line 192 in migration/historyprunner/migrator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/migrator.go#L192

Added line #L192 was not covered by tests

Check warning on line 195 in migration/historyprunner/migrator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/migrator.go#L195

Added line #L195 was not covered by tests

Check warning on line 211 in migration/historyprunner/migrator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

migration/historyprunner/migrator.go#L211

Added line #L211 was not covered by tests