Skip to content

[Bug]: Update everything on a Nightly app offers to update a Stable desktop machine that has no newer Stable release #37481

Closed

Description

@CinematicGenius007

Before submitting

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

Area

apps/web

Steps to reproduce

  1. Machine A runs T3 Code Nightly 0.1.10-nightly.20261116.4761 (desktop app).
  2. Machine B runs the Stable desktop app 0.1.9, which is the latest Stable release (v0.1.9, 2026-11-11). No newer Stable exists.
  3. Add B as an environment on A.
  4. Click the update button at the bottom of A's sidebar.

Expected behavior

B is not offered an update, because Stable is current. If it is listed at all, it should be skipped with a reason such as "on the stable channel".

Actual behavior

The confirmation reads "Update 1 machine?" and lists B as "Desktop app". Settings → About → Update track on A also says "1 machine still runs Stable." There is nothing newer for B to install, since a remote desktop app only installs the latest release on its own channel, so the offered update cannot do anything.

Impact

Minor bug or occasional failure

Version or commit

Nightly 0.1.10-nightly.20261116.4761 (client), Stable 0.1.9 (remote)

Environment

macOS, T3 Code desktop on both machines (one Nightly, one Stable).

Suspected cause (from reading main, not verified by a debugger)

  • resolveVersionMismatch in apps/web/src/versionSkew.ts strips the prerelease tag unless both versions are nightly. Stable 0.1.9 is compared as core 0.1.9 against client core 0.1.10, so it counts as "behind".
  • collectServerUpdateTargets in apps/web/src/components/sidebar/updateEverything.logic.ts only compares cliReleaseChannelOf(serverVersion) with the target when selfUpdate !== "desktop-managed". A Stable desktop-managed machine therefore passes straight through into the update targets.

Suggested fix

For desktop-managed machines, decide "outdated" by comparing against the latest release on that machine's own channel. Alternatively, skip it with an "on the stable channel" reason when its channel differs from the target's.

Workaround

Ignore the prompt for that machine, or switch both machines to the same track under Settings → About → Update track.

Related

#14754, #36404 (different bugs in the same update flow).

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