fix(web): clarify update track mismatch guidance
Problem
Hosted web uses Latest while the desktop app calls the corresponding release track Stable. When versions drift, the existing message only says to update the desktop app, which can make a correct track pairing look like a bad update.
Fix
- Explain that hosted
Latestcorresponds to DesktopStable. - Explain that hosted
Nightlycorresponds to DesktopNightly. - Use the same guidance in the chat warning, remote environment action, and both About variants.
- Preserve the existing generic guidance for local and non-hosted clients.
Screenshots
Before
After
Testing
pnpm exec vp test run src/versionSkew.test.ts src/components/ServerUpdateAction.test.tsx --project unitpnpm --filter @t3tools/web typecheck- Targeted formatting and lint on the five changed files
- Isolated browser pass on the hosted Nightly settings surface
Built with GPT-5.6-Sol through the Codex harness in T3 Code.
[!NOTE] Low Risk User-facing strings and tests only; no auth, data, or server update behavior changes.
Overview When hosted web and a desktop-managed server disagree on version, users now see channel-aware guidance instead of only “update the desktop app,” so a correct Latest ↔ Stable or Nightly ↔ Nightly pairing is not mistaken for a bad update.
versionSkewadds shared copy constants andresolveDesktopManagedUpdateGuidance, andserverUpdateGuidancetakes an optional hosted channel. Chat version-mismatch text, ServerUpdateAction hints, and About update-track descriptions all use the same mapping.Reviewed by Cursor Bugbot for commit cedaae713833fd96bceea9e65d8d3953d48c84fe. Bugbot is set up for automated code reviews on this repo. Configure here.
[!NOTE]
Clarify update track mismatch guidance based on hosted app channel
- Adds
resolveDesktopManagedUpdateGuidancein versionSkew.ts to return channel-aware guidance strings for desktop-managed servers, differentiatingnightlyvslatesthosted app channels.- Extends
serverUpdateGuidanceto accept an optionalhostedAppChannelparameter and delegates to the new resolver for thedesktop-managedcapability.- Updates
ChatViewContentandServerUpdateActionto passHOSTED_APP_CHANNELinto the guidance functions so displayed text reflects the actual channel.- Replaces inline description strings in the 'Update track' settings row with exported constants
DESKTOP_UPDATE_TRACK_DESCRIPTIONandHOSTED_UPDATE_TRACK_DESCRIPTION.Macroscope summarized cedaae7.
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
ce438133-39ca-4ad9-8d19-12728c252a1fYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
- [ ] 🔍 Trigger review
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Approvability
Verdict: Approved cedaae7
This PR adds clarifying copy/text for update track mismatch guidance, with a simple function that returns appropriate guidance strings based on channel type. The changes are purely user-facing text improvements with no behavioral impact, and include comprehensive tests.
You can customize Macroscope's approvability policy. Learn more.