core-agent-ide/codex-rs/rmcp-client/src/bin
Ahmed Ibrahim 44ecc527cb
Stabilize RMCP streamable HTTP readiness tests (#13880)
## What changed
- The RMCP streamable HTTP tests now wait for metadata and tool
readiness before issuing tool calls.
- OAuth state is isolated per test home.
- The helper server startup path now uses bounded bind retries so
transient `AddrInUse` collisions do not fail the test immediately.

## Why this fixes the flake
- The old tests could begin issuing tool requests before the helper
server had finished advertising its metadata and tools, so the first
request sometimes raced the server startup sequence.
- On top of that, shared OAuth state and occasional bind collisions on
CI runners introduced cross-test environmental noise unrelated to the
functionality under test.
- Readiness polling makes the client wait for an observable “server is
ready” signal, while isolated state and bounded bind retries remove
external contention that was causing intermittent failures.

## Scope
- Test-only change.
2026-03-09 19:52:55 +00:00
..
rmcp_test_server.rs Upgrade rmcp to 0.14 (#10718) 2026-02-08 15:07:53 -08:00
test_stdio_server.rs Upgrade rmcp to 0.14 (#10718) 2026-02-08 15:07:53 -08:00
test_streamable_http_server.rs Stabilize RMCP streamable HTTP readiness tests (#13880) 2026-03-09 19:52:55 +00:00