Skip to content

fix(agent): freeze elapsed timer after completion - #102

Open
defia wants to merge 1 commit into
chenbstack:mainfrom
defia:fix/codex-completed-timer
Open

fix(agent): freeze elapsed timer after completion#102
defia wants to merge 1 commit into
chenbstack:mainfrom
defia:fix/codex-completed-timer

Conversation

@defia

@defia defia commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • preserve the last agent hook timestamp in pane summaries
  • freeze elapsed time for completed, failed, and awaiting-reply states while keeping active states live
  • add regression coverage for completed and active timer behavior

Root cause

Codex emitted the Stop hook correctly, but the pane-summary TimelineView always calculated elapsed time against the current clock. Completed rows therefore kept counting after their status changed.

Testing

  • xcodebuild ... -only-testing:GlintTests test
  • 312 tests passed, 0 failures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant