[bug] Codex web search fails with runtime rotation: /alpha/search is not forwarded
Summary
With runtime rotation enabled, Codex web search always fails. Codex CLI 0.165.0 runs web searches through its web.run tool, which calls POST <provider base_url>/alpha/search. The runtime rotation proxy doesn't allow that path and returns 404, so the model reports that web search is unavailable.
Reproduction
- Runtime rotation enabled (default), Codex CLI 0.165.0 launched through
codex-multi-auth-codex. codex exec --skip-git-repo-check "Use web search to find the latest stable Godot version number."- Every web search call fails.
Setting -c model_providers.codex-multi-auth-runtime-proxy.supports_standalone_web_search=false does not change anything: the model (gpt-6.1-sol) still calls alpha/search.
Expected Behavior
/alpha/search is forwarded upstream (/codex/alpha/search under the ChatGPT backend base URL) with a managed account, like thread goal requests, and web search returns results.
Actual Behavior
web search:
ERROR codex_core::tools::router: error=Fatal error: http 404 Not Found: Some("{\"error\":{\"message\":\"Runtime rotation proxy only accepts Responses API, images, transcription, model discovery, and Codex thread goal requests.\",\"code\":\"runtime_rotation_proxy_not_found\"}}\n")
Codex's log (~/.codex/logs_2.sqlite) shows the rejected request:
dispatch_tool_call_with_state:endpoint_session.execute_with{http.method=POST api.path="alpha/search"}: Request completed method=POST url=http://127.0.0.1:34365/alpha/search status=404 Not Found
The same happens in sessions started by T3 Code through codex app-server.
Environment
codex --version: codex-cli 0.165.0codex-multi-auth statusoutput summary: 4 ChatGPT OAuth accounts, all healthycodex-multi-auth rotation statusoutput summary: Runtime rotation proxy: enabled, no env override, app bind not configurednpm ls -g codex-multi-auth: [email protected]- OS: Debian 13 (trixie) in Docker, host kernel 6.19 (Fedora)
- Node.js: v24.22.2
Diagnostic Outputs
Not included: the failure is a deterministic path rejection in isResponsesPath/ALLOWED_*_PATHS in runtime-rotation-proxy, unrelated to account state.
Related: #750 (same rejection for the voice /live endpoint).
Compliance Confirmation
- [x] I am using this project for personal development workflows.
- [x] This report does not request policy bypasses or prohibited usage.
- [x] I removed any secrets/tokens from this report.