Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Summary Reproducibility: yes. Source inspection of current main shows a saved Codex binding can carry Next step before merge Security Review detailsBest possible solution: Review and merge this PR after normal CI/maintainer gating; keep stale bound-thread recovery split to #76936. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection of current main shows a saved Codex binding can carry Is this the best way to solve the issue? Yes. The latest PR head keeps the fix plugin-local, resolves native routing from the selected credential provider, preserves public OpenAI routing for non-native profiles, and adds focused regressions for custom profile ids. What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 56de90e87677. |
3e20b79 to
ac021d2
Compare
57f74d0 to
d13e3d4
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d13e3d4c73
ℹ️ 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".
d13e3d4 to
1c63f6d
Compare
9a6f5ac to
8c2a97e
Compare
8c2a97e to
37aeb96
Compare
(cherry picked from commit f45dc3168aea29030b80381dc9017e9ee7e82ba4)
37aeb96 to
f564b4f
Compare
|
Landed via rebase onto current Verification:
Landed commit: c308d04 Thanks @keshavbotagent! |
Summary
/codex bindstarts or resumes app-server threads.modelProvider: "openai"persistence for Codex-native auth.Root cause
Native Codex conversation binding could keep a sidecar with
authProfileId: openai-codex:*while writing/resuming with public OpenAI provider semantics. Fresh or resumed bound turns could therefore call the public OpenAI Responses endpoint without the Codex OAuth transport and fail with401 Missing bearer or basic authentication.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 extensions/codex/src/app-server/session-binding.test.ts extensions/codex/src/app-server/auth-bridge.test.ts extensions/codex/src/app-server/thread-lifecycle.test.ts extensions/codex/src/commands.test.ts --maxWorkers=1