Files
codex/codex-rs
jif 264f7d60f5 Return startup timing with MCP connection attempts (#63647)
## What changed

Have the MCP connection pool return an optional startup measurement
alongside the connection result. For a new connection, measure through
lease registration when required, including when registration fails.
If a chat falls back to opening its own connection, start the timer at
the fallback. Joining an existing connection produces no startup
measurement.

## Testing

Pool tests cover timing a lease-open timeout on a new connection,
omitting timing for the same timeout on a reused connection, and
recording timing when a chat falls back to its own connection.

GitOrigin-RevId: 364963ca2f4e7bd8338c8acc9a7869e3a7a6e9c4
2026-11-24 14:18:12 +00:00
..
…
…
…