Merge pull request #8979 from continuedev/nate/increase-terminal-timeout-to-120s

Increase terminal command timeout from 30s to 120s
This commit is contained in:
Nate Sesti 2025-12-02 21:24:24 -08:00 • committed by GitHub
commit cfa5911416
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -44,8 +44,8 @@ Output handling
- Stdout is streamed into memory; Stderr is captured and appended as a trailing "Stderr: ..." section on success.
- If the process exits non-zero and Stderr contains content, the tool call is marked as error and the error text is shown.
- Output is truncated to the first 5000 lines if exceeded.
- Timeout behavior: If no output is received for 30 seconds (configurable in tests), the process is terminated and the result includes a note like:
"[Command timed out after 30 seconds of no output]".
- Timeout behavior: If no output is received for 120 seconds (configurable in tests), the process is terminated and the result includes a note like:
"[Command timed out after 120 seconds of no output]".
Keyboard behaviors (summary)

View file

@ -88,7 +88,7 @@ IMPORTANT: To edit files, use Edit/MultiEdit tools instead of bash commands (sed
const TIMEOUT_MS =
process.env.NODE_ENV === "test" && process.env.TEST_TERMINAL_TIMEOUT
? parseInt(process.env.TEST_TERMINAL_TIMEOUT, 10)
: 30000; // 30 seconds default, configurable for tests
: 120000; // 120 seconds default, configurable for tests
const resetTimeout = () => {
if (timeoutId) {