Skip to content

Preserve item timestamps in thread history projections - #35689

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/2187530f489ad3d86b6ab65faaaab1eab5357f1b
Jul 28, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/2187530f489ad3d86b6ab65faaaab1eab5357f1b

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 28, 2026 •

Copy link
Copy Markdown

Preserve item timestamps in thread history projections

What changed

  • Add optional start and completion timestamps to ThreadHistoryItemChange.
  • Populate them from canonical ItemCompleted records during stateless thread history projection.
  • Treat a zero completion timestamp as absent, and leave timestamps unset for legacy builder events that do not provide them.

Testing

  • Cover projected item timestamps, including missing start times and zero completion times.

## What changed

- Add optional start and completion timestamps to `ThreadHistoryItemChange`.
- Populate them from canonical `ItemCompleted` records during stateless thread history projection.
- Treat a zero completion timestamp as absent, and leave timestamps unset for legacy builder events that do not provide them.

## Testing

- Cover projected item timestamps, including missing start times and zero completion times.

GitOrigin-RevId: 2187530f489ad3d86b6ab65faaaab1eab5357f1b
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/2187530f489ad3d86b6ab65faaaab1eab5357f1b branch from cfbf5cf to 8d6a91b Compare July 28, 2026 00:15
@copyberry
copyberry Bot merged commit 8d6a91b into main Jul 28, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/2187530f489ad3d86b6ab65faaaab1eab5357f1b branch July 28, 2026 00:16
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 28, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 8d6a91b1 Deployed Jul 28, 2026 by karanganesan via Generate label suggestions #34503
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.

2 participants