Skip to content

fix(core): deliver post-boot mountFs reconfiguration reliably to the native sidecar#1656

Merged
NathanFlurry merged 1 commit into
stack/feat-runtime-core-env-override-for-the-native-sidecar-frame-timeout-rwrqkykqfrom
stack/fix-core-deliver-post-boot-mountfs-reconfiguration-reliably-to-the-native-sidecar-nyvvsyxp
Jul 8, 2026
Merged

fix(core): deliver post-boot mountFs reconfiguration reliably to the native sidecar#1656
NathanFlurry merged 1 commit into
stack/feat-runtime-core-env-override-for-the-native-sidecar-frame-timeout-rwrqkykqfrom
stack/fix-core-deliver-post-boot-mountfs-reconfiguration-reliably-to-the-native-sidecar-nyvvsyxp

Conversation

@NathanFlurry

@NathanFlurry NathanFlurry commented Jul 8, 2026

Copy link
Copy Markdown
Member
  • 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.

@NathanFlurry

NathanFlurry commented Jul 8, 2026

Copy link
Copy Markdown
Member Author

Stack for rivet-dev/agentos

Get stack: forklift get 1656
Push local edits: forklift submit
Merge when ready: forklift merge 1656

@NathanFlurry NathanFlurry force-pushed the stack/fix-core-deliver-post-boot-mountfs-reconfiguration-reliably-to-the-native-sidecar-nyvvsyxp branch 2 times, most recently from 7c04f34 to 588b544 Compare July 8, 2026 04:02
@NathanFlurry NathanFlurry force-pushed the stack/fix-native-sidecar-resolve-js_bridge-mount-root-realpath-without-a-bridge-round-trip-wmqznzol branch from 7a20b68 to da16472 Compare July 8, 2026 04:07
@NathanFlurry NathanFlurry force-pushed the stack/fix-core-deliver-post-boot-mountfs-reconfiguration-reliably-to-the-native-sidecar-nyvvsyxp branch from 588b544 to 52cecd3 Compare July 8, 2026 04:07
…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.
@NathanFlurry NathanFlurry force-pushed the stack/fix-native-sidecar-resolve-js_bridge-mount-root-realpath-without-a-bridge-round-trip-wmqznzol branch from da16472 to 990ddda Compare July 8, 2026 05:10
@NathanFlurry NathanFlurry force-pushed the stack/fix-core-deliver-post-boot-mountfs-reconfiguration-reliably-to-the-native-sidecar-nyvvsyxp branch from 52cecd3 to bda847c Compare July 8, 2026 05:10
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
@NathanFlurry NathanFlurry merged commit bda847c into stack/feat-runtime-core-env-override-for-the-native-sidecar-frame-timeout-rwrqkykq Jul 8, 2026
@NathanFlurry NathanFlurry deleted the stack/fix-core-deliver-post-boot-mountfs-reconfiguration-reliably-to-the-native-sidecar-nyvvsyxp branch July 8, 2026 05:10
@NathanFlurry NathanFlurry restored the stack/fix-core-deliver-post-boot-mountfs-reconfiguration-reliably-to-the-native-sidecar-nyvvsyxp branch July 8, 2026 05:10
@NathanFlurry

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant