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:
commit
cfa5911416
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue