mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## Why Enabling `statsig_gates` can only load evaluations if the process starts the Statsig runtime. Several Codex entry points never started it. ## What changed Start Statsig in standalone and embedded app servers, the TUI when it connects to a separate app server, eligible `codex sandbox` launches, and local and remote exec servers. This also covers `codex exec` through its embedded app server. Use the serving or local account where applicable and installation identity for remote execution. Share the runtime with the embedded TUI and flush it on normal shutdown. ## Testing Add a CLI integration test that checks which evaluation endpoint each launch mode requests, including signed-in and signed-out sandbox launches. Supply a bundled fixture key in Bazel and nextest CI builds so the test runs. GitOrigin-RevId: 64df9933c1a9783a86be8712fa012b495f34b0f8