]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
fix(sandcastle): revert idle timeout to 300s and remove redundant copyToWorktree
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 7 May 2026 18:26:40 +0000 (20:26 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 7 May 2026 18:26:40 +0000 (20:26 +0200)
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
.sandcastle/main.ts

index ed8c0aa007f8dc7e89f4645fcb391e7d7e998cc8..5f2b078a6e8523f52b7eaa396e0aa05e178195ef 100644 (file)
@@ -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
 
index 0e76bb220006c3384a07a7daf573794fc822b83b..46ad4c70c40d4d07111134a4bb120e47c6bd8fa5 100644 (file)
@@ -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' }] },
             },