Repository navigation
chore: bump codex_version to 0.157.0 - #1432
Merged
Merged
Conversation
This was referenced Sep 26, 2026
max-sixty
pushed a commit
that referenced
this pull request
Sep 27, 2026
Moves `codex_version` from 0.157.0 to 0.157.1 in both `codex/action.yaml` and `codex/refresh/action.yaml`, npm's current `latest` dist-tag. The [0.157.1 release notes](https://github.com/openai/codex/releases/tag/rust-v0.157.1) are empty, so I diffed the full trees of the two tags ([`00c972e`](https://github.com/openai/codex/tree/00c972ed5d6ff6499317fd41b7f23605b8e6850d) → [`3665039`](https://github.com/openai/codex/tree/36650394c5b38c2990ccf2a3457165ca3e9d9726)) instead. Only ten files changed. Apart from the version bump in `codex-rs/Cargo.toml`, each change is either Windows-only process spawning (stdio inheritance in the app-server daemon, plus `CREATE_NO_WINDOW` for child processes, all under `cfg(windows)`) or test code. **The refresh path is unchanged.** The blob-level diff of `codex-rs/login/` between the two tags is empty, so the unparsable-access-token fall-through to `last_refresh` and the refresh-token-only grant that `codex/refresh` relies on behave as they did at 0.157.0. #1432 verified those against the 0.157.0 source. As with that bump, I didn't run the isolated Plus/Pro end-to-end refresh, because this session has no such login. **Headless surfaces are unchanged.** `plugin_cmd.rs` is the same blob and still [prints `Installed plugin root:`](https://github.com/openai/codex/blob/36650394c5b38c2990ccf2a3457165ca3e9d9726/codex-rs/cli/src/plugin_cmd.rs#L215). The model catalog (`codex-rs/models-manager/models.json`) is also byte-identical, so the default `gpt-5.6-sol` doesn't move here. #1397 still carries the proposed move to `gpt-6-sol`. CI's `test-codex-surface` job installs the new pin and asserts the CLI surface. Local checks: `uv run pytest generator/tests` passes except the two `test_refresh_consumers.py` tests, which need network that the sandbox doesn't have (DNS). Co-authored-by: tend-agent <[email protected]>
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.
Moves
codex_versionfrom 0.156.0 to 0.157.0 in bothcodex/action.yamlandcodex/refresh/action.yaml, npm's currentlatestdist-tag. The window also crosses 0.156.1, a single hotfix that adds GPT-6 Sol and Luna to the model picker; 0.157.0 carries the same catalog change plus the rest. No test pins the version (the one0.156.0hit ingenerator/tests/test_repo_pins.pyis a comment about when a warning was removed, and stays accurate).Both refresh properties the refresh action depends on hold at 0.157.0.
codex-rs/loginchanged in 18 blobs, and every change on the ChatGPT refresh path adds handling for a new "application network policy" denial without altering the request or the refresh decision:should_refresh_proactivelyinauth/manager.rsis byte-identical across the two tags. An access tokenparse_jwt_expirationcan't read still falls through tolast_refresh < now - TOKEN_REFRESH_INTERVAL, which is whatstage_refresh'stend-forces-refresh/1970-01-01staging relies on.manager.rs#L1643is stillOAuthClient::refresh(RefreshTokenGrant { refresh_token, resource: None }), andoauth/client.rssends onlygrant_type=refresh_token,client_id, andrefresh_token; the old access token is not a parameter. Error classification (401 /invalid_grant400 → permanent, transport → transient) is unchanged apart from a newPolicyvariant that keeps the cached auth instead of failing.The new policy is inert for tend: it is
Restrictedonly when admin requirements (requirements.tomlor a workspace cloud-config bundle) setnetwork.enabled, and tend configures neither.Nothing in the release changes the headless surfaces tend drives. Automatic background-server startup (openai/codex#47179) and model-migration prompts are TUI features;
codex-rs/exechas nodaemonreferences and themigration_markdown/retirement_atfields are read only by the TUI and app-server.cli/src/plugin_cmd.rsstill printsInstalled plugin root: {}, andTokenUsageInfo.total_token_usagekeeps theinput_tokens/cached_input_tokens/output_tokensfieldstoken_usage.pyreads from rollouts. The sandbox changes (network policy across redirects and WebSockets, Windows object access) sit behind--dangerously-bypass-approvals-and-sandbox, which tend passes because the systemd unit is the sandbox. CI'stest-codex-surfacejob installs the new pin and asserts the exec flags, access-only auth, and plugin-install output directly.Model catalog: no move in this PR. The 0.157.0 catalog lists
gpt-6-astra,gpt-6-sol, andgpt-6-luna, and marksgpt-5.6-sol(theDEFAULT_MODEL_BY_HARNESS["codex"]value;.config/tend.yamlpins no Codex model) withupgrade: gpt-6-sol,retirement_at: null. That is the Sol-tier successor, and #1397 already proposes making it the default, so this PR leaves the default alone. Separately, openai/codex#47130 removes theultrafastservice tier fromgpt-5.6-sol; tend sets no service tier.Not verified here: the isolated Plus/Pro end-to-end refresh. This session had no Plus/Pro login, so it did not drive the refresh action against the live endpoint to confirm that both the full and the access-only credentials rotate. The refresh claims above rest on reading the source.
Local checks:
uv run pytest -q(1,334 passed; the twotest_refresh_consumers.pyfailures are the sandbox's missing DNS) anduv tool run pre-commit run --all-files.How the login surface was diffed
Blob listing per tag rather than the compare endpoint, which caps
filesat 300:Every changed blob was fetched at both tags and diffed:
auth/manager.rs(thePolicyerror variant, theHttpErrorconversion, the per-accounthttp_client_factory, invalidating the policy on owner change),oauth/client.rs(a policy error while reading the response body becomesTransportrather thanInvalidResponse),auth/default_client.rsandoutbound_proxy.rs(a managed policy routes throughRouteAwareClientPool; auth endpoints resolve through an optional local-bootstrap factory, which is absent unless one is installed).server.rsanddevice_code_auth.rs(per-endpoint auth factories for browser and device-code login),auth/workload_identity.rs(policy classification),gateway_auth.rs,gateway_auth_token.rs, and the newgateway_auth_login.rs.manager.rshas no gateway references, so that grant path is separate from the ChatGPT one.auth/change_state_tests.rs,oauth/client_tests.rs,gateway_auth_tests.rs, the newgateway_auth_login_tests.rsandgateway_auth_storage_tests.rs,tests/suite/login_server_e2e.rs,lib.rs(re-exports), andBUILD.bazel(test sharding).