fix(core): deliver post-boot mountFs reconfiguration reliably to the native sidecar#1656
Conversation
This was referenced Jul 8, 2026
Merged
Member
Author
|
Stack for rivet-dev/agentos
Get stack: |
7c04f34 to
588b544
Compare
7a20b68 to
da16472
Compare
588b544 to
52cecd3
Compare
…native sidecar - `mountFs`/`unmountFs` now return a promise that settles once the sidecar has applied the mount; delivery failures reject instead of being swallowed. - Runtime mount reconfigures resend the boot `packages`/`packagesMountAt`/`toolShimCommands`: Rust `configure_vm` rebuilds the whole VM configuration from each payload, so omitting them stripped the `/opt/agentos` projections and tool shims as a side effect of a post-boot mount. - Runtime `linkSoftware` packages are retained too, so a later `mountFs` no longer unprojects them. - The Rust client `mount_fs` remains in-process-only; sidecar-visible runtime mounts there are a follow-up.
da16472 to
990ddda
Compare
52cecd3 to
bda847c
Compare
Base automatically changed from
stack/fix-native-sidecar-resolve-js_bridge-mount-root-realpath-without-a-bridge-round-trip-wmqznzol
to
stack/feat-runtime-core-env-override-for-the-native-sidecar-frame-timeout-rwrqkykq
July 8, 2026 05:10
bda847c
into
stack/feat-runtime-core-env-override-for-the-native-sidecar-frame-timeout-rwrqkykq
Member
Author
|
Note: GitHub auto-marked this PR as merged when the stack was reordered (its head became reachable from the stack base branch). This change is NOT in main yet — it continues as #1660. |
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.
mountFs/unmountFsnow return a promise that settles once the sidecar has applied the mount; delivery failures reject instead of being swallowed.packages/packagesMountAt/toolShimCommands: Rustconfigure_vmrebuilds the whole VM configuration from each payload, so omitting them stripped the/opt/agentosprojections and tool shims as a side effect of a post-boot mount.linkSoftwarepackages are retained too, so a latermountFsno longer unprojects them.mount_fsremains in-process-only; sidecar-visible runtime mounts there are a follow-up.