mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
## What changed - Add critical path capture status and duration fields to `codex.turn_profile` traces. - Emit capture counts for complete and incomplete profiles, and total and component duration histograms for complete profiles, tagged by product SKU and reasoning effort. Record metrics once per turn timing state and skip disabled captures. - Extend critical path histogram boundaries up to two hours to cover long turns. ## Testing Add coverage for duplicate reporting, disabled and incomplete captures, product SKU normalization, trace fields, component durations, and extended histogram boundaries. GitOrigin-RevId: 5b1af9255f1c4a376b61c81eb68c7a74b01ae9ae