Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Can't update Codex through UI #17442

Closedvladmashk(GitHub profile, opens in a new tab) opened this issue 6 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Start the app
  2. This notification appears: Image
  3. Click the 'Settings' button in it
  4. See this: Image

Expected behavior

There is a button or something somewhere that actually updates Codex. (With Claude there is an 'Update' button in the notification that just works.)

Actual behavior

Clicking that update icon/button (in the second screenshot) doesn't do anything at all except showing the 'Update available' popover. I don't see a button or something anywhere in the settings to update Codex.

Impact

Minor bug or occasional failure

Version or commit

T3 Code 0.0.45

Environment

macOS 27.0.1, T3 Code 0.0.45, Codex installed via npm

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Updating Codex manually by running npm install -g @openai/codex.

  1. vladmashk(GitHub profile, opens in a new tab) added labelsneeds-triage

  2. Note

    Grok responding on behalf of Julius.

    Report: On macOS with T3 Code 0.0.45 and Codex installed via npm, a startup notice says a Codex update is available. Settings shows an update icon whose popover says “Update available,” but there is no control that runs the update. Claude’s notice has a working Update control. Manual npm install -g @openai/codex works as a workaround.

    Likely cause: Version checks and update actions are separate. A behind install gets behind_latest and the Settings icon even when T3 cannot prove it owns the install. The Update / Update now controls only appear when ownership yields an update command (canUpdate: true).

    npm-global on macOS: A normal nvm / Homebrew-Node layout under …/lib/node_modules/@openai/codex/… looks covered by the resolver tests (prefix derivation, Homebrew Node keg prefers npm). Plausible ways to get “update available” with no action anyway: the desktop server resolves a different codex than the shell where npm install -g ran (PATH / binary path), or the real path is not the global lib/node_modules/@openai/codex layout so ownership stays unproven. Not verified from this report alone.

    Open PR #14256 (“tell users how to update an install T3 cannot update”) targets this messaging gap: for unowned behind installs it names the executable and says to update with the app/tool that installed it, instead of implying Settings can update. It does not add an Update button or invent an npm command for unowned installs. It is open but mergeable_state: dirty (needs rebase; maintenance code has since moved into packages/provider-core).

    Related (not duplicates): #8051 (Windows Codex broken / probe fail), #16351 (ChatGPT.app binary gets canUpdate: true but codex update exits 1), #13751 (Homebrew metadata / unsupported range), #14249 (pnpm @latest / minimumReleaseAge), #16160 (one-click right after npm publish). Same family of maintenance UX; different failure modes.

    Ask: Please paste:

    which -a codex
    ls -la "$(which codex)"
    readlink -f "$(which codex)" 2>/dev/null || realpath "$(which codex)"
    npm prefix -g
    npm root -g
    node -v
    # and how Node was installed: nvm / fnm / Homebrew / volta / other

    Also note whether Settings → Providers → Codex has a custom binary path, and the full popover text (beyond the title).

    Next step: Treat as a bug. If ownership is wrong for a real npm-global path, fix detection; if the binary is one T3 cannot update, improve the empty popover (along the lines of #14256) so it names the path and a manual command instead of only “Update available.”

  3. juliusmarminge removed labelsneeds-triage

  4. juliusmarminge added labelsvia-triage

  5. Commands output:

    /Users/vlad/.volta/bin/codex
    lrwxr-xr-x  1 vlad  staff  50 24 Apr 11:35 /Users/vlad/.volta/bin/codex -> /Users/vlad/.volta/bin/volta-shim
    /Users/vlad/.volta/bin/volta-shim
    /Users/vlad/.volta/tools/image/node/26.3.1
    /Users/vlad/.volta/tools/image/node/26.3.1/lib/node_modules
    v26.3.1

    Node installed via Volta.

  6. Note

    Grok responding on behalf of Julius.

    Relabeling as needs more info: we still do not have a confirmed repro on current main (version/platform/logs as asked). Comment with those details and we will reopen the investigation; otherwise this will be closed for lack of info.

  7. juliusmarminge added labelsneeds more info

  8. juliusmarminge removed labelsbug

  9. The version and platform are included in the issue. I don't know where I'm supposed get the logs from. I don't see anything in the devtools console.

  10. Also, Settings → Providers → Codex doesn't have a custom binary path, just codex.

  11. Note

    Grok responding on behalf of Julius.

    Your Volta paths already answer this. codex resolves to a volta-shim, and T3 only shows Update / Update now when it can prove ownership of an npm-global (or similar) install and invent a safe update command. After #5629, a shimmed or otherwise unproven install stays behind_latest with canUpdate: false, so Settings shows the update icon and an empty "Update available" popover with no button. That is intentional, not a broken Update control.

    Workaround: update Codex with the tool that installed it (Volta / npm install -g @openai/codex), which matches what you already do. No app logs are required for this case; the Settings popover alone is expected for unowned installs.

    Closing as works-as-intended. If you later see the same empty popover on a plain npm-global path under …/lib/node_modules/@openai/codex/ (no Volta shim), comment with which -a codex and we can reopen as an ownership-detection bug. Better copy for the empty popover was attempted in closed #14256 and is still worth a follow-up.

  12. juliusmarminge removed labelsneeds more info

  13. juliusmarminge added labelswontfix

  14. juliusmarminge closed this

Sign in to join this conversation.