feat(codex): make app-server timeouts configurable - #79230
Draft
Shimada666 wants to merge 1 commit into
Draft
Conversation
Closed
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agent.codex_app_server_turn_timeoutwith the existing 600-second default.agent.codex_app_server_post_tool_quiet_timeoutwith the existing 90-second default.Why
The Codex app-server transport currently uses hard-coded host-side deadlines for turns and post-tool silence. These deadlines can terminate otherwise healthy long-running workflows even when the outer gateway inactivity timeout is disabled.
Operators need an explicit way to disable these policy deadlines while retaining user interrupts and subprocess-death detection.
Behavior
The defaults remain unchanged:
Set either value to
0to disable that deadline:Explicit interruption and Codex subprocess-death detection remain active.
Validation
scripts/run_tests.sh tests/agent/test_codex_app_server_persist.py tests/run_agent/test_codex_app_server_compaction.py tests/agent/transports/test_codex_app_server_session.py -qscripts/run_tests.sh tests/hermes_cli/test_config.py -qcli-config.yaml.example