Skip to content

Harden paginated history handling in the TUI - #36951

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

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

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

Harden paginated history handling in the TUI

What changed

  • Keep paginated resume, transcript, and fork workflows on bounded turn and item page requests, while preserving the legacy full-history fallback.
  • Refill underfilled terminal scrollback from older pages and show a transcript shortcut when earlier history is unloaded or truncated by the row cap.
  • Preserve a successfully created fork if its initial history hydration fails, keep side forks bounded, and retain the correct history boundary for nested forks and subagents.

Testing

  • Add coverage for scrollback refill and truncation notices, bounded paginated requests, fork hydration failures, nested forks, and inherited subagent history filtering.

## What changed

- Keep paginated resume, transcript, and fork workflows on bounded turn and item page requests, while preserving the legacy full-history fallback.
- Refill underfilled terminal scrollback from older pages and show a transcript shortcut when earlier history is unloaded or truncated by the row cap.
- Preserve a successfully created fork if its initial history hydration fails, keep side forks bounded, and retain the correct history boundary for nested forks and subagents.

## Testing

- Add coverage for scrollback refill and truncation notices, bounded paginated requests, fork hydration failures, nested forks, and inherited subagent history filtering.

GitOrigin-RevId: 10ba952ffb2f69717fbc71aa03cac7685f7dcf78
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/10ba952ffb2f69717fbc71aa03cac7685f7dcf78 branch from 033178f to 449f099 Compare August 4, 2026 19:18
@copyberry
copyberry Bot merged commit 449f099 into main Aug 4, 2026
26 of 30 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/10ba952ffb2f69717fbc71aa03cac7685f7dcf78 branch August 4, 2026 19:19
@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