Commit Graph

6 Commits

  • fix: stop building codex-exec and codex-linux-sandbox binaries (#2036)
    Release builds are taking awhile and part of the reason that we are
    building binaries that we are not really using. Adding Windows binaries
    into releases (https://github.com/openai/codex/pull/2035) slows things
    down, so we need to get some time back.
    
    - `codex-exec` is basically a standalone `codex exec` that we were
    offering because it's a bit smaller as it does not include all the bits
    to power the TUI. We were using it in our experimental GitHub Action, so
    this PR updates the Action to use `codex exec` instead.
    - `codex-linux-sandbox` was a helper binary for the TypeScript version
    of the CLI, but I am about to axe that, so we don't need this either.
    
    If we decide to bring `codex-exec` back at some point, we should use a
    separate instances so we can build it in parallel with `codex`. (I think
    if we had beefier build machines, this wouldn't be so bad, but that's
    not the case with the default runners from GitHub.)
  • fix: use aarch64-unknown-linux-musl instead of aarch64-unknown-linux-gnu (#1228)
    Now that we have published a GitHub Release that contains arm64 musl
    artifacts for Linux, update the following scripts to take advantage of
    them:
    
    - `dotslash-config.json` now uses musl artifacts for the `linux-aarch64`
    target
    - `install_native_deps.sh` for the TypeScript CLI now includes
    `codex-linux-sandbox-aarch64-unknown-linux-musl` instead of
    `codex-linux-sandbox-aarch64-unknown-linux-gnu` for sandboxing
    - `codex-cli/bin/codex.js` now checks for `aarch64-unknown-linux-musl`
    artifacts instead of `aarch64-unknown-linux-gnu` ones
  • fix: primary output of the codex-cli crate is named codex, not codex-cli (#743)
    I just got a bunch of failures in the release workflow:
    
    https://github.com/openai/codex/actions/runs/14745492805/job/41391926707
    
    along the lines of:
    
    ```
    cp: cannot stat 'target/aarch64-unknown-linux-gnu/release/codex-cli': No such file or directory
    ```
  • feat: codex-linux-sandbox standalone executable (#740)
    This introduces a standalone executable that run the equivalent of the
    `codex debug landlock` subcommand and updates `rust-release.yml` to
    include it in the release.
    
    The idea is that we will include this small binary with the TypeScript
    CLI to provide support for Linux sandboxing.
  • [codex-rs] Add rust-release action (#671)
    Taking a pass at building artifacts per platform so we can consider
    different distribution strategies that don't require users to install
    the full `cargo` toolchain.
    
    Right now this grabs just the `codex-repl` and `codex-tui` bins for 5
    different targets and bundles them into a draft release. I think a
    clearly marked pre-release set of artifacts will unblock the next step
    of testing.