-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Codex app-server terminal idle timeout is hardcoded and reports misleading config guidance #85242
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
A scheduled agent turn using the Codex app-server runtime can fail at the internal terminal-idle watchdog even when the scheduled job already has a longer run-specific timeout configured. The surfaced error currently tells users to increase
agents.defaults.timeoutSeconds, but that setting is not the actual limiting timeout in this failure mode.Observed
2026.5.18.agentTurnusingcodex/gpt-5.5hadtimeoutSecondsset above 30 minutes.codex app-server turn idle timed out waiting for terminal eventtimeoutMs=1800000Request timed out before a response was generated. Please try again, or increase agents.defaults.timeoutSeconds in your config.Expected
agents.defaults.timeoutSeconds.Local mitigation used
A local hotfix made the Codex terminal-idle timeout configurable via an environment variable and increased the affected scheduled job timeout so the outer job budget is higher than the internal idle watchdog.
This issue is for upstreaming the behavior cleanly rather than relying on local patched bundled files.