Skip to content

Drop the built-in run_shell timeout default - #546

Merged
TheGreatAxios merged 4 commits into
mainfrom
cl-6925-drop-the-15s-default-run_shell-timeout
Aug 23, 2026
Merged

Drop the built-in run_shell timeout default#546
TheGreatAxios merged 4 commits into
mainfrom
cl-6925-drop-the-15s-default-run_shell-timeout

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • run_shell no longer arms a 15s timer when timeout is omitted — match Pi (no built-in default).
  • A per-call timeout or settings.shell.timeoutMs still bounds the command; shell.maxTimeoutMs clamps a resolved timeout and does not invent one alone.
  • Schema advertising, harness prompts, and docs agree: optional timeout, abort + byte-cap + process-group kill unchanged.

Verification

  • bun run check passes (lint, typecheck, build, 5247 tests)
  • Focused coverage: omitted timeout does not time out; settings defaultMs still applies; maxMs alone does not invent a timeout; abort still kills the process group

Fixes CL-6925

Omitted timeout no longer arms a 15s timer. Match Pi: only a per-call
timeout or settings.shell.timeoutMs bounds the command; maxTimeoutMs
clamps a resolved timeout and does not invent one.
@linear-code

linear-code Bot commented Aug 23, 2026

Copy link
Copy Markdown
0.2.104 is already tagged. Folding this into that section would
claim a released cut contains work that is not in it.
Keep both Unreleased notes: run_shell timeout and maxTurns cap.
@TheGreatAxios
TheGreatAxios merged commit bf01b2a into main Aug 23, 2026
5 checks passed
TheGreatAxios added a commit that referenced this pull request Aug 27, 2026
…run_shell-timeout

Drop the built-in run_shell timeout default
TheGreatAxios added a commit that referenced this pull request Aug 27, 2026
…run_shell-timeout

Drop the built-in run_shell timeout default
@TheGreatAxios
TheGreatAxios deleted the cl-6925-drop-the-15s-default-run_shell-timeout branch August 27, 2026 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant