Skip to content

Include start times in terminal turn events - #32263

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/75b3911b95c060e5fc1843a5e293d8fe47377186
Jul 10, 2026
Merged

Include start times in terminal turn events#32263
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/75b3911b95c060e5fc1843a5e293d8fe47377186

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 10, 2026

Copy link
Copy Markdown

Include start times in terminal turn events

What changed

  • Add an optional started_at Unix timestamp to TurnCompleteEvent and
    TurnAbortedEvent.
  • Populate the timestamp from turn timing state when a turn completes or is
    aborted.
  • Preserve the timestamp when synthesizing interrupted fork history and when
    importing external sessions.

Testing

  • Verify that interrupting a turn emits a TurnAbortedEvent with a start
    timestamp.

## What changed

- Add an optional `started_at` Unix timestamp to `TurnCompleteEvent` and
  `TurnAbortedEvent`.
- Populate the timestamp from turn timing state when a turn completes or is
  aborted.
- Preserve the timestamp when synthesizing interrupted fork history and when
  importing external sessions.

## Testing

- Verify that interrupting a turn emits a `TurnAbortedEvent` with a start
  timestamp.

GitOrigin-RevId: 75b3911b95c060e5fc1843a5e293d8fe47377186
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/75b3911b95c060e5fc1843a5e293d8fe47377186 branch from abfdcb2 to bca577d Compare July 10, 2026 20:26
@copyberry
copyberry Bot merged commit bca577d into main Jul 10, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/75b3911b95c060e5fc1843a5e293d8fe47377186 branch July 10, 2026 20:27
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants