Skip to content

[Bug]: Native Claude update reports "still outdated" while the native release feed lags npm's latest tag #27942

Closed

Description

@AkiVonAkira

Before submitting

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

Related, not a duplicate: #26400 and its fix #26518 cover native Claude on the stable channel. This report is the latest channel, which #26518 leaves on main's behaviour.

Area

apps/server

Steps to reproduce

  1. Install Claude Code with the native installer, so claude resolves to ~/.local/bin/claude(.exe).
  2. Keep "autoUpdatesChannel": "latest" in ~/.claude/settings.json (or leave it unset).
  3. Wait for a release that npm's latest dist-tag has but the native release feed does not have yet. At the time of this report:
    • npm: latest 2.1.316
    • native feed claude-code-releases/latest (the GCS bucket claude update reads): 2.1.314
  4. Open Settings → Providers. Claude shows an update. Click Update now.

Expected behavior

For a native install, T3 compares the installed version against the native release feed that claude update installs from. 2.1.314 is the newest build that channel offers, so T3 shows Claude as current and offers no update.

Actual behavior

claude update prints "Claude Code is up to date (2.1.314)" and exits 0. T3 probes again, still compares 2.1.314 against npm's 2.1.316, and shows "Update command completed, but T3 Code still detects an outdated provider version." Every retry gives the same result until Anthropic publishes the build to the native feed.

The cause is the same as #26400. fetchNpmLatestVersion (packages/provider-core/src/server/maintenanceResolver.ts:820) reads registry.npmjs.org/@anthropic-ai/claude-code/latest, while the native resolver in apps/server/src/provider/Drivers/ClaudeDriver.ts runs claude update. npm publishes before the native feed, so this happens on the latest channel too, for hours after each npm release.

One possible fix: in the native lookupLatestVersion that #26518 adds, read claude-code-releases/{latest,stable} from the native feed instead of the npm dist-tag. That covers both channels with one lookup. The stable channel lags the same way: npm stable is 2.1.309 while the native feed's stable is 2.1.308, so the npm stable dist-tag in #26518 would still give a false update here.

Impact

Minor bug or occasional failure

Version or commit

T3 Code v0.1.6-nightly.20261029.3892; main @ 960d576 still reads npm latest

Environment

Windows 11 Pro (AKIRA-PC) and two Linux hosts, all with the same result. Claude Code 2.1.314 native install, autoUpdatesChannel: latest.

Logs or stack traces

$ claude update
Current version: 2.1.314
Checking for updates to latest version...
Claude Code is up to date (2.1.314)

$ npm view @anthropic-ai/claude-code dist-tags
{ "stable": "2.1.309", "next": "2.1.316", "latest": "2.1.316" }

$ curl -s https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest
2.1.314
$ curl -s https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/stable
2.1.308

T3 toast, on all three hosts:

Update failed
AKIRA-PC · Claude: Update command completed, but T3 Code still detects an outdated provider version.
proxima · Claude: Update command completed, but T3 Code still detects an outdated provider version.
vivobook · Claude: Update command completed, but T3 Code still detects an outdated provider version.

Workaround

None needed. The warning clears once the native feed catches up to npm.

Activity

  1. ahmed-abdat commented on Oct 31, 2026

    @ahmed-abdat

    Also reproduced on macOS, Darwin 24.6.0, arm64, using T3 Code desktop 0.1.6-nightly.20261031.3956.

    • Native Claude CLI: 2.1.314
    • Update channel: latest, confirmed by claude doctor
    • Native release feed: 2.1.314
    • npm latest: 2.1.316
    • T3 advisory: behind_latest; compatibility: supported

    The update attempt at 2026-10-31T02:08:14Z completed, followed by the same “still detects an outdated provider version” message.

    Checked source at build commit d92c437baa19409f99416a44f748f148f4317c65: Claude’s native updater runs claude update, while the version resolver queries npm’s /latest.

    No workaround or configuration changes applied.

    Prepared by Codex (GPT-6) via t3 triage.

  2. zackleman commented on Oct 31, 2026

    @zackleman

    Note

    🤖 Claude Opus 5.5 responding on behalf of Zack

    +1, same result on T3 Code 0.1.5 across two Ubuntu hosts and two macOS hosts, all native installs on the latest channel. Same numbers as the report: the native feed's latest is 2.1.314, npm latest is 2.1.316, and all four hosts show the same toast.

    Supporting the proposed fix: for native installs, read claude-code-releases/{latest,stable} from the native feed, since that's what claude update installs from.

    One data point: the native 2.1.316 build was already downloadable while the feed's latest pointer still said 2.1.314, and claude install 2.1.316 succeeded on all four hosts. That installs a build the channel hasn't promoted yet, so it's a manual workaround, not something T3 should run.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions