Skip to content

Publish standalone installer release archives#18910

Open
efrazer-oai wants to merge 2 commits intomainfrom
efrazer/standalone-installer-artifacts
Open

Publish standalone installer release archives#18910
efrazer-oai wants to merge 2 commits intomainfrom
efrazer/standalone-installer-artifacts

Conversation

@efrazer-oai
Copy link
Copy Markdown
Contributor

@efrazer-oai efrazer-oai commented Apr 22, 2026

Summary

This PR adds release files that are made for the standalone installer.

This PR publishes those files during the Rust release:

  • codex-standalone-<platform>-<version>.tar.gz
  • codex-installer_SHA256SUMS

Each standalone archive has the layout the installer needs directly. It contains codex, rg, and the Windows helper binaries where needed.

Stack

  1. Publish standalone installer release archives #18910, this PR: publish standalone installer archives and their checksum file.
  2. Install standalone archives with checksum verification #18901: make the Unix and Windows installers download those archives and verify them before install.

Tests

Tests: formatter check, Python compile checks, standalone archive staging smoke covering all six platform archives, and archive content checks for macOS and Windows layouts.

@efrazer-oai
Copy link
Copy Markdown
Contributor Author

@codex review

Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3f2ce43a02

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/stage_standalone_installer_archives.py Outdated
Comment thread scripts/stage_standalone_installer_archives.py Outdated
--package codex-responses-api-proxy \
--package codex-sdk
--package codex-sdk \
--standalone-output-dir dist/installer
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't really love that this is a "feature" of the npm stuff rather than its own step. Can we assemble the right args so that stage_standalone_installer_archives.py is called in its own step? Would it be materially less efficient for some reason?



REPO_ROOT = Path(__file__).resolve().parent.parent
BUILD_SCRIPT = REPO_ROOT / "codex-cli" / "scripts" / "build_npm_package.py"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Again, I don't think this should be conflated with what we are doing in npm. Or if anything, this should be the source of truth and npm should depend on this?

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.

2 participants