Repository navigation
Conversation
…ownloaded Servers were sent the version from the desktop app's last update check, which can be hours old, while the desktop download checks the feed again and takes the newest build. One click left a boot-service server one nightly behind the desktop app. Servers now stage and update once the local download reports the version it downloaded, and the confirmed servers move to that version. Fixes pingdotgg#41548
… starts Waiting for the whole desktop download held every server update behind it: a stalled download blocked servers and kept the update controls locked, the capsule showed no download progress, and staging lost its overlap with provider installs. The desktop download checks the feed before it starts, so the version is final once it reports downloading. Servers now take that version, or the planned one if the download settles without starting or does not start within a minute. The run shows the new version while it is known.
Staging overlaps provider installs. When providers settle before the download's version is known, a stage-only request would only delay the server update and hide its progress, so servers update directly.
There was a problem hiding this comment.
Bompus AI Review (GPT-6.2 Astra): 4 finding(s).
Review 2: findings below high are posted only within 3 lines of a change since f5839d8.
…nloaded version A stale feed can serve an older build than planned, which a server may already run and would refuse, so retargeting only moves servers up. The saved run result now takes the version the desktop download finished with, so the launch notice counts the app as updated even when servers kept the planned target because the download started late.
2 tasks done
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pre-upstream review on the fork. Once review is settled, this branch goes to pingdotgg/t3code as its own PR, and this one closes.
Update everything sent background-service servers the version from the desktop app's last update check, which can be up to 4 hours old. The desktop download checks the feed again before downloading (pingdotgg#37476) and takes the newest build. When a nightly came out between the last check and the click, one click put the desktop app on N+1 and the server on N, and the server needed a second update after the relaunch. Logs from four of these splits in four days are in pingdotgg#41548.
The desktop download checks the feed before it starts, so its version is final once it reports
downloading. Servers now take that version and stage and update to it, without waiting for the download to finish, and only the servers shown in the confirmation dialog move. If the download settles without starting, or does not start within a minute, servers keep the planned target; one that fails after starting still moves servers to the release it started on. Servers never move below their planned target, and the saved result records the version the desktop download finished with. Each server's reconnect deadline starts when its update starts, not when providers finish. A skipped local download keeps the planned targets, and a track switch keeps its migration-checked release.Known limits
Tests
vp test runonupdateEverything.logic.test.ts,updateEverythingRun.test.tsandSidebarUpdatePill.browser.test.tsx(40 passed, withdesktopUpdate.logic.test.ts); typecheck and lint forapps/web. New tests cover reading the download's version from its update state (including the never-starts and timeout cases), retargeting to it, staging and updating before the download finishes, skipping staging once providers settle, and the server-phase start time.Claude Opus 5.5 via Claude Code in T3 Code.