Repository navigation
[mount-docs] Document NVX runtime in mount policy - #11350
Merged
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
lpcox
marked this pull request as ready for review
November 9, 2026 05:35
Copilot stopped reviewing on behalf of
lpcox due to an error
November 9, 2026 05:35
Contributor
There was a problem hiding this comment.
Note
Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.
Copilot review overview
2 open issues
What changed in this PR
Updates the mount policy documentation to include NVX microVM behavior so host/guest path handling stays consistent across runtimes.
Changes:
- Document NVX microVM as a consumer of the centralized mount policy config.
- Expand the policy table to include NVX-related components and enforcement points.
- Describe NVX’s home seeding and credentials exclusion behavior.
| File | Description |
|---|---|
| docs/mount-policy.md | Updates documentation to cover NVX microVM integration with mount policy and exclusions. |
Review effort: Lite (auto)
|
|
||
| - **NVX microVM** copies the `HOME_TOOL_PATHS` directories that exist under the | ||
| host `$HOME` into the guest home seed, skipping every `credentials.entries` | ||
| and `home.forbiddenSubdirs` path |
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Contributor
Author
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
Contributor
Author
Documentation PreviewDocumentation has been built for this PR. To view locally:
Built from commit f8e3313 |
Copilot stopped reviewing on behalf of
lpcox due to an error
November 9, 2026 05:57
Comment on lines
+110
to
+112
| and `home.forbiddenSubdirs` path | ||
| ([`guest-config-layer.ts`](../src/nvx/guest-config-layer.ts)); its builder and | ||
| live-share policy applies the same exclusions |
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.

Warning
Threat detection engine error
Threat detection could not complete its analysis due to a tooling error. This is not a security finding.
What happened
The threat detection engine failed to produce results.
Review the workflow run logs to troubleshoot the error.
Audited commit:
f30cc2a28315b604ddee10339d5e8b1a1d097a0dDiscrepancy:
docs/mount-policy.mdsaid only Docker, gVisor and sbx read the central mount policy, and that Cloud Hypervisor was the only microVM outside it. The NVX runtime (--container-runtime nvx) also consumes the policy in production:src/nvx/guest-config-layer.tscopies theHOME_TOOL_PATHSdirectories into the guest home seed and skipsCREDENTIAL_ENTRIESandHOME_FORBIDDEN_SUBDIRS. It is created bycreateNvxRuntimeBackendinsrc/nvx/runtime-backend.ts(homePath: process.env.HOME), whichsrc/external-runtime-backend-resolver.tscalls.src/nvx/filesystem-builder.tsandsrc/nvx/live-mount-policy.tsapply the same credential and forbidden-path exclusions.Correction (docs/mount-policy.md only):
Checked:
sandbox-mount-policy.json,mount-policy.ts,system-mounts.ts,home-strategy.ts,docker-socket.ts,workspace-mounts.ts,runner-tool-cache.ts,cloud-hypervisor/exports.ts, the NVX sources above, anddocs/selective-mounting.md. The rest ofdocs/mount-policy.mdanddocs/selective-mounting.mdmatched the code.Limitations:
home.forbiddenSubdirsrow keeps its existing sbx claim; it was not re-verified.