[codex] refactor VFS into reusable crates and backends#102
Merged
Conversation
2f9e2af to
befd688
Compare
|
🚅 Environment secure-exec-pr-102 in rivet-frontend has no services deployed. |
befd688 to
5a40932
Compare
5a40932 to
4eb43ac
Compare
4eb43ac to
ead996d
Compare
NathanFlurry
added a commit
that referenced
this pull request
Jun 20, 2026
NathanFlurry
added a commit
that referenced
this pull request
Jun 20, 2026
NathanFlurry
added a commit
that referenced
this pull request
Jun 20, 2026
…blish) bumpCargoVersions only rewrote [workspace.dependencies] versions for crates named with an agent-os-/secure-exec- prefix. #102 added a crate named bare `vfs`, whose [package].version got bumped to the preview version while its workspace-dependency requirement stayed "0.3.0-rc.1" — so cargo failed to resolve secure-exec-kernel's vfs dep at publish/build time. Match internal path deps by their `path = "..."` shape instead of a name prefix. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
NathanFlurry
added a commit
that referenced
this pull request
Jun 20, 2026
…chmarks #101/#102 renamed the core class Sidecar to SidecarProcess but left the public `secure-exec` umbrella re-export and the benchmarks helper importing the old name, breaking `turbo build` (TS2305: no exported member 'Sidecar'). Examples are excluded from the publish build so are left as-is. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Summary
crates/vfs, including overlay/root/mount-table code, chunked/object engines, metadata/block/object traits, cache, in-memory stores, and conformance tests.crates/secure-exec-vfsfor secure-exec-specific backends: SQLite metadata, local file blocks, S3 block/object storage, and callback metadata over the sidecar bridge.object_s3,chunked_s3, andchunked_local; remove the legacy manifest-backeds3andsqlite_vfsplugins.@secure-exec/s3, architecture docs, and compatibility fixes uncovered by the refactor.Impact
S3 mounts now use either native object-key layout (
object_s3) or chunk blocks plus metadata (chunked_s3) instead of a tree-wide JSON manifest. Local durable roots can use the same managed chunked filesystem viachunked_local. Future Rivet actor integration can plug intochunked_s3through the callback metadata backend without reimplementing the filesystem data plane.The wire/config shape remains the generic mount plugin descriptor (
id+ JSON config); the API change is the explicit plugin IDs and config helper surface.Validation
cargo fmt --allcargo build --workspacecargo clippy --workspace --all-targetscargo test --workspacecargo doc -p vfs --no-depsmake -C registry/native wasmcorepack pnpm --dir packages/core check-typescorepack pnpm --dir registry/file-system/s3 check-typescorepack pnpm --dir registry/file-system/s3 testStale-reference audits also passed for old VFS crate names, deleted old paths, forbidden
crates/vfsdeps, andCLAUDE.md/AGENTS.mdsymlink convention.