Skip to content

Support legacy views for paginated thread history#34085

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e340f44d631ce135895c95d7e1baa7bfecd86e71
Jul 19, 2026
Merged

Support legacy views for paginated thread history#34085
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e340f44d631ce135895c95d7e1baa7bfecd86e71

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 19, 2026

Copy link
Copy Markdown

Support legacy views for paginated thread history

Why

Clients that use full-history resume or request full items in turn pages should
work consistently across legacy and paginated threads.

What changed

  • Materialize complete turns and items from the paginated projection for
    thread/resume and thread/turns/list when requested.
  • Support initialTurnsPage during paginated resume, including merging a live
    active turn while preserving the requested page size and cursors.
  • Keep metadata-only resume behavior and backwards cursors available through
    excludeTurns: true.

Testing

  • Extend app-server coverage for full paginated history, full item views, and
    initial resume pages on running threads.

## Why

Clients that use full-history resume or request full items in turn pages should
work consistently across legacy and paginated threads.

## What changed

- Materialize complete turns and items from the paginated projection for
  `thread/resume` and `thread/turns/list` when requested.
- Support `initialTurnsPage` during paginated resume, including merging a live
  active turn while preserving the requested page size and cursors.
- Keep metadata-only resume behavior and backwards cursors available through
  `excludeTurns: true`.

## Testing

- Extend app-server coverage for full paginated history, full item views, and
  initial resume pages on running threads.

GitOrigin-RevId: e340f44d631ce135895c95d7e1baa7bfecd86e71
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e340f44d631ce135895c95d7e1baa7bfecd86e71 branch from b30aa62 to 0fb559f Compare July 19, 2026 00:03
@copyberry
copyberry Bot merged commit 0fb559f into main Jul 19, 2026
32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e340f44d631ce135895c95d7e1baa7bfecd86e71 branch July 19, 2026 00:04
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 19, 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.