From 1c8d0891e1bd1c1238e1d921f7f4bc415ab55620 Mon Sep 17 00:00:00 2001 From: furiosa Date: Tue, 20 Jan 2026 07:06:02 -0800 Subject: [PATCH] fix(session): increase ClaudeStartTimeout from 60s to 120s Fixes intermittent 'timeout waiting for runtime prompt' errors that occur when Claude takes longer than 60s to start under load or on slower machines. Resolves: hq-j2wl Co-Authored-By: Claude Opus 4.5 --- internal/constants/constants.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/constants/constants.go b/internal/constants/constants.go index 597bf7d3..262ea243 100644 --- a/internal/constants/constants.go +++ b/internal/constants/constants.go @@ -10,8 +10,8 @@ const ( ShutdownNotifyDelay = 500 * time.Millisecond // ClaudeStartTimeout is how long to wait for Claude to start in a session. - // Increased to 60s because Claude can take 30s+ on slower machines. - ClaudeStartTimeout = 60 * time.Second + // Increased to 120s because Claude can take 60s+ on slower machines or under load. + ClaudeStartTimeout = 120 * time.Second // ShellReadyTimeout is how long to wait for shell prompt after command. ShellReadyTimeout = 5 * time.Second