Skip to content

Default durable threads to paginated history - #40677

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c94b6a3b522049d541da33c41618c4142370f1a7
Aug 25, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

Default durable threads to paginated history

What changed

When thread/start omits historyMode, select paginated for durable
threads whose store supports thread/turns/list and thread/items/list.
Continue to default ephemeral threads and threads backed by stores without
those APIs to legacy.

Explicit legacy and paginated selections keep their existing behavior.

Testing

  • Verify durable threads use paginated history with the local store.
  • Verify ephemeral threads and stores without history-list support use legacy
    history.

## What changed

When `thread/start` omits `historyMode`, select `paginated` for durable
threads whose store supports `thread/turns/list` and `thread/items/list`.
Continue to default ephemeral threads and threads backed by stores without
those APIs to `legacy`.

Explicit `legacy` and `paginated` selections keep their existing behavior.

## Testing

- Verify durable threads use paginated history with the local store.
- Verify ephemeral threads and stores without history-list support use legacy
  history.

GitOrigin-RevId: c94b6a3b522049d541da33c41618c4142370f1a7
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c94b6a3b522049d541da33c41618c4142370f1a7 branch from 2a6d320 to 17c4c47 Compare August 25, 2026 19:11
@copyberry
copyberry Bot merged commit 17c4c47 into main Aug 25, 2026
21 of 26 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c94b6a3b522049d541da33c41618c4142370f1a7 branch August 25, 2026 19:12
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 25, 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.

1 participant