Repository navigation
fix(updater): stop promising a manual update enables remote updates - #27464
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to The guidance no longer promises that a manual update will enable remote updates. No actionable merge-blocking issue remains after normal checks. Pre-merge checks |
|
The legacy remote-server help text promises that one manual update enables remote updates, even when the server reports its updater is unavailable. Replace the promise with accurate host-side update guidance in every supported locale and cover the fallback and specific help branches. Refs #22261
0285665 to
8eedfb8
Compare
This is a copy of #22772 by @oliver-mee, unchanged and rebased on current
main. The contributor's commit and authorship are kept. It exists because CI on the fork never started (its runs sat queued since September), so the change could not go green there.Co-authored-by: Oliver Mee 102673257+oliver-mee@users.noreply.github.com
ELI5
The remote server settings currently say to update a server manually once to enable remote updates. That is not true when the server reports that its updater is unavailable. The message now says to update Orca on the server host instead.
What Changed
Replaced the legacy fallback message in the component and all six locale catalogs. Added a focused test for the unavailable-updater case and the existing specific guidance for service-managed and development installs. No updater or server behavior changes.
Why
The fallback applies when the client has no more specific update guidance. It cannot promise that a manual update will make remote updates available. This only changes the misleading instruction; it does not attempt to fix the headless updater or supersede the manual-update reporting work in #18129.
Linked Issue
Refs #22261 (fixes the misleading message reported there, not the missing updater initialization).
Visual Proof
Before: "Update this server manually once to enable remote updates."
After: "Remote updates are unavailable for this server. Update Orca on the server host."
No screenshot attached. This is a text-only change; I did not run the desktop UI locally.
Testing
Validated the six changed locale JSON files and
git diff --check.ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/settings/RemoteServerUpdateStatus.test.ts: 2 passed on Linux arm64.Direct
oxlinton the two changed TypeScript files: 0 errors. Directoxfmt --checkon all eight changed files: passed.No manual UI validation on macOS, Linux, Windows, or SSH.
I manually tested these changes locally
Automated tests added/updated, or explained why not below
AI Disclosure
GPT-6 Sol drafted the change and test under human direction.
Review
The
legacyHelpkey remains unchanged to keep existing translations and callers compatible. The copy no longer implies that a host-side update enables the remote-update button.Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
Text only. No new permissions, process changes, wire changes, or platform-specific paths. An older client still displays its old copy until updated.
Checklist
N/Awith reason. Text before/after is above; no image attached.pnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred). Only the focused test, changed TypeScript lint, and changed-file format check were run locally; full gates await CI.🤖 Generated with GPT-6 Sol
🧑💻 Ideated, directed and reviewed by a human, @oliver-mee