Skip to content

Paginate transcript history in the TUI - #36948

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/42160b943a9f6a1ba0cfe4b195c24ddf410b747d
Aug 4, 2026
Merged

Paginate transcript history in the TUI#36948
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/42160b943a9f6a1ba0cfe4b195c24ddf410b747d

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 4, 2026

Copy link
Copy Markdown

Paginate transcript history in the TUI

Why

Paginated threads should not require the TUI to load and render their entire
history when a session is resumed.

What changed

  • Hydrate a bounded initial history page for paginated resumes and forks,
    respecting the configured terminal reflow row budget.
  • Load older transcript items in the background as users navigate upward, while
    preserving the viewport, live output, and backtrack selection.
  • Reconcile review-mode prompts across page boundaries and keep restored token
    usage hidden until it can be attributed to a persisted turn.

Testing

  • Added coverage for paginated resume and fork hydration, older-page merging,
    transcript prepending, backtrack behavior, review prompt filtering, and token
    usage restoration.

## Why

Paginated threads should not require the TUI to load and render their entire
history when a session is resumed.

## What changed

- Hydrate a bounded initial history page for paginated resumes and forks,
  respecting the configured terminal reflow row budget.
- Load older transcript items in the background as users navigate upward, while
  preserving the viewport, live output, and backtrack selection.
- Reconcile review-mode prompts across page boundaries and keep restored token
  usage hidden until it can be attributed to a persisted turn.

## Testing

- Added coverage for paginated resume and fork hydration, older-page merging,
  transcript prepending, backtrack behavior, review prompt filtering, and token
  usage restoration.

GitOrigin-RevId: 42160b943a9f6a1ba0cfe4b195c24ddf410b747d
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/42160b943a9f6a1ba0cfe4b195c24ddf410b747d branch from 050cd10 to 8bfa49e Compare August 4, 2026 19:00
@copyberry
copyberry Bot merged commit 8bfa49e into main Aug 4, 2026
22 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/42160b943a9f6a1ba0cfe4b195c24ddf410b747d branch August 4, 2026 19:01
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 4, 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