Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #788 +/- ##
=======================================
Coverage 91.07% 91.07%
=======================================
Files 110 110
Lines 20831 20831
Branches 20831 20831
=======================================
Hits 18971 18971
Misses 1487 1487
Partials 373 373 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Benchmark results for revision d5dfecb:
Full results
Compare the results above with those for the default branch. |
NSant215
reviewed
Feb 6, 2026
NSant215
approved these changes
Feb 6, 2026
vapourismo
reviewed
Feb 6, 2026
0279f4b to
e3b2d99
Compare
Contributor
Author
|
Blocked by moving part of the changes to #805 |
16aabde to
29d1ff1
Compare
Base automatically changed from
kurtis/durable-storage/avl-resolver-fix
to
main
February 10, 2026 11:13
29d1ff1 to
3c4e80f
Compare
79b7c03 to
8e9bcd0
Compare
8e9bcd0 to
78e71a6
Compare
vapourismo
approved these changes
Feb 11, 2026
Makes `octez-riscv-durable-storage` a dev-dependency of itself with "bench" enabled. This means: - the benchmarks can be run without specifying the "bench" feature - the library and benchmarks are compiled with this feature enabled when `make check`/`make all`/`cargo test` are run, so failures can be caught in normal development.
Re-exports parts of the `avl` implementation used in tests.
Changes some conditionally-enabled methods to be part of the test module, since there is no intention to make them available outside of the tests.
Removes `get` from the AVL tree benchmark. Moves the `get` implementation to the `test` module. These functions are only ever going to be used to check the AVL tree works as intended.
78e71a6 to
7270601
Compare
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.
No ticket
What
This PR aims to ensure that the benchmarks are built and reduce the surface area of conditional compilation. There is a roughly linear relationship in opinionated-ness in each commit.
Why
A recent commit broke one of the benchmarks. This isn't the first time it has happened: they're not built as part of normal development or the CI.
How
benchpart of the dev-dependenciespubbut in non-pubmodules, then re-exports themGetoperations from the benchmark. We never get nodes - we just hash them!We still need a "bench" feature, but only in two places. One of those is the
TestableTmpDirwhichI'm planning to move in #781I've moved in #803 , so would be able to re-export in the same way in whichever (if ever) gets merged last.Divan might make it possible to remove the feature altogether.
Manually Testing
^-- no
cargo bench!Tasks for the Author