mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
d3e6680531
This makes the test less flaky by checking the core invariant instead of the full span chain. Before, the test waited for several specific internal spans (`submission_dispatch`, `session_task.turn`, `run_turn`) and asserted their exact relationships. That was brittle because those spans are exported asynchronously and are more of an implementation detail than the thing we actually care about. Now, the test only checks that: - `turn/start` is on the expected remote trace with the expected remote parent - at least one representative core turn span on that same trace descends from it That keeps the sanity-check we want while making the test less sensitive to timing and internal refactors.
d3e6680531
ยท
2026-03-12 12:16:56 -07:00
History