From ad6edff5071c7017ae382dd69235581c35b12665 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 7 May 2026 20:26:40 +0200 Subject: [PATCH] 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. --- .sandcastle/constants.ts | 2 +- .sandcastle/main.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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' }] }, }, -- 2.43.0