From 41da5ddde7daa1e8155c0da347fa3b8353bd2a31 Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 4 Aug 2025 20:13:53 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/src/cli/simple-commands/automation-executor.j?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/task-1754338361.json | 1 + src/cli/simple-commands/automation-executor.js | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .claude/checkpoints/task-1754338361.json diff --git a/.claude/checkpoints/task-1754338361.json b/.claude/checkpoints/task-1754338361.json new file mode 100644 index 0000000000..e64c4e6123 --- /dev/null +++ b/.claude/checkpoints/task-1754338361.json @@ -0,0 +1 @@ +{"checkpoint": "task-20250804-201240", "task": "{{user_prompt}} ", "timestamp": "2025-08-04T20:12:41Z", "commit": "231fbaec4023f489505f657fccc8f071535ea183", "github_release": "true"} diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.js index f36ceb7653..686e79df63 100644 --- a/src/cli/simple-commands/automation-executor.js +++ b/src/cli/simple-commands/automation-executor.js @@ -790,7 +790,9 @@ Execute your role in the MLE-STAR workflow with full coordination and hook integ }); const timeoutPromise = new Promise((_, reject) => { - setTimeout(() => reject(new Error('Task timeout')), timeout); + // Use a much longer timeout for ML tasks since Claude is actively working + const actualTimeout = isMLTask ? Math.max(timeout, 600000) : timeout; // 10 min minimum for ML + setTimeout(() => reject(new Error('Task timeout')), actualTimeout); }); try { @@ -861,7 +863,9 @@ Execute your role in the MLE-STAR workflow with full coordination and hook integ }); const timeoutPromise = new Promise((_, reject) => { - setTimeout(() => reject(new Error('Task timeout')), timeout); + // Use a much longer timeout for ML tasks since Claude is actively working + const actualTimeout = isMLTask ? Math.max(timeout, 600000) : timeout; // 10 min minimum for ML + setTimeout(() => reject(new Error('Task timeout')), actualTimeout); }); try {