Files
codex/codex-rs/core/tests
T
hanson-openai b5dd189067 Allow unified_exec to early exit (if the process terminates before yield_time_ms) (#6867)
Thread through an `exit_notify` tokio `Notify` through to the
`UnifiedExecSession` so that we can return early if the command
terminates before `yield_time_ms`.

As Codex review correctly pointed out below ๐Ÿ™Œ we also need a
`exit_signaled` flag so that commands which finish before we start
waiting can also exit early.

Since the default `yield_time_ms` is now 10s, this means that we don't
have to wait 10s for trivial commands like ls, sed, etc (which are the
majority of agent commands ๐Ÿ˜…)

---------

Co-authored-by: jif-oai <jif@openai.com>
b5dd189067 ยท 2025-11-20 13:34:41 +01:00
History
..
2025-11-19 00:43:58 -08:00
2025-07-12 16:53:55 -07:00