Skip to content

Codex "Update" runs codex update on a Codex binary managed by the ChatGPT app, which can't update it #3611

Closed as not planned

Description

@karstenisdope

Summary

bb flags the Codex CLI as needing an update when the executable is the copy bundled with the ChatGPT desktop app. That copy reports a prerelease version (0.154.0-alpha.6.2), npm's latest is 0.154.0, so bb offers Update with the command codex update. That command can't tell how this copy was installed, because the ChatGPT app manages it, so the update fails and the update badge stays.

Versions and environment

  • bb desktop 0.43.1, the macOS app. Also seen on 0.43.0.
  • macOS 27.0 (26A428), arm64.
  • Codex CLI 0.154.0-alpha.6.2, the ChatGPT app's bundled copy at /Applications/ChatGPT.app/Contents/Resources/codex, reached through a symlink at ~/.local/bin/codex.
  • Nothing unusual otherwise: local machine, no Connect.

Steps to reproduce

  1. Install the ChatGPT desktop app and symlink its bundled Codex onto PATH: ln -s /Applications/ChatGPT.app/Contents/Resources/codex ~/.local/bin/codex.
  2. Open bb and run bb updates status --json.
  3. Codex is listed as needing an update.
  4. Apply it from Settings → Updates, or with bb updates apply.

Expected vs actual

Actual, from bb updates status --json on 0.43.1: Codex shows installSource: "external", currentVersion: "0.154.0-alpha.6.2", latestVersion: "0.154.0", needsUpdate: true, and installAction: { kind: "update", command: "codex update" }. Applying it runs codex update, which fails with: Error: Could not detect the Codex installation method. Please update manually: https://developers.openai.com/codex/cli/
Expected: for an externally managed binary that codex update can't update, bb doesn't offer that action. It explains that the binary is managed elsewhere.

Evidence

  • bb updates status --json excerpt above, captured 2026-09-13 on 0.43.1.
  • npmGlobalPackageVersion is null, so no npm-global Codex install exists for bb to update instead.

What we ruled out

  • Not a version-check bug on its own: 0.154.0-alpha.6.2 is older than 0.154.0 by semver, so the flag is technically correct. The problem is offering an action that can't run on this install.
  • Claude Code is also installSource: "external" on the same machine and isn't flagged, because its version matches npm's.
  • Same result on 0.43.0 and 0.43.1.

Suggested priority and effort

Low. Nothing is lost, and the workaround is to ignore the badge. Don't replace the ChatGPT app's binary with a standalone install.

Checks

  • Reproduced on the latest release (0.43.1) for the offered action. The failing codex update run was observed on 0.43.0, and 0.43.1 offers the same command.
  • Searched open and closed issues.
  • Written by an agent. The body ends with the marker.

Drafted by Claude Code (Liara) and Codex (EDI) running in bb for the reporter, who reviewed it before filing. Diagnosis thread on the reporter's machine: EDI's Command Center seat, thr_ek3fbafj52.

AGENT GENERATED

Activity

  1. added theissue type on Sep 13, 2026
  2. added
    providers
    provider-codex
    partial-repro
    on Sep 13, 2026
  3. bb-slop-cop commented on Sep 13, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Bug · Priority Low · Effort Medium · providers, provider-codex, partial-repro.

    Reproduction report: PARTIALLY REPRODUCED, high confidence in the root cause. Two clean trusted-main checkouts confirmed that version-based action selection ignores executable ownership and returns an available self-update plan for an external executable. The regression assertion failed in both runs; the actual desktop-bundled updater failure remains unverified.

    No PR: the complete failure is unverified, and an external-management explanation needs a shared status-contract/consumer change beyond the simple-fix limits.

  4. SawyerHood commented on Sep 14, 2026

    @SawyerHood
    Collaborator

    Consolidated into #3166 at the owner’s request. The canonical tracker now preserves this report’s additional evidence and acceptance requirements. Closing as duplicate/covered scope, not as fixed.

    AGENT GENERATED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    partial-reproprovider-codexproviders

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions