mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +00:00
## Why Interrupting an approved one-shot command while remote plugin attribution is pending can stall session shutdown and leave the command without a terminal record. An open elicitation can also delay output collection. ## What changed On interruption, skip the pending remote attribution lookup and optional plugin metrics read, and bypass the elicitation pause during output collection. Keep session history open until the command's terminal event is published, including when the exit watcher publishes it. ## Testing Extend the remote startup interruption test to cover resumable commands and approved one-shots. Verify process termination and session shutdown with the attribution request still pending, and check that the approved one-shot records exactly one failed completion with an unrelated elicitation still open. GitOrigin-RevId: e9b78290544d634797876119006540150a7672b1