From 1db1ca8ec0c75cc6fcb46afd66315e0554535623 Mon Sep 17 00:00:00 2001 From: UniDesk Codex Date: Tue, 7 Jul 2026 00:47:04 +0800 Subject: [PATCH] docs: clarify go env launcher avoids npm installs --- deploy/runtime/launcher/hwlab-go-env-reuse-launcher.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/runtime/launcher/hwlab-go-env-reuse-launcher.mjs b/deploy/runtime/launcher/hwlab-go-env-reuse-launcher.mjs index eff98d9e..10c7cf56 100644 --- a/deploy/runtime/launcher/hwlab-go-env-reuse-launcher.mjs +++ b/deploy/runtime/launcher/hwlab-go-env-reuse-launcher.mjs @@ -17,6 +17,7 @@ if (!/^[A-Za-z0-9._/-]+$/u.test(bootRef) || bootRef.startsWith("-") || bootRef.i const readUrl = process.env.HWLAB_BOOT_READ_URL || mirrorReadUrl(bootRepo); mkdirSync(path.dirname(checkoutDir), { recursive: true }); rmSync(checkoutDir, { recursive: true, force: true }); +// Go env images intentionally avoid npm dependency installation; Go modules are prepared by Docker/BuildKit layers. run("git", ["clone", "--no-checkout", "--single-branch", "--branch", bootRef, readUrl, checkoutDir], "/"); run("git", ["checkout", "--detach", bootCommit], checkoutDir);