Skip to content

fix(native-sidecar): resolve js_bridge mount-root realpath without a bridge round-trip#1655

Merged
NathanFlurry merged 1 commit into
stack/feat-runtime-core-env-override-for-the-native-sidecar-frame-timeout-rwrqkykqfrom
stack/fix-native-sidecar-resolve-js_bridge-mount-root-realpath-without-a-bridge-round-trip-wmqznzol
Jul 8, 2026
Merged

fix(native-sidecar): resolve js_bridge mount-root realpath without a bridge round-trip#1655
NathanFlurry merged 1 commit into
stack/feat-runtime-core-env-override-for-the-native-sidecar-frame-timeout-rwrqkykqfrom
stack/fix-native-sidecar-resolve-js_bridge-mount-root-realpath-without-a-bridge-round-trip-wmqznzol

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member
  • Resolve realpath("/") of a js_bridge mount locally (mirroring host_dir): host-side drivers often cannot canonicalize their own root and returned ENOENT, which aborted kernel permission-subject resolution before the readDir bridge call was ever issued.
  • Regression test: readdir of a js_bridge mount root against a driver whose realpath always fails.

@NathanFlurry

NathanFlurry commented Jul 8, 2026

Copy link
Copy Markdown
Member Author

Stack for rivet-dev/agentos

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

@NathanFlurry NathanFlurry force-pushed the stack/fix-agentos-sidecar-skip-close_session-teardown-wait-when-the-adapter-already-exited-mkkuuouw branch from 13f93b1 to d180ce0 Compare July 8, 2026 04:07
@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
…bridge round-trip

- Resolve `realpath("/")` of a js_bridge mount locally (mirroring host_dir): host-side drivers often cannot canonicalize their own root and returned ENOENT, which aborted kernel permission-subject resolution before the readDir bridge call was ever issued.
- Regression test: readdir of a js_bridge mount root against a driver whose realpath always fails.
@NathanFlurry NathanFlurry force-pushed the stack/fix-agentos-sidecar-skip-close_session-teardown-wait-when-the-adapter-already-exited-mkkuuouw branch from d180ce0 to 0edfcb2 Compare July 8, 2026 05:10
@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
Base automatically changed from stack/fix-agentos-sidecar-skip-close_session-teardown-wait-when-the-adapter-already-exited-mkkuuouw to stack/feat-runtime-core-env-override-for-the-native-sidecar-frame-timeout-rwrqkykq July 8, 2026 05:10
@NathanFlurry NathanFlurry merged commit 990ddda into stack/feat-runtime-core-env-override-for-the-native-sidecar-frame-timeout-rwrqkykq Jul 8, 2026
@NathanFlurry NathanFlurry deleted the stack/fix-native-sidecar-resolve-js_bridge-mount-root-realpath-without-a-bridge-round-trip-wmqznzol branch July 8, 2026 05:10
@NathanFlurry NathanFlurry restored the stack/fix-native-sidecar-resolve-js_bridge-mount-root-realpath-without-a-bridge-round-trip-wmqznzol branch July 8, 2026 05:10
@railway-app railway-app Bot temporarily deployed to agentos / agentos-pr-1659 July 8, 2026 05:11 Destroyed
@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 #1659.

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