test(dursto): add snapshots pruning option for long tests#1090
Merged
Conversation
4d5b956 to
5af7e85
Compare
This was referenced Jun 10, 2026
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (63.63%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #1090 +/- ##
==========================================
- Coverage 89.96% 89.92% -0.04%
==========================================
Files 135 135
Lines 29217 29240 +23
Branches 29217 29240 +23
==========================================
+ Hits 26284 26294 +10
- Misses 2110 2125 +15
+ Partials 823 821 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
5df07d0 to
b2a4b91
Compare
8d25302 to
f3a9a35
Compare
ac69241 to
5f9ec95
Compare
28e414c to
7833ab5
Compare
614ef91 to
7325f47
Compare
7833ab5 to
5368c09
Compare
5368c09 to
74a0998
Compare
74a0998 to
2b539a3
Compare
|
Benchmark results for revision d79689f:
Full results
Compare the results above with those for the default branch. |
emturner
approved these changes
Jun 17, 2026
jobjo
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes RV-1008.
What
Adds the
--keep-epochs Noption for the long tests which, upon finishing a test epoch:Nmost recent ones from the on-disk repo (for theDatabase<PersistenceLayer, Normal>andTracedDatabase<PersistenceLayer, Normal>)Nmost recent ones from the in-memory repo (for theTracedDatabase<InMemoryKeyValueStore, Normal>)Next:
Why
Older data is not required for failure replay. This significantly reduces the rate at which the long test uses disk and memory. Another benefit is that it confers a degree of confidence that a future disk GC solution implementing similar behaviour does not cause unexpected failures.
Manually Testing
Run
and compare the size of the repo shown at the end of the test with a re-run of the same test (using the seed printed by the previous run) without passing
--keep-epochs:Tasks for the Author