Skip to content

fix(updater): stop promising a manual update enables remote updates - #27464

Merged
OrcaWin merged 1 commit into
mainfrom
OrcaWin/copy-22772-remote-updater-copy
Oct 11, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
OrcaWin/copy-22772-remote-updater-copy

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​51 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​51
Prod 7 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​7 $\color{#cf222e}{\Huge{\mathbf{−}}}$​7 0

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 oxlint on the two changed TypeScript files: 0 errors. Direct oxfmt --check on 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 legacyHelp key 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

  • Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and 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

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason. Text before/after is above; no image attached.
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (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

@OrcaWin
OrcaWin requested a review from brennanb2025 as a code owner October 11, 2026 12:13
@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b53e17a9-b10c-4112-a8da-bc65aad7342f

📥 Commits

Reviewing files that changed from the base of the PR and between 0285665 and 8eedfb8.


You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5f20d913-e973-4ae8-9e64-341904456b79


📥 Commits

Reviewing files that changed from the base of the PR and between 4468a53 and 0285665.



📒 Files selected for processing (8)
  • src/renderer/src/components/settings/RemoteServerUpdateStatus.test.ts
  • src/renderer/src/components/settings/RemoteServerUpdateStatus.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json


Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.




📝 Walkthrough
📝 Walkthrough

Walkthrough

The fallback help text and its English, Spanish, French, Japanese, Korean, and Chinese translations now state that remote updates are unavailable and direct users to update Orca on the server. Tests cover the updater-unavailable message and help text for unsupported headless service and unpackaged build states.



Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to 02856

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 | Passed 4 | Failed 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. (6 skipped: 6 … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check Passed The title clearly and concisely describes the primary change: removing the misleading promise that a manual update enables remote updates.
Description check Passed The description is complete and relevant. It explains the user-visible change, motivation, affected locales, testing, limitations, linked issue, and compatibility impact. It also states why no screens…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.


Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. (6 skipped: 6 unsupported.)




✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR



  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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
@OrcaWin
OrcaWin force-pushed the OrcaWin/copy-22772-remote-updater-copy branch from 0285665 to 8eedfb8 Compare October 11, 2026 12:41
@OrcaWin
OrcaWin merged commit eade6da into main Oct 11, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants