mirror of
https://github.com/openai/codex.git
synced 2026-05-04 21:32:21 +03:00
Motivation: The thread initialization analytics negative test should only prove that codex_thread_initialized is gated off. Failing on any analytics request makes the test brittle when unrelated analytics traffic is emitted. Summary: Disable analytics through both relevant config paths for the negative case and assert no received analytics payload contains the thread-initialized event, rather than asserting no analytics payload exists at all. Testing: - cargo test -p codex-app-server --test all thread_start_does_not_track_thread_initialized_analytics_without_feature - cargo test -p codex-app-server