Skip to content

fix(codex): use official standalone installer - #1106

Merged
DevelopmentCats merged 2 commits into
coder:mainfrom
Edd88-pixel:eddy/codex-installer-1103
Sep 9, 2026
Merged

DevelopmentCats merged 2 commits into
coder:mainfrom
Edd88-pixel:eddy/codex-installer-1103

Conversation

@Edd88-pixel

@Edd88-pixel Edd88-pixel commented Sep 8, 2026 •

Copy link
Copy Markdown
Collaborator

Why

The module downloads only the bare Codex executable from GitHub releases. Starting with Codex 0.153.0, that omits the companion codex-code-mode-host and bundled rg, so Code Mode is unavailable and exec-tool calls fail closed.

Changes

  • Install Codex through the official standalone installer so the CLI, Code Mode host, bundled ripgrep, and supporting resources stay together.
  • Forward the configured version, installation directory, and non-interactive mode through the installer's documented environment variables.
  • Bump the module examples from 5.3.2 to 5.4.0.

Type of Change

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

Module Information

Path: registry/coder-labs/modules/codex
New version: v5.4.0
Breaking change: [ ] Yes [x] No

Related Issues

Closes #1103.

@Edd88-pixel
Edd88-pixel marked this pull request as ready for review September 8, 2026 10:29
@Edd88-pixel

Copy link
Copy Markdown
Collaborator Author

@matifali can you take a look ?

@matifali
matifali requested review from 35C4n0r and matifali September 9, 2026 14:20

@matifali matifali left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. One suggestion on bumping the minor version. as the module now needs to call a different upstream URL to get the installer.

It changed from github.com → chatgpt.com

@DevelopmentCats DevelopmentCats added the version:minor Add to PRs requiring a minor version upgrade label Sep 9, 2026
@DevelopmentCats DevelopmentCats added version:minor Add to PRs requiring a minor version upgrade and removed version:minor Add to PRs requiring a minor version upgrade labels Sep 9, 2026
@DevelopmentCats
DevelopmentCats merged commit bd1d84a into coder:main Sep 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version:minor Add to PRs requiring a minor version upgrade

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(coder-labs/codex): install.sh misses codex-code-mode-host, breaking codex >= 0.153 exec tool

3 participants