Files
codex/codex-rs/app-server/tests/suite/v2
Ruslan Nigmatullin 3cd3d78454 app-server: assert disabled analytics event precisely
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
2026-04-09 23:11:57 -07:00
..