Uh oh!
There was an error while loading. Please reload this page.
Fix pluggable storage failure guarantees - #19
Merged
zekageri merged 2 commits intoAug 3, 2026
Conversation
github-actionsBotforce-pushed
the
fix/pluggable-storage-review
branch
from
July 31, 2026 14:46
62e6a4b to
b671f4aComparezekageri
marked this pull request as ready for review
August 3, 2026 06:34
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Summary
Fixes the storage correctness issues found during the Fresh 0.2.0 pluggable-storage review.
Changes
FreshFS.exists()overloadFreshStorageAccessfacades lifetime-safe with a backend-owned shared access state and weak facade referencesstat()failures and reject file/directory type mismatchesreadFile()enforce complete-file semantics, report required capacity, detect early EOF, and reject size changes during readsValidation
Passed on final head
ea66dabf4389f24153691fd372cb6f494589cf91:FRESH_TESTINGhardening build with deterministic fault injectionCI run:
30640121938Remaining qualification
Before tagging
v0.2.0, run the regression sketches and storage qualification on physical hardware, including: