Skip to content

Avoid legacy transcript reads in the agents overview - #61709

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/85130adda155c5ea93c5a5c2b3f89a945170ba51
Nov 16, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Avoid legacy transcript reads in the agents overview

Why

Listing even one turn of a legacy thread replays its entire rollout. Overview refreshes should avoid that work just to populate previews.

What changed

  • Fetch saved prompt and reply previews only for threads with paginated history.
  • Update legacy prompt previews from user-message notifications and preserve them across refreshes and reverts.
  • Retain the latest observed reply preview when a thread closes.

Testing

Extend overview tests to reject legacy turn-list requests, verify paginated previews, preserve live prompts across stale refreshes and reverts, and retain reply previews after thread closure.

## Why

Listing even one turn of a legacy thread replays its entire rollout. Overview refreshes should avoid that work just to populate previews.

## What changed

- Fetch saved prompt and reply previews only for threads with paginated history.
- Update legacy prompt previews from user-message notifications and preserve them across refreshes and reverts.
- Retain the latest observed reply preview when a thread closes.

## Testing

Extend overview tests to reject legacy turn-list requests, verify paginated previews, preserve live prompts across stale refreshes and reverts, and retain reply previews after thread closure.

GitOrigin-RevId: 85130adda155c5ea93c5a5c2b3f89a945170ba51
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/85130adda155c5ea93c5a5c2b3f89a945170ba51 branch from e277aea to b048d4a Compare November 16, 2026 00:03
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-16T00:03:44.406116Z e277aea PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit b048d4a into main Nov 16, 2026
10 of 18 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/85130adda155c5ea93c5a5c2b3f89a945170ba51 branch November 16, 2026 00:03
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 16, 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