Skip to content

chore: bump codex_version to 0.155.1 - #1342

Merged
max-sixty merged 1 commit into
mainfrom
chore/bump-codex-0.155.1
Sep 22, 2026
Merged

max-sixty merged 1 commit into
mainfrom
chore/bump-codex-0.155.1

Conversation

@tend-agent

@tend-agent tend-agent commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Moves codex_version in both codex/action.yaml and codex/refresh/action.yaml from 0.154.0 to 0.155.1, the current stable @openai/codex release. The two defaults move together, as the pin's rule requires, and @openai/[email protected] is published — codex/action.yaml's install step and CI's test-codex-surface both install it at the same version.

Nothing in 0.155.0 or 0.155.1 changes a surface tend's Codex harness depends on. The releases are TUI, voice, Guardian, MCP and app-server daemon work; codex exec's flags and config, plugin installation, skill resolution and model selection are untouched, and test-codex-surface asserts that contract against the pinned version on this PR. 0.155.1 is a single fix — new local TUI sessions default reasoning summaries back to none, which only affects interactive sessions. 0.155.0 carries further rollout-compression work, but compression shipped by rust-v0.153.0 and earlier, so token_usage.py's sessions/**/rollout-*.jsonl glob is no more exposed than it was under 0.154.0.

The credential-rotation gate did not run. The pin's rule asks for an isolated Plus/Pro login driving codex/refresh and both the full and access-only bundles rotating. An agent session never holds those credentials — the refresh action runs as its own serialized workflow against secrets this session cannot reach — so that check is still owed before merge, not something this PR can report as passed.

What is checkable from here says the risk is low. codex-rs/login/ did change across the bump, but only additively: auth/manager.rs gains a get_chatgpt_account_user_id method, token_data.rs gains the parse_chatgpt_account_user_id claims parser behind it, and internal_identity.rs and auth/account_user_id_tests.rs are new files. Both additions select a local workspace identity from an already-parsed access token. Nothing edits the refresh-token exchange, the fallthrough to a stale last_refresh when an access token will not parse, or any existing auth path — which is what the rule's auth-manager inspection is looking for.

How the release window and the auth surface were checked

Stable releases crossed: rust-v0.155.0 (2026-09-17) and rust-v0.155.1 (2026-09-18). The 0.156.0-alpha.* line is prerelease and out of scope for this pin, which takes alpha only for a fix not yet released.

Don't check the auth surface with the compare endpoint. repos/openai/codex/compare/rust-v0.154.0...rust-v0.155.1 spans 220 commits and returns a files array of length exactly 300 — the endpoint's cap — and --paginate yields no more. Filtering that truncated list for codex-rs/login/ returns nothing even though the directory changed, so the filter reports an all-clear it cannot support.

Compare the directory's tree SHA instead, which no file cap affects:

rust-v0.154.0  login=63f3c5fc787e370d2d79b48dd31cda1e2ff0cb9c  login/src=c0480abe5b46ec47f3d4f00f4a7bbdf46c46f228
rust-v0.155.1  login=080a830a35cd4f231997c2e5a4b490f206b6b910  login/src=e78a0e115a3e2e53730f0e97f3640cbb513541e6

They differ, so recurse both login/src trees, diff the blob SHAs to get the four entries that moved, and fetch those blobs. That diff is the basis for the additive-only reading above.

Separately checked this week and needing no change: Codex's bundled model catalog still lists gpt-5.6-sol, which is DEFAULT_MODEL_BY_HARNESS["codex"]. The only newer entry is gpt-6-astra, a different family — a cross-tier move is a product decision, not this sweep's.

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pin itself holds up: 0.155.1 is the current latest on npm, both defaults moved together as the codex_version rule requires, and @openai/[email protected] is published — which codex/action.yaml's install step and test-codex-surface both need at the same version. Every check is green on this head.

The description's central evidence claim is false. It states that codex-rs/login/ is byte-identical between rust-v0.154.0 and rust-v0.155.1. It is not: the tree SHA for that directory differs across the tags, src/auth/manager.rs and src/token_data.rs both changed, and src/internal_identity.rs and src/auth/account_user_id_tests.rs were added.

The claim came from GitHub's compare API, which truncated. repos/openai/codex/compare/rust-v0.154.0...rust-v0.155.1 spans 220 commits and returns a files array of length exactly 300 — the endpoint's cap — and --paginate yields no more. Absence from that list is not absence of change, so filtering it to codex-rs/login/ is precisely the check a truncated compare passes silently. That matters beyond this PR, because it is the check the codex_version rule in .claude/skills/running-tend/SKILL.md asks for by name: "Inspect Codex's auth manager too."

The conclusion survives a real read, so the bump stays low-risk. Both changes are additive — a new get_chatgpt_account_user_id on the auth manager and the parse_chatgpt_account_user_id claims parser behind it, plus #[cfg(test)] module wiring. Nothing touches the refresh-token exchange, the fallthrough to a stale last_refresh, or the access-token parse path. The description just proves a true conclusion with evidence that does not hold, and a future sweep reusing the method would not notice when the conclusion stops being true.

I am rewriting the description with a method that does hold. The live credential-rotation gate is still owed before merge — that part of the description was already accurate, and nothing here changes it.

Comparing the directory rather than the truncated file list

The compare endpoint's cap, and that pagination does not lift it:

$ gh api "repos/openai/codex/compare/rust-v0.154.0...rust-v0.155.1" \
    -q '{total_commits, files_returned: (.files|length)}'
{"files_returned":300,"total_commits":220}

Tree SHAs for codex-rs/login at each tag — unaffected by any file cap, and definitive:

rust-v0.154.0  login=63f3c5fc787e370d2d79b48dd31cda1e2ff0cb9c  login/src=c0480abe5b46ec47f3d4f00f4a7bbdf46c46f228
rust-v0.155.1  login=080a830a35cd4f231997c2e5a4b490f206b6b910  login/src=e78a0e115a3e2e53730f0e97f3640cbb513541e6

Recursing both login/src trees and diffing the blob SHAs gives the four entries that moved: auth/manager.rs, token_data.rs, and the added internal_identity.rs and auth/account_user_id_tests.rs. Fetching those blobs and diffing them shows the additions named above and no edits to existing auth paths.

Separately checked and not a finding: rust-v0.153.0 and earlier already ship rollout compression, so token_usage.py's rollout-*.jsonl glob is not newly exposed by this bump.

@tend-agent
tend-agent force-pushed the chore/bump-codex-0.155.1 branch from ca259cb to a0155bf Compare September 21, 2026 05:07
max-sixty pushed a commit that referenced this pull request Sep 21, 2026
…compare cap can't fake (#1344)

The weekly pin sweep's `codex_version` rule asks for an inspection of
Codex's auth manager before a bump, but names no method. The obvious one
— filter `repos/openai/codex/compare/<old>...<new>` to `codex-rs/login/`
— silently reports an all-clear it cannot support: that endpoint caps
its `files` array at 300 and `--paginate` does not lift the cap, so any
release window of a few hundred commits drops the directory from the
list whether or not it changed.

Nothing downstream catches the false all-clear. `test-codex-surface` is
credential-free and does not reach the auth manager, and the rule's own
live rotation gate cannot run from an agent session, so a real change to
the refresh-token chain would ship into every consumer's Codex jobs
under a PR body reporting that the surface was checked.

This adds the method that does hold: compare `codex-rs/login`'s tree SHA
at each tag, and where the SHAs differ, recurse both trees, diff the
blob SHAs, and read the blobs that moved. Tree SHAs are unaffected by
any file cap, so the check either finds the change or proves there was
none.

Evidence: #1342, where the compare-filter method reported
`codex-rs/login/` unchanged across `rust-v0.154.0...rust-v0.155.1` while
the directory's tree SHA differed and both `auth/manager.rs` and
`token_data.rs` had moved.

---------

Co-authored-by: tend-agent <[email protected]>
max-sixty pushed a commit that referenced this pull request Sep 21, 2026
The repo-local half of this week's pin sweep — the files only this repo
runs. Both pins published today, after the earlier weekly run swept them
in #1341, so neither is a miss that run made.

**`astral-sh/setup-uv` v10.1.0 → v10.2.0** in `.config/tend.yaml`'s
`setup:`, `ci.yaml`, and `pypi-release.yaml`. The shipped half — the
`setup_tend_uv()` macro and the `docs/tend.example.yaml` examples — is
#1359, which also covers why v10.2.0 changes no behavior here: its
known-checksum additions sit behind the live versions manifest that
v10.1.0 already consults, and its merge-queue cache change is out of
reach of a step with `enable-cache: false`. The generated `tend-*.yaml`
still carry v10.1.0; they take the `setup:` value from this PR at the
next nightly regeneration, which is where those refs move.

**`wrangler` 4.135.0 → 4.136.1** in `worker/package-lock.json`. Lockfile
drift only — `package.json`'s `^4.128.0` already admits it, so `npm
update wrangler` is the whole change, and it carries `workerd`
1.20260918.1 → 1.20260921.1, `miniflare` and `@cloudflare/unenv-preset`
2.16.1 → 2.16.2 with it. After it, `npm --prefix worker outdated` prints
no rows.

Also swept and already current, so absent from the diff:
`claude_version` (2.1.278), `mitmproxy_version` (12.2.3) and its `==`
pin, `uv_version` (0.12.17), `uv_build`'s range, `WORKTRUNK_VERSION`
(0.79.0), `uv lock --upgrade`, `pre-commit autoupdate`, and `site`'s npm
tree. `codex_version` is #1342, open since this morning.
`data/consumers.json` refreshed clean — `changed: false`, 8 consumers,
nothing removed.

<details><summary>Verification</summary>

`npm --prefix worker test` is 32 passed and `npm --prefix worker run
typecheck` is clean against the new lockfile. `uv tool run pre-commit
run --all-files` passes all twelve hooks, actionlint included, which is
what reads the two hand-maintained workflow files this touches.

</details>

Weekly pin sweep.

Co-authored-by: tend-agent <[email protected]>
@max-sixty
max-sixty merged commit 09a21b9 into main Sep 22, 2026
11 checks passed
@max-sixty
max-sixty deleted the chore/bump-codex-0.155.1 branch September 22, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants