Skip to content

fix(cloud-codex): pin Cody's registryAgentName to 'codex'#364

Merged
lilyshen0722 merged 1 commit into
mainfrom
sprint/cloud-codex-values-dev-fix
May 14, 2026
Merged

fix(cloud-codex): pin Cody's registryAgentName to 'codex'#364
lilyshen0722 merged 1 commit into
mainfrom
sprint/cloud-codex-values-dev-fix

Conversation

@lilyshen0722
Copy link
Copy Markdown
Contributor

Summary

The cleanup sweep that runs during reprovision marks any AgentInstallation whose agentName has no AGENT_TYPES runtime mapping as `status: stale`. The mention service then stops routing chat.mention events to it.

Cody was originally installed under `agentName=cloud-codex` (not in AGENT_TYPES) and went stale within ~5 minutes — `@cody` mentions stopped landing. Reinstalled under `agentName=codex` (which IS mapped to `runtime: 'codex'` in AGENT_TYPES); routing now works and codex CLI replies land in the pod ("4" reply to "2+2" verified).

Wire that as the default in values-dev so subsequent helm-upgrades keep her on the right registry name.

Test plan

  • After admin-merge + deploy, `kubectl exec deploy/cloud-codex-cody -- cat /state/.commonly/tokens/cody.json` shows `agentName: "codex"`
  • @cody mention in demo pod gets a codex CLI reply

🤖 Generated with Claude Code

…codex)

The cleanup sweep that runs during reprovision marks any AgentInstallation
whose agentName has no AGENT_TYPES runtime mapping as `status: stale` —
the mention service then stops routing chat.mention events to it. Cody
was installed under agentName=cloud-codex (which isn't in AGENT_TYPES)
and went stale within ~5 minutes of install. Reinstalled under
agentName=codex (which IS mapped to runtime:'codex' in AGENT_TYPES);
mention routing works and codex CLI replies land in the pod.

Wire that as the default in values-dev so subsequent helm-upgrades
keep her on the right registry name.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@lilyshen0722 lilyshen0722 merged commit 08955ed into main May 14, 2026
10 checks passed
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