litellm/tests/e2e_harness/codex
Yuneng Jiang b971d2a2b7
test(e2e): make Codex wait for the test's MCP server before each turn
Codex treats an MCP server that is not marked required as optional and
gives it a one-second startup grace. When the server is still starting
after that, Codex sends the turn without its tools. The Python vault
server often takes longer than that on a busy runner, so the resumed turn
went out with no read_secret tool. Claude then called the name it saw in
history, mcp__vault__read_secret, the gateway had no namespace to map it
back to, and Codex answered "unsupported call". GPT models said the tool
was unavailable instead.

Marking the server required makes Codex wait for it to start.
2026-11-23 13:09:14 -08:00
..
test_codex_harness.py test(e2e): make Codex wait for the test's MCP server before each turn 2026-11-23 13:09:14 -08:00
test_codex_rollout.py test(e2e): add a Codex row where a sub-agent must read the task its parent hands it (#50494) 2026-11-07 21:16:39 +00:00
test_codex_run.py test(e2e): add a Codex row that calls a local MCP tool on a first and a resumed turn (#49817) 2026-11-06 03:59:03 +00:00