Skip to content

fix(cloud-codex): pin codex CLI to 0.116.0 (workaround openai/codex#19871) - #395

Merged
samxu01 merged 1 commit into
mainfrom
feat/codex-pin-0116
May 17, 2026
Merged

samxu01 merged 1 commit into
mainfrom
feat/codex-pin-0116

Conversation

@samxu01

@samxu01 samxu01 commented May 17, 2026

Copy link
Copy Markdown
Contributor

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.) — no commonly_* tools — even though codex mcp list showed 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.yaml plus a comment explaining the rationale and bump-condition. Default agents.cloudCodex.codexVersion changes 0.125.0 → 0.116.0. Override per-instance via Helm values if needed.

Test plan

  • Deploy Dev rebuilds the codex-tools-installer init container with the new pin
  • Cody pod restarts → kubectl exec -it cloud-codex-cody-... -- codex --version reports 0.116.0
  • Reaction smoke: @-mention Cody in a pod asking her to react with 🎉 to a target message; verify the badge lands with mine: True attribution (4-layer verification rule) in a non-admin browser
  • Open follow-up: subscribe to MCP tool invocation regressed for custom/local providers (Ollama Responses API) in v0.117.0+ openai/codex#19871; bump pin past 0.116.0 once upstream lands a fix and re-verify

…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant