Skip to content

[codex] bundle code mode host in release packages - #30202

Merged
cconger merged 5 commits into
mainfrom
cconger/bundle-code-mode-host
Jul 6, 2026
Merged

[codex] bundle code mode host in release packages#30202
cconger merged 5 commits into
mainfrom
cconger/bundle-code-mode-host

Conversation

@cconger

@cconger cconger commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • build, strip, sign, and publish codex-code-mode-host with the primary Codex release binaries on Linux, macOS, and Windows
  • place the host beside codex[.exe] in canonical package archives, macOS DMGs, and the legacy Linux bundle so the runtime's sibling lookup succeeds
  • preserve and validate the host through standalone installers and Python runtime wheel staging
  • add package-builder coverage for source selection and the resulting package layout

Why

The process-owned code-mode client launches codex-code-mode-host as a sibling of the running Codex executable. Release artifacts currently build and bundle codex without that host, so code mode cannot start from installed packages.

@cconger
cconger force-pushed the cconger/bundle-code-mode-host branch from 226d0ce to 2df2f3a Compare July 6, 2026 18:52
@cconger
cconger marked this pull request as ready for review July 6, 2026 18:52
@cconger
cconger requested a review from a team as a code owner July 6, 2026 18:53
Comment thread scripts/codex_package/layout.py Outdated
Comment thread scripts/codex_package/layout.py Outdated
mkdir -p "$dest"

for binary in ${{ matrix.binaries }}; do
if [[ "${{ matrix.bundle }}" == "app-server" && "$binary" == "codex-code-mode-host" ]]; then

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: this could use a comment explaining why we need to do this, same below

@cconger
cconger merged commit 3f61570 into main Jul 6, 2026
35 checks passed
@cconger
cconger deleted the cconger/bundle-code-mode-host branch July 6, 2026 23:58
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants