core-agent-ide/codex-rs/rmcp-client
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
..
src Stabilize RMCP streamable HTTP readiness tests (#13880) 2026-03-09 19:52:55 +00:00
tests Stabilize RMCP pid file cleanup test (#13881) 2026-03-09 10:01:34 -07:00
BUILD.bazel feat: add support for building with Bazel (#8875) 2026-01-09 11:09:43 -08:00
Cargo.toml [rmcp-client] Recover from streamable HTTP 404 sessions (#13514) 2026-03-06 10:02:42 -05:00