Repository navigation
Fix Codex bound thread recovery after restarts - #76936
Conversation
84655d1 to
562d040
Compare
|
Codex review: needs maintainer review before merge. Summary Reproducibility: yes. by source inspection, not live execution. Current main sends the stale sidecar Next step before merge Security Review detailsBest possible solution: Land this focused Codex plugin fix after maintainer review and CI, keeping recovery local to conversation binding and preserving persisted sidecar metadata. Do we have a high-confidence way to reproduce the issue? Yes by source inspection, not live execution. Current main sends the stale sidecar Is this the best way to solve the issue? Yes. Recreating the missing app-server thread once inside the Codex binding path, while preserving auth/profile and turn overrides, is the narrowest maintainable fix for this failure mode. What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 978bc53e80cc. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 84655d1a30
ℹ️ 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".
562d040 to
de93585
Compare
de93585 to
ef5f35b
Compare
ef5f35b to
01b1c6e
Compare
|
Addressed the remaining review/security finding from the latest sweep in Changes on PR #76936:
Verified:
|
01b1c6e to
cf0c1ed
Compare
|
Landed via rebase onto main.
Thanks @keshavbotagent! |
Summary
/codex bindapp-server thread references after gateway/app-server restarts.thread not found, recreate the app-server thread from the saved binding metadata and retry the turn once.Notes
This is split out from #76714 so that PR stays focused on Codex OAuth/auth routing.
Tests
node scripts/check-changelog-attributions.mjs CHANGELOG.mdOPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.extensions.config.ts extensions/codex/src/conversation-binding.test.ts --maxWorkers=1pnpm build