Repository navigation
fix(codex): restore resume compatibility and expose wire API - #415
Merged
Merged
Conversation
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. |
zpzjzj
force-pushed
the
codex/fix-codex-cli-compat
branch
from
November 16, 2026 07:26
08ca093 to
4bfc9cc
Compare
JHWang-1997
requested changes
Nov 17, 2026
JHWang-1997
left a comment
Collaborator
There was a problem hiding this comment.
Reproduced on bc6da3e with the pinned Codex 0.169.0. I ran the same eval.yaml with engine.kwargs.wire_api: responses against a local Responses endpoint through skill-up run. The PR build exited 1 with wire_api = "chat" is no longer supported and made zero provider requests. Adding KwargWireAPI to codexKwargs in a temporary build made the eval pass and send one POST /v1/responses.
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
--output-last-messageoption beforeresume.engine.kwargs.wire_api=chat|responsesfor custom providers, including OpenAI custom URLs. Preserve 0.80.0/chat defaults for existing Chat-only endpoints; built-in OpenAI without a custom URL is unchanged.Related PRs / Origin
c0c15d3, merged July 8, 2026) introduced the invalid resume option ordering. Codex 0.80.0 itself supports multi-turn; this was a pre-existing skill-up adapter bug, not a recent CLI regression.47c6b4a;7662082extended it to OpenAI custom URLs.Regression Coverage
--output-last-messageparser error, restores fixed source using an EXIT trap, then requires the test to pass.Live DashScope Coverage
codexsuite: modern 0.169.0/responses first, plus legacy 0.80.0/chat. Real inference must recall a random first-turn token without repeating it in the second prompt.codex_base_urlandcodex_modelselect the endpoint/model. The summary now waits for the Codex matrix and propagates failures.352ce9e). This establishes compatibility for that tested configuration, not every endpoint/model/plan/key.Verification
352ce9e).e0213ffonly adds Codex to the manual-workflow summary dependencies/result checking. YAML parsing and locally simulated success/failure summary cases pass. Regression patch applicability and changed shell syntax were checked.Deterministic fixture tests validate CLI parsing, protocols, and persisted outgoing history, not real inference or full Skills/judges workflows. Live-model checks remain manual and separate from deterministic merge gates.