From: Jérôme Benoit Date: Thu, 7 May 2026 18:26:40 +0000 (+0200) Subject: fix(sandcastle): revert idle timeout to 300s and remove redundant copyToWorktree X-Git-Tag: cli@v4.7.0~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ad6edff5071c7017ae382dd69235581c35b12665;p=e-mobility-charging-stations-simulator.git fix(sandcastle): revert idle timeout to 300s and remove redundant copyToWorktree The 600s timeout was a misguided workaround for serena MCP init. The actual root cause is an opencode bug: zero stdout during its git check-ignore indexing phase. Removing copyToWorktree since pnpm install in onSandboxReady already handles node_modules via the mounted pnpm store. --- diff --git a/.sandcastle/constants.ts b/.sandcastle/constants.ts index ed8c0aa0..5f2b078a 100644 --- a/.sandcastle/constants.ts +++ b/.sandcastle/constants.ts @@ -11,7 +11,7 @@ export const AGENT_CRITIC_EFFORT = 'medium' export const AGENT_CRITIC_MODEL = 'github-copilot/gpt-5.4' -export const AGENT_IDLE_TIMEOUT_S = 600 +export const AGENT_IDLE_TIMEOUT_S = 300 export const AGENT_ITERATION_BUDGET = 50 diff --git a/.sandcastle/main.ts b/.sandcastle/main.ts index 0e76bb22..46ad4c70 100644 --- a/.sandcastle/main.ts +++ b/.sandcastle/main.ts @@ -50,7 +50,6 @@ if (tasks.length === 0) { try { await using sandbox = await sandcastle.createSandbox({ branch: spec.branch, - copyToWorktree: ['node_modules'], hooks: { sandbox: { onSandboxReady: [{ command: 'pnpm install && pnpm run build' }] }, },