From b0634b829c7eb039af1fe95f13941d2c1df497c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Wed, 8 Apr 2026 15:27:10 +0100 Subject: [PATCH] fix(runner): set GIT_TERMINAL_PROMPT=0 for non-interactive clone Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/runner/supervisor.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/runner/supervisor.mjs b/apps/runner/supervisor.mjs index 57ced12..beb89eb 100644 --- a/apps/runner/supervisor.mjs +++ b/apps/runner/supervisor.mjs @@ -234,7 +234,7 @@ const server = createServer(async (req, res) => { try { // Clean existing clone execSync(`rm -rf ${svcSourcePath}/*`, { timeout: 10_000 }); - execSync(`git clone --depth 1 ${gitBranch ? `--branch ${gitBranch}` : ""} ${gitUrl} .`, { cwd: svcSourcePath, timeout: 120_000, stdio: "pipe" }); + execSync(`git clone --depth 1 ${gitBranch ? `--branch ${gitBranch}` : ""} ${gitUrl} .`, { cwd: svcSourcePath, timeout: 120_000, stdio: "pipe", env: { ...process.env, GIT_TERMINAL_PROMPT: "0" } }); console.log(`[runner] git clone complete: ${gitUrl} -> ${svcSourcePath}`); } catch (e) { return json(res, 500, { error: `git clone failed: ${e.message}` });