Repository navigation
fix(codex): wait for background cleanup before stable cold resume - #188170
Merged
Merged
Conversation
Backport of #187776 adapted to the release branch thread-state split after stable FRV exposed the Codex 0.164.0 active-writer race. (cherry picked from commit 4dc8e71) Co-authored-by: Ayaan Zaidi <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
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.
Summary
Backport #187776 to the 2026.10.10 stable candidate, adapted to the release branch's existing thread-state split.
The first stable FRV exposed the Codex 0.164.0 active-writer race in two native app-server harness cases: https://github.com/openclaw/openclaw/actions/runs/41020641429/job/123947794620
This waits for background-only protected work to settle before a cold resume, rechecks current client and authority state, and retains refusal for foreground or sibling work. Nothing is force-released.
Scope
This is a minimal validation repair for the required Codex 0.164.0 bump. It does not expand stable release scope.
Validation
git diff --check: passedpnpm changelog:check: passedpnpm release:prepare -- --version 2026.10.10 --check --json: passedUpstream authorship and credit are preserved in the commit and release notes.