From 9e482765222fd10e342074f50823f62f3f587943 Mon Sep 17 00:00:00 2001 From: UniDesk Codex Date: Tue, 7 Jul 2026 02:21:13 +0800 Subject: [PATCH] test: keep go launcher comment out of env identity --- deploy/runtime/launcher/hwlab-go-env-reuse-launcher.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/runtime/launcher/hwlab-go-env-reuse-launcher.mjs b/deploy/runtime/launcher/hwlab-go-env-reuse-launcher.mjs index 10c7cf56..907c0c9a 100644 --- a/deploy/runtime/launcher/hwlab-go-env-reuse-launcher.mjs +++ b/deploy/runtime/launcher/hwlab-go-env-reuse-launcher.mjs @@ -17,7 +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. +// Go env images avoid npm dependency installation; Go modules stay in Docker/BuildKit layers. run("git", ["clone", "--no-checkout", "--single-branch", "--branch", bootRef, readUrl, checkoutDir], "/"); run("git", ["checkout", "--detach", bootCommit], checkoutDir);