You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cde3458
Browse filesBrowse the repository at this point in the historyBrowse files
* fix(codex): stop native terminals on run cancellation
Codex turn interruption deliberately leaves native background terminals
running. Wait for the matching turn to stop, terminate that thread's
terminals through the app-server API, and join cleanup before releasing
the attempt. Surface cleanup failures without retiring shared peer threads.
Keep existing host process scopes and background gateway jobs unchanged.
Verified with 412 focused tests and an authenticated live Codex run with a
concurrent peer thread on the same app-server.
Co-authored-by: Ming Yoo <[email protected]>
* fix(codex): freeze cancellation before attempt teardown
Close cancellation admission synchronously when cleanup takes ownership,
including when finalization throws before freezing its terminal outcome.
This keeps late aborts from replacing the joined cleanup promise during
resource release or masking the original finalization error.
Move the existing terminal freeze instead of adding another lifecycle flag.
Verified the regression fails before the change; all 413 Codex tests pass.
---------
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Ming Yoo <[email protected]>
0 commit comments