Files
codex/codex-rs/app-server-remote-client
jif ab00c6d640 Prevent remote app-server shutdown from hanging on a full queue (#62547)
## Why

A stalled WebSocket write can leave the remote client's command queue
full. Shutdown can then wait indefinitely to enqueue its command,
before it reaches the timeout that allows it to abort the worker.

## What changed

Apply `SHUTDOWN_TIMEOUT` to enqueuing the shutdown command so the client
can reach the existing worker abort fallback even if the queue stays
full.

## Testing

Add a paused-time regression test that keeps the queue full with a
stalled worker and verifies that shutdown returns and the worker has
finished.

GitOrigin-RevId: d7c1a90442cd2619893144b20e43f6d87d5caa94
2026-11-19 16:21:15 +00:00
..