Skip to content

[mount-docs] Document runner tool cache mount in chroot-mode - #11451

Merged
lpcox merged 1 commit into
mainfrom
mount-docs/chroot-tool-cache-dd407c76658719fd
Nov 11, 2026
Merged

lpcox merged 1 commit into
mainfrom
mount-docs/chroot-tool-cache-dd407c76658719fd

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Audited commit: 32541bf3cdccf9ee6490366fcf2b78777df156f0

Discrepancy: docs/chroot-mode.md listed the compose volume mounts but omitted the read-only runner tool cache bind. mount-policy.md already describes it.

Correction: Added a short paragraph to docs/chroot-mode.md covering the /host<toolcache>:ro bind 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 :ro push)

Checked: sandbox-mount-policy.json, system/etc/home/docker-socket mounts, mount-policy.md, selective-mounting.md and the mount sections of chroot-mode.md against 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.

Generated by Mount Documentation Maintainer · copilot · auto (Claude Sonnet 5.5) · ~30 AIC · ⌖ ~2 AIC · ⊞ 9.4K · ◷

@lpcox
lpcox marked this pull request as ready for review November 11, 2026 16:03
Copilot AI adaptive review requested due to automatic review settings November 11, 2026 16:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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>:ro mount.
  • 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)

@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Copilot review passed with no inline comments.

@github-actions[bot] Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@github-actions

Copy link
Copy Markdown
Contributor Author

Documentation Preview

Documentation has been built for this PR.

Download preview artifact

To view locally:

  1. Download the docs-preview-pr-11451 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit 40d42dd

@lpcox
lpcox merged commit 661da0b into main Nov 11, 2026
38 of 49 checks passed
@lpcox
lpcox deleted the mount-docs/chroot-tool-cache-dd407c76658719fd branch November 11, 2026 18:11
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.

2 participants