mirror of
https://github.com/openai/codex.git
synced 2026-05-24 04:54:52 +00:00
Add dedicated exec-server shutdown config and signal handling so the listener stops accepting new websocket connections while existing work drains up to a configurable timeout. Reject new process starts and HTTP requests once drain begins, and force remaining sessions on timeout or a second signal. Add focused config, CLI, and signal shutdown tests for drain, timeout, second signal, and new connection/start rejection behavior. Co-authored-by: Codex <noreply@openai.com>