core-agent-ide/codex-rs/rmcp-client/src
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
..
bin Stabilize RMCP streamable HTTP readiness tests (#13880) 2026-03-09 19:52:55 +00:00
auth_status.rs rmcp-client: fix auth crash (#11692) 2026-02-13 14:32:01 -08:00
lib.rs Validate CODEX_HOME before resolving (#10249) 2026-01-30 15:46:33 -08:00
logging_client_handler.rs [elicitations] Switch to use MCP style elicitation payload for mcp tool approvals. (#13621) 2026-03-06 01:50:26 -08:00
oauth.rs Validate CODEX_HOME before resolving (#10249) 2026-01-30 15:46:33 -08:00
perform_oauth_login.rs Add oauth_resource handling for MCP login flows (#12866) 2026-02-26 20:10:12 -08:00
program_resolver.rs fix: resolve Windows MCP server execution for script-based tools (#3828) 2025-11-16 13:41:10 -08:00
rmcp_client.rs [rmcp-client] Recover from streamable HTTP 404 sessions (#13514) 2026-03-06 10:02:42 -05:00
utils.rs [rmcp-client] Recover from streamable HTTP 404 sessions (#13514) 2026-03-06 10:02:42 -05:00