Skip to content

[app-server] speed up thread resume without deferred repair#29357

Draft
anaiskillian wants to merge 5 commits into
anais/thread-storage-metadata-foundationfrom
anais/thread-resume-history-fast-path
Draft

[app-server] speed up thread resume without deferred repair#29357
anaiskillian wants to merge 5 commits into
anais/thread-storage-metadata-foundationfrom
anais/thread-resume-history-fast-path

Conversation

@anaiskillian

Copy link
Copy Markdown
  • This pr speeds up local thread/resume by parsing plain rollout files on a blocking worker, reusing loaded history, and avoiding duplicate history clones and reads. It supersedes the thread/resume portion of [app-server] improve thread list and resume rpc paths #28801 and is stacked on [thread store] separate thread names and repair ownership #29352.

  • Resume metadata is derived from the already-loaded history before persistence opens, so a later append cannot replay stale history metadata after an explicit rename. Cold, running, metadata-only, token-usage, and rename-then-turn resume coverage preserves the existing RPC behavior.

@anaiskillian

Copy link
Copy Markdown
Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: c655f3796d

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@anaiskillian anaiskillian force-pushed the anais/thread-resume-history-fast-path branch from c655f37 to 9113fa5 Compare June 21, 2026 18:47
@anaiskillian

Copy link
Copy Markdown
Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 9113fa51eb

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@anaiskillian anaiskillian force-pushed the anais/thread-resume-history-fast-path branch from 9113fa5 to 39f9868 Compare June 21, 2026 19:01
@anaiskillian

Copy link
Copy Markdown
Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 39f9868c62

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@anaiskillian anaiskillian force-pushed the anais/thread-resume-history-fast-path branch from 39f9868 to 8f7f8a0 Compare June 21, 2026 22:22
@anaiskillian anaiskillian force-pushed the anais/thread-storage-metadata-foundation branch from 11cf96d to 7ddcf58 Compare June 21, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant