mirror of
https://github.com/openai/codex.git
synced 2026-11-17 22:10:37 +00:00
## What changed - Inject the current span's W3C trace headers into WebSocket handshakes. - Promote `startup_prewarm` to an info span and fall back to the current span when it is disabled, preserving trace context in the spawned task. ## Testing Add a regression test for `traceparent` and `tracestate` propagation through the handshake, prewarm request, and subsequent turn on the same connection. Verify that prewarm uses the startup trace while the turn uses its own trace, with the prewarm span both enabled and filtered out. GitOrigin-RevId: 1e196e132a1991206469060ab80a474857fa7909