docs: document volume mounting & toolchain sharing for sbx and gVisor#6335
Merged
Conversation
sbx: add a 'Volume mounting & toolchain sharing' section explaining the host-path==guest-path positional mount model (no chroot), what createSandbox shares (workspace, extra mounts, /tmp, /usr/local/bin, $HOME), a comparison table vs the compose chroot model, and a toolchain portability caveat for a future KVM microVM backend. gVisor: add a 'Volume mounting & filesystem access (the Gofer)' section noting it reuses the standard compose agent bind-mount + chroot set, and that all filesystem I/O is proxied by gVisor's per-sandbox Gofer process, with the resulting isolation and compatibility implications. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 23717692-af7a-4e03-a156-5b696c3f01bd
Contributor
Contributor
There was a problem hiding this comment.
Pull request overview
Documents filesystem and toolchain sharing for the sbx and gVisor runtimes.
Changes:
- Explains sbx positional mounts and portability constraints.
- Documents compose mounts and gVisor filesystem mediation.
Show a summary per file
| File | Description |
|---|---|
docs/sbx-integration.md |
Adds sbx volume and toolchain-sharing guidance. |
docs/gvisor-integration.md |
Adds gVisor mount and Gofer filesystem guidance. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 3
- Review effort level: Medium
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
|
✅ Copilot review passed with no inline comments. @lpcox Add the |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This was referenced Jul 18, 2026
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.
What
Adds a volume mounting / filesystem sharing section to both integration docs, closing a gap where neither doc explained how the workspace and toolchains actually reach the sandbox.
docs/sbx-integration.md— "Volume mounting & toolchain sharing"/hostbind-mount +chroot.createSandbox()shares: the workspace (rw),--volumeextra mounts (with the container-path segment discarded), and the three always-added mounts/usr/local/bin,/tmp,$HOME.docs/gvisor-integration.md— "Volume mounting & filesystem access (the Gofer)"/host/tmp/awf-runner-bintoolchain path).Verification
markdownlintpasses on both files.src/sbx-manager.ts,src/commands/main-action.ts, andsrc/services/agent-volumes/system-mounts.ts.Docs-only change.