mirror of
https://github.com/openai/codex.git
synced 2026-10-28 18:58:46 +00:00
## What changed - Build and bundle the standalone executor in `bin/` for both package variants, and advertise its path through `execServer` in `codex-package.json`. - Include the executor in Cargo and Bazel release packaging, macOS signing and notarization, and Windows signing verification. Preserve prebuilt signed binaries during packaging. - Make installers detect a missing advertised executor while continuing to accept older packages without it. ## Testing Add coverage for executor archive contents and executable permissions, signed binary preservation, and macOS entitlement verification. Add package smoke tests for initialization, version reporting, filesystem and process sandbox enforcement, and startup error parity with `codex exec-server`. GitOrigin-RevId: 5c0027fc19f16cf9c2a5bb52dbd065a9776bc2af
18 lines
630 B
Python
18 lines
630 B
Python
load("//:defs.bzl", "codex_rust_crate")
|
|
load("//bazel/platforms:release_binaries.bzl", "multiplatform_binaries")
|
|
load("//bazel/rules:runtime_package.bzl", "release_binary")
|
|
|
|
codex_rust_crate(
|
|
name = "exec-server-cli",
|
|
binaries_with_build_commit = ["codex-exec-server"],
|
|
crate_name = "codex_exec_server_cli",
|
|
extra_binaries = ["//codex-rs/bwrap:bwrap"],
|
|
test_data_extra = glob(["src/**/snapshots/**"]),
|
|
# The standalone integration test launches native OS sandboxes itself.
|
|
test_tags = ["no-sandbox"],
|
|
)
|
|
|
|
release_binary(binary = ":codex-exec-server")
|
|
|
|
multiplatform_binaries(name = "codex-exec-server")
|