Repository navigation
Release superseded assistant text from live paginated history - #58751
Merged
copyberry[bot] merged 1 commit intoNov 1, 2026
Conversation
## Why Live paginated history retains completed assistant text even when summaries only need the latest message. Release older text for threads with persisted history while preserving full resume responses. ## What changed - Evict superseded assistant text from live turn state while preserving corrected items and the latest assistant message. - Restore evicted text for full resume responses from prepared history pages, fetching remaining items by ID in bounded batches. Return an error if saved text is missing. - Only load the active turn when it belongs in the requested initial page, and use the item ID index for targeted history reads. ## Testing Add reducer coverage for text eviction and corrected messages. Extend running-thread resume coverage to compare full and summary items with live notifications, exercise restoration when the prepared page lacks the active turn, and check missing-text errors. GitOrigin-RevId: 3229c0cea820f117dc6331312f1e6056a8d1d52c
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/3229c0cea820f117dc6331312f1e6056a8d1d52c
branch
from
November 1, 2026 20:10
773dea4 to
fe16bc0
Compare
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/3229c0cea820f117dc6331312f1e6056a8d1d52c
branch
November 1, 2026 20:10
iamhectorlopez
temporarily deployed
to
issue-triage
November 1, 2026 20:25 — with
GitHub Actions
Inactive
iamhectorlopez
temporarily deployed
to
issue-triage
November 1, 2026 20:25 — with
GitHub Actions
Inactive
iamhectorlopez
temporarily deployed
to
issue-triage
November 1, 2026 20:25 — with
GitHub Actions
Inactive
iamhectorlopez
temporarily deployed
to
issue-triage
November 1, 2026 20:26 — with
GitHub Actions
Inactive
aventura2xelmundo-art
temporarily deployed
to
issue-triage
November 1, 2026 20:26 — with
GitHub Actions
Inactive
aventura2xelmundo-art
temporarily deployed
to
issue-triage
November 1, 2026 20:26 — with
GitHub Actions
Inactive
aventura2xelmundo-art
temporarily deployed
to
issue-triage
November 1, 2026 20:26 — with
GitHub Actions
Inactive
energ00022
temporarily deployed
to
issue-triage
November 1, 2026 20:35 — with
GitHub Actions
Inactive
energ00022
temporarily deployed
to
issue-triage
November 1, 2026 20:35 — with
GitHub Actions
Inactive
energ00022
temporarily deployed
to
issue-triage
November 1, 2026 20:35 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release superseded assistant text from live paginated history
Why
Live paginated history retains completed assistant text even when summaries only need the latest message. Release older text for threads with persisted history while preserving full resume responses.
What changed
Testing
Add reducer coverage for text eviction and corrected messages. Extend running-thread resume coverage to compare full and summary items with live notifications, exercise restoration when the prepared page lacks the active turn, and check missing-text errors.