Repository navigation
[mount-docs] Document runner tool cache mount in chroot-mode - #11451
Merged
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The documentation change is focused and no active review issues are identified.
No open issues 🎉
What changed in this PR
Updates chroot-mode documentation to describe the existing read-only runner tool-cache bind mount and its resolution behavior.
Changes:
- Documents the
/host<toolcache>:romount. - Records resolution through
config.runnerToolCachePath,RUNNER_TOOL_CACHE, and~/work/_tool. - Notes that the mount requires an existing directory and clarifies its applicability to sysroot runs.
| File | Description |
|---|---|
| docs/chroot-mode.md | Adds documentation for the optional read-only runner tool-cache mount, its resolution order, and its applicability across chroot-mode configurations. |
Review effort: Lite (auto)
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 40d42dd |
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.
Audited commit:
32541bf3cdccf9ee6490366fcf2b78777df156f0Discrepancy:
docs/chroot-mode.mdlisted the compose volume mounts but omitted the read-only runner tool cache bind.mount-policy.mdalready describes it.Correction: Added a short paragraph to
docs/chroot-mode.mdcovering the/host<toolcache>:robind and its resolution order (config.runnerToolCachePath,RUNNER_TOOL_CACHE,~/work/_tool, and only if the path is an existing directory).Sources at the audited commit:
src/runner-tool-cache.ts(resolveRunnerToolCachePath)src/services/agent-volumes/home-strategy.ts(buildToolDirectoryMounts, the final:ropush)Checked:
sandbox-mount-policy.json, system/etc/home/docker-socket mounts,mount-policy.md,selective-mounting.mdand the mount sections ofchroot-mode.mdagainst source. The other docs already matched.Limitations: I did not audit the sbx, Cloud Hypervisor, or NVX paths line by line, and ran no containers. The diff is documentation-only.