From b520bd18256848cfc0566a6ee9ada2954194cfd4 Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 16 Sep 2026 16:02:26 +0200 Subject: [PATCH] The builder's workspace is a same-path bind, so sibling builds see the clone A docker run -v from inside the builder resolves the path on the host: with the workspace mounted at a different path inside than out, the SDK publish and any bundle compile mounted an empty directory. Bind it at the same path both sides. Claude-Session: https://claude.ai/code/session_01D6qtiYU3P9jk3pnAXyAFyx --- modules/builder/module.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/builder/module.json b/modules/builder/module.json index 3d91d70..fb2c6f5 100644 --- a/modules/builder/module.json +++ b/modules/builder/module.json @@ -38,7 +38,7 @@ "type": "file", "path": "/var/lib/mesh/builder/builder.env", "mode": "0600", - "content": "MESH_BROKER_FILE=/run/mesh/broker\nMESH_NODE=${machine:name}\nMESH_REGISTRY=127.0.0.1:${bound:artifact-store:port}\nMESH_PACKAGE_BINDING=/run/mesh/package-registry.json\nMESH_NPM_TOKEN_FILE=/run/mesh/npm-password\nMESH_WORKSPACE=/workspace\n" + "content": "MESH_BROKER_FILE=/run/mesh/broker\nMESH_NODE=${machine:name}\nMESH_REGISTRY=127.0.0.1:${bound:artifact-store:port}\nMESH_PACKAGE_BINDING=/run/mesh/package-registry.json\nMESH_NPM_TOKEN_FILE=/run/mesh/npm-password\nMESH_WORKSPACE=/var/lib/builder/workspace\n" }, { "id": "package-binding", @@ -57,7 +57,7 @@ ], "volumes": [ "/var/lib/mesh/builder:/run/mesh:ro", - "/var/lib/builder/workspace:/workspace", + "/var/lib/builder/workspace:/var/lib/builder/workspace", "/var/run/docker.sock:/var/run/docker.sock" ], "restart-on": [