Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/lib/onboard/sandbox-dockerfile-patch-flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ export async function prepareSandboxDockerfilePatch({
preferredInferenceApi,
webSearchConfig,
resolved ? resolved.ref : null,
// Docker-on-Colima uses normal container ownership; keep the old VM chmod
// compatibility path disabled unless a future VM-specific flow opts in.
false,
null,
hermesToolGateways,
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/test-openshell-gateway-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ exercise_macos_docker_rootfs_permission_regression() {
|| fail "Dockerfile is missing the macOS VM rootfs compatibility ARG"
grep -Fq "ARG NEMOCLAW_DARWIN_VM_COMPAT=\${sanitizeDockerArg(darwinVmCompat ? \"1\" : \"0\")}" src/lib/onboard/dockerfile-patch.ts \
|| fail "Dockerfile patch helper does not patch the macOS VM rootfs compatibility ARG"
grep -Fq "Docker-on-Colima uses normal container ownership" src/lib/onboard.ts \
grep -Fq "Docker-on-Colima uses normal container ownership" src/lib/onboard/sandbox-dockerfile-patch-flow.ts \
|| fail "onboard does not keep macOS Docker sandbox builds out of the VM rootfs compatibility path"
grep -q "chmod -R a+rwX /sandbox/.openclaw" Dockerfile \
|| fail "Dockerfile does not relax OpenClaw state permissions for macOS VM rootfs remapping"
Expand Down
Loading