fix: harden sandbox bootstrap and replica materialization - #105
Open
misrasaurabh1 wants to merge 19 commits into
Open
fix: harden sandbox bootstrap and replica materialization#105misrasaurabh1 wants to merge 19 commits into
misrasaurabh1 wants to merge 19 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # crates/loc-cli/src/commands.rs # crates/localityd/Cargo.toml
Codex review
|
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.
Implements deterministic, hash-only idempotency for ambiguous sandbox session exchange with one bounded retry, exact archive-receipt verification, and safe atomic read-only replica materialization.
Unix materialization is descriptor-relative and uses no-follow filesystem operations for extraction, traversal, chmod, rollback, and held-identity no-replace publication. The non-Unix compatibility path retains nested-directory creation. Adversarial component and staging-root substitution tests prove no writes or chmod escape staging.
Also updates Hono and the Cloudflare development toolchain, with a patched sharp override, to resolve current dependency advisories. The mock HTTP server normalizes accepted sockets so retry tests are deterministic on Darwin.
Validation: