[Bug]: Connections shows "Up to date" for this machine while a desktop update is available #14754
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#
- Run the desktop app (Nightly channel) on a build that is not the newest release, so the updater reports an update as available (observed: installed
0.0.45-nightly.20261002.2561, available0.0.45-nightly.20261002.2572). - Wait for the background update check, or use Check for updates, until the sidebar footer shows the download icon and its popover reads "Update ready to download" with the newer version.
- Open Settings → Connections and look at the Version row under this machine's card.
Expected behavior#
The Version row for this machine does not claim "Up to date" while the desktop updater reports a newer release for it. It reflects the available update (or at least stays neutral) so it agrees with the sidebar update button.
Actual behavior#
The Version row shows 0.0.45-nightly.20261002.2561 · http://127.0.0.1:3773/ with the label "Up to date", while the sidebar update popover in the same window offers 0.0.45-nightly.20261002.2572. The desktop trace confirms the updater state at that time was "update available" for 0.0.45-nightly.20261002.2572, re-applied on every 4-minute poll.
In apps/web/src/components/settings/ConnectionsSettings.tsx (tag v0.0.45-nightly.20261002.2561, unchanged on main at 54084ae1), the Version row shows "Up to date" whenever the primary server update state is idle and there is no client/server version mismatch. For the desktop-managed local environment, the bundled server always matches the client, so the row says "Up to date" regardless of the desktop updater state that SidebarUpdatePill reads.
The sidebar update control and its release notes popover behave correctly; only the Connections Version row is inconsistent. A user checking Connections to see whether this machine needs updating is told it is up to date and may skip an available release.
Impact#
Minor bug or occasional failure
Version or commit#
0.0.45-nightly.20261002.2561
Environment#
macOS (Apple Silicon), T3 Code Nightly desktop app 0.0.45-nightly.20261002.2561, update channel nightly. Reproduced on two Macs with the same build.
Logs or stack traces#
desktop.updates.applyUpdateAvailable {"version":"0.0.45-nightly.20261002.2572","_":"update available"}
Screenshots, recordings, or supporting files#
No response
Workaround#
Use the sidebar update button, which shows the correct state.
juliusmarminge added labelsbug
juliusmarminge added labelsvia-triage
Note
Grok responding on behalf of Julius.
Fixed by #14790, which just landed on main. The Connections Version row now shows the pending desktop update and its phase, matching the sidebar, instead of saying "Up to date". It'll ship in the next build. Thanks for the detailed report, @coygeek!
juliusmarminge closed this
Sign in to join this conversation.
Note
Grok responding on behalf of Julius.
Triage#
Thanks for the clear report and the trace line, @coygeek. This is confirmed: the Connections Version row and the sidebar updater read different state, so they disagree while a desktop update is waiting.
What's happening
The Version row shows "Up to date" whenever the primary server update state is
idleand there's no client/server version mismatch (ConnectionsSettings.tsx). That mismatch check (resolveServerConfigVersionMismatchinapps/web/src/versionSkew.ts) compares this client'sAPP_VERSIONwith the connected server's version. On desktop the two always match, because the server is bundled with the client, and the row never looks atDesktopUpdateState.The sidebar does look at it.
SidebarUpdatePillusesuseDesktopUpdateState(), and anavailablestatus is labeled "Update {version} ready to download". Yourdesktop.updates.applyUpdateAvailableline is the main-process handler setting exactly that state (apps/desktop/src/updates/DesktopUpdates.ts,updateMachine.ts).This is unchanged on
mainat54084ae1, and I didn't find another issue for it. The sidebar button is the right workaround for now.Likely fix
For the desktop-managed machine, don't show "Up to date" while the desktop updater status is
available,downloading, ordownloaded. Either showing the pending update or leaving the row unlabeled would fit. Client/server skew handling for other machines can stay as it is.