fix(codex): expose code-mode host alongside the CLI - #1155
Open
fdobrovolny wants to merge 1 commit into
Open
fdobrovolny wants to merge 1 commit into
fdobrovolny wants to merge 1 commit into
Conversation
35C4n0r
self-requested a review
October 1, 2026 17:41
fdobrovolny
force-pushed
the
fix/codex-code-mode-host-path
branch
from
October 2, 2026 00:59
7e06a5c to
655f9f7
Compare
Link the standalone code-mode helper into the CLI and Coder script bin directories while preserving the active release symlink across upgrades. Create fixture directories before writing mock binaries in the regression test. Refs: openai/codex#31831
fdobrovolny
force-pushed
the
fix/codex-code-mode-host-path
branch
from
October 2, 2026 01:05
655f9f7 to
409a462
Compare
Author
|
@35C4n0r Sorry for the issue, test is now fixed. |
fdobrovolny
commented
Oct 2, 2026
Comment on lines
+294
to
+299
| const created = await execContainer(id, [ | ||
| "mkdir", | ||
| "-p", | ||
| `${root}/${version}/bin`, | ||
| ]); | ||
| expect(created.exitCode, created.stderr).toBe(0); |
Author
There was a problem hiding this comment.
This was added to fix the issue.
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.
Link the standalone code-mode helper into the CLI and Coder script bin directories when present. Preserve the current release symlink so upgrades also update the helper, and retain compatibility with older releases.
Description
Codex refuses to run any command as
codex-code-mode-hostis missing.Type of Change
Module Information
Path:
registry/coder-labs/modules/codexNew version:
v5.4.2Breaking change: [ ] Yes [X] No
Template Information
Path:
registry/coder-labs/modules/codex/main.test.tsTesting & Validation
bun test)bun fmt)Related Issues
openai/codex#31831