Files
codex/codex-rs/core/src
jif 187f00e805 Finish approved remote one-shot commands after startup interruption (#64367)
## 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
2026-11-27 18:55:47 +00:00
..
…
…
…