Files
codex/codex-rs
Eric Traut 7948c07531 Give remote control pairing a 35-second deadline (#57228)
## Why

Pairing can take up to 30 seconds in the daemon, but the client used a two-second timeout when waiting for each response message.

## What changed

Apply a single 35-second deadline to `start_pairing`, including connection and initialization. Wait for the pairing response without a per-message timeout so status notifications cannot extend the overall deadline. Preserve the existing per-message timeout for other remote control requests.

## Testing

Extend the manual pairing test with a three-second response delay and add coverage verifying that a status notification does not reset the pairing deadline.

GitOrigin-RevId: c011fd131262b30baa21e17bc0e0f733dce53fb0
2026-10-26 20:18:06 +00:00
..
…
…
…