litellm/tests/e2e/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
..
__init__.py test(e2e): drive the Codex CLI through LiteLLM, command round trip (#49374) 2026-11-02 17:32:16 -08:00
conftest.py test(e2e): drive the Codex CLI through LiteLLM, command round trip (#49374) 2026-11-02 17:32:16 -08:00
harness.py test(e2e): make Codex wait for the test's MCP server before each turn 2026-11-23 13:09:14 -08:00
mcp_server.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
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
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
setups.py fix(e2e): restore main qualification across providers and UI (#49763) 2026-11-03 20:38:47 +00:00
test_auto_compaction_e2e.py test(e2e): add Codex file edit, long session and auto-compaction rows through LiteLLM (#49386) 2026-11-03 01:52:29 +00:00
test_command_round_trip_e2e.py test(e2e): drive the Codex CLI through LiteLLM, command round trip (#49374) 2026-11-02 17:32:16 -08:00
test_file_edit_e2e.py test(e2e): add Codex file edit, long session and auto-compaction rows through LiteLLM (#49386) 2026-11-03 01:52:29 +00:00
test_long_session_e2e.py test(e2e): add Codex file edit, long session and auto-compaction rows through LiteLLM (#49386) 2026-11-03 01:52:29 +00:00
test_mcp_tool_e2e.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
test_subagent_e2e.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