Nine Timeout Limits That Can Cut Long Test Runs Short in Claude Code, Codex and Gemini CLI

A developer reports that a 14-minute integration suite run through Claude Code's Bash tool hit a 2-minute foreground timeout, with the command then moved to the background. The article lists nine timeout and limit settings across Claude Code, Codex and Gemini CLI, giving each one's name, default value, where it is configured and the symptom it causes. Key defaults include a 2-minute foreground Bash timeout and a 10-minute ceiling on requested timeouts, with unattended claude -p runs using different limits. The author notes that the figures come from each vendor's documentation as of November 6, 2026, and that they were not independently measured. Environment-variable overrides in settings files are presented as a way to extend these limits for long-running jobs.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in