Skip to content

fix(registry/coder-labs/modules/codex): align variable names with claude-code v5#885

Merged
DevelopmentCats merged 1 commit into
mainfrom
cat/claude-code-v5-fixes
May 5, 2026
Merged

fix(registry/coder-labs/modules/codex): align variable names with claude-code v5#885
DevelopmentCats merged 1 commit into
mainfrom
cat/claude-code-v5-fixes

Conversation

@DevelopmentCats
Copy link
Copy Markdown
Collaborator

@DevelopmentCats DevelopmentCats commented May 5, 2026

Aligns codex module variable names with the claude-code v5 conventions established in #861 and #879.

  • Rename additional_mcp_servers to mcp to match claude-code's variable name.
  • Change codex_version default from "" to "latest" to match claude_code_version.

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/coder-labs/modules/codex
Breaking change: [x] Yes [ ] No

Warning

Breaking change for anyone referencing additional_mcp_servers by name. Since v5.0.0 was released and deleted on the same day (#879), this should have zero downstream impact.

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally

Related Issues


This PR was authored by Coder Agents.

…ude-code v5

- Rename additional_mcp_servers to mcp to match claude-code's naming.
- Change codex_version default from empty string to "latest" to match
  claude_code_version.
@DevelopmentCats DevelopmentCats marked this pull request as ready for review May 5, 2026 17:02
Copilot AI review requested due to automatic review settings May 5, 2026 17:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns the coder-labs/codex module’s MCP input naming with the newer claude-code convention and updates the Codex version default to use "latest" semantics. In this codebase, that mainly affects the module interface, install script template arguments, usage docs, and the script-level test fixture.

Changes:

  • Renames the module input and install-script template variable from additional_mcp_servers to mcp.
  • Changes codex_version’s default from "" to "latest" and simplifies its description.
  • Updates the README example and the Bun test fixture to use the renamed input.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
registry/coder-labs/modules/codex/scripts/install.sh.tftpl Swaps the decoded template argument and config append logic to read ARG_MCP.
registry/coder-labs/modules/codex/README.md Updates the advanced usage example to pass mcp.
registry/coder-labs/modules/codex/main.tf Renames the public Terraform variable and changes the default Codex version behavior.
registry/coder-labs/modules/codex/main.test.ts Updates the MCP-related test setup to use the new input name.

Comment thread registry/coder-labs/modules/codex/main.tf
@DevelopmentCats DevelopmentCats requested a review from matifali May 5, 2026 17:13
@DevelopmentCats DevelopmentCats merged commit 6b8d89d into main May 5, 2026
8 checks passed
@DevelopmentCats DevelopmentCats deleted the cat/claude-code-v5-fixes branch May 5, 2026 17:31
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.

3 participants