Skip to content

Add an optional releases.openai.com installer source - #34514

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/48c57d3377fbc6b0903570c665041bb465ca6f4c
Jul 21, 2026
Merged

Add an optional releases.openai.com installer source#34514
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/48c57d3377fbc6b0903570c665041bb465ca6f4c

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 21, 2026

Copy link
Copy Markdown

Add an optional releases.openai.com installer source

What changed

  • Let the shell and PowerShell installers resolve metadata and download assets from releases.openai.com when CODEX_INSTALLER_USE_RELEASES_OPENAI_COM is enabled.
  • Fall back to GitHub Releases when metadata or asset downloads from the alternate source are unavailable.
  • Verify that an installed or cached Codex binary reports the resolved version before activating it.

Testing

  • Cover latest-release installation, asset fallback, mismatched binary versions, and reuse of a cached legacy package in the shell installer tests.
## What changed

- Let the shell and PowerShell installers resolve metadata and download assets from `releases.openai.com` when `CODEX_INSTALLER_USE_RELEASES_OPENAI_COM` is enabled.
- Fall back to GitHub Releases when metadata or asset downloads from the alternate source are unavailable.
- Verify that an installed or cached Codex binary reports the resolved version before activating it.

## Testing

- Cover latest-release installation, asset fallback, mismatched binary versions, and reuse of a cached legacy package in the shell installer tests.

GitOrigin-RevId: 48c57d3377fbc6b0903570c665041bb465ca6f4c
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/48c57d3377fbc6b0903570c665041bb465ca6f4c branch from 83ed659 to 765675a Compare July 21, 2026 10:39
@copyberry
copyberry Bot merged commit 765675a into main Jul 21, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/48c57d3377fbc6b0903570c665041bb465ca6f4c branch July 21, 2026 10:41
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants