mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## Why Replaying an in-progress turn reset the TUI's `Working` timer to zero, hiding time already spent on the turn. ## What changed Initialize the status timer from the turn's `started_at` timestamp when replaying turns or turn-start notifications. Keep the zero-time fallback when the timestamp is missing, and clamp future timestamps to zero elapsed time. ## Testing Extend history replay tests to verify elapsed time for both thread snapshots and replayed in-progress turns, and normalize the timer in rendering snapshots. GitOrigin-RevId: 36a48f43d0d7aa530f1bfe6dbefa9f0885cbd6c7