Repository navigation
Recover saved executor selections on cold resume - #13
Merged
Merged
Conversation
friel-openai
marked this pull request as ready for review
November 9, 2026 12:04
Codex Review Summary: ✅ CompletedThis 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. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
Cold
thread/resumemust restore the thread's saved executor selection.Reconstructing that selection from the current registry can contact executors
the thread did not choose. A stalled secondary can also delay project
instruction discovery.
Behavior
instructions found during bounded startup discovery.
checkpoint without that provenance does not authorize dropping an executor
or its instructions.
cold resume with a local primary. The exception does not change the saved
selection. A reviewed
turn/start.environmentson the user's next authorizedturn can save a new selection so ordinary cold resumes work afterward.
thread/readstill reads persisted messages without loading an executor.An unavailable required executor still prevents loading the runtime. The
integration test covers ordinary RPCs, not a Desktop UI.
Compatibility
The public stable schemas and Python SDK are unchanged. The new internal
checkpoint field is optional; a missing field keeps the saved assignments
required.
optionalEnvironmentIdsrequires experimental API opt-in.Verification
without loading the thread, rejection of a turn before load, a reviewed
recovery turn, and ordinary resume and continuation after normal unload.
The excluded executors receive no requests during repair or continuation.
passed. The selector adds only the new app-server case.
Codex Task:
codex://threads/01a029f4-9863-7523-be3e-864bebe4187a