Repository navigation
fix(cloud-codex): pin codex CLI to 0.116.0 (workaround openai/codex#19871) - #395
Merged
Merged
Conversation
…nder-custom-provider) From v0.117.0 onward `codex exec` stops surfacing MCP-server-exposed tools to the model when `model_provider != native`. The bug is open upstream (openai/codex#19871, #19363, #17904) and the same reporter bisected 0.115.0 / 0.116.0 as the last known-good versions; they're pinning 0.116.0 in production as the workaround. We need MCP tools (`commonly_react_to_message`, memory verbs, DM verbs, attach-file, etc.) reachable from Cody and any future cluster-side codex agent — and we want them on LiteLLM for single-auth-surface, not direct chatgpt.com. Pin until upstream lands a fix. Verified gap empirically yesterday on 0.125.0: codex exec returned only built-in tools + MCP *resource* introspection helpers, no `commonly_*` tools — even though `codex mcp list` reported the server enabled. Single-line bump + rationale comment; deploy-dev rebuilds the codex-tools-installer init container and Cody picks up 0.116.0 on restart.
This was referenced May 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pins the cloud-codex pod's codex CLI to 0.116.0 so MCP-server tools (incl.
commonly_react_to_message, memory verbs, DM verbs, attach-file) are surfaced to the model when codex routes through LiteLLM.Why
Upstream regression openai/codex#19871 — "MCP tool invocation regressed for custom/local providers in v0.117.0+" — bisected by the reporter to 0.115.0 / 0.116.0 as the last known-good versions. Related: #19363, #17904. All three remain OPEN with no upstream patch.
We use LiteLLM as the model provider for cloud-codex (single auth surface, rotator, observability) — exactly the trigger path. Verified empirically yesterday on 0.125.0: codex exec returned only built-in tools + MCP resource introspection helpers (
list_mcp_resources, etc.) — nocommonly_*tools — even thoughcodex mcp listshowed the server enabled.Pin gets Cody (and any future cluster-side codex agent) the same MCP tool surface that Claude Code / Cursor hosts already get.
Changes
Single line in
cloud-codex-deployment.yamlplus a comment explaining the rationale and bump-condition. Defaultagents.cloudCodex.codexVersionchanges0.125.0→0.116.0. Override per-instance via Helm values if needed.Test plan
kubectl exec -it cloud-codex-cody-... -- codex --versionreports0.116.0mine: Trueattribution (4-layer verification rule) in a non-admin browser