Commit Graph

2 Commits

Author SHA1 Message Date
Eric Burke
45eec73b11 Add opt-in provisioned macOS CLI release candidates (#44307)
## What changed

- Add a tag-release workflow gated by `CODEX_PROVISIONED_MACOS_CANDIDATE` for Apple Silicon and Intel macOS candidate artifacts.
- Package the CLI in `CodexCLI.app` with an embedded provisioning profile and a relocatable `bin/codex` launcher. Validate independently supplied profile, certificate, and team expectations before signing.
- Sign and notarize candidates, then verify signatures, entitlements, architecture, stapling, and Gatekeeper acceptance on macOS. Retain verified artifacts after package smoke tests pass.
- Filter code-mode smoke-test requests to `/v1/responses` so analytics requests are excluded from response parsing.

## Testing

Add tests for profile validation, launcher relocation and symlink handling, standard and provisioned signing flows, and rejection of signing, notarization, identity, and entitlement failures. The candidate workflow runs package smoke tests, including sandboxed code mode.

GitOrigin-RevId: f214f6a23dd10df62cd72a2c63c20cb0864fbc9c
2026-09-09 21:28:49 +00:00
Adam Perry @ OpenAI
ad32eba832 Add smoke tests for assembled Codex packages (#40292)
## What changed

Add a cross-platform pytest suite that extracts the CLI and app-server
archives and verifies:

- common CLI discovery commands;
- code-mode execution through both packaged entrypoints, including use of each
  package's bundled `rg`; and
- the presence and usability of packaged debug symbols on Linux, macOS, and
  Windows.

The suite accepts gzip or zstd package archives and isolates its Codex
configuration and state from the invoking environment.

GitOrigin-RevId: 25e517d349242c9f6226e95ef41e37a783e2373f
2026-08-23 23:26:06 +00:00