Repository navigation
chore(settings): rename "Active Server" to "Default host for new projects" - #27286
Conversation
f8a57fe to
adc38b9
Compare
…ects" The setting (still activeRuntimeEnvironmentId) now only picks the host for new projects with no source and the initial host of the Settings host picker, so the copy says that. Refusal and help text say existing projects stay on their own host, the provider-scope hints point at the Settings Host menu, and the Remote Orca Servers search entry keeps "active server" as a keyword.
adc38b9 to
c93014a
Compare
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: 🔵 Low · up to Users in four locales may not find the renamed setting, and an existing worktree with unresolved ownership can create a terminal on the selected host despite the new assurance. Update the translations and qualify that guidance before merging. Pre-merge checks |
|
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
0781618c-10c9-448d-8e88-95a271ae10f9
📒 Files selected for processing (31)
docs/site/content/docs/remote-servers.mdxsrc/cli/handlers/managed-server.test.tssrc/cli/specs/managed-server.tssrc/main/ipc/runtime-environment-connectivity-handlers.tssrc/main/ipc/runtime-environments-pairing.test.tssrc/main/ipc/settings.test.tssrc/main/ipc/settings.tssrc/main/ssh/orcad-runtime-decommission.tssrc/renderer/src/components/settings/AgentDetectionCatalog.tsxsrc/renderer/src/components/settings/RuntimeEnvironmentsPane.test.tssrc/renderer/src/components/settings/cli-source-control-integration-cards.test.tsxsrc/renderer/src/components/settings/managed-server-copy.test.tssrc/renderer/src/components/settings/managed-server-copy.tssrc/renderer/src/components/settings/provider-account-scope.test.tssrc/renderer/src/components/settings/provider-account-scope.tssrc/renderer/src/components/settings/provider-rate-limit-scope-panels.test.tsxsrc/renderer/src/components/settings/runtime-active-server-section.tsxsrc/renderer/src/components/settings/runtime-environment-dialogs.tsxsrc/renderer/src/components/settings/runtime-environment-host-details.tssrc/renderer/src/components/settings/runtime-environments-search.tssrc/renderer/src/components/settings/runtime-server-row.tsxsrc/renderer/src/components/settings/task-tracker-integration-cards.test.tsxsrc/renderer/src/components/settings/use-runtime-environment-mutation-actions.tssrc/renderer/src/components/sidebar/SidebarHostScopeMenuSection.tsxsrc/renderer/src/i18n/en-runtime-required.jsonsrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/fr.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.json
💤 Files with no reviewable changes (1)
- src/renderer/src/i18n/en-runtime-required.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.
| ? translate( | ||
| 'auto.components.settings.RuntimeEnvironmentsPane.3f67e8078a', | ||
| 'Use this computer by default. Choose a saved server only when you want supported projects, files, terminals, provider checks, and browser/mobile handoff to run through that server.' | ||
| 'New projects are created on this computer unless you choose a saved server here. Existing projects, files and terminals stay on their own host.' |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Narrow the existing-terminal guarantee.
getRuntimeEnvironmentIdForWorktree can return undefined for an existing worktree. The terminal creation path treats undefined as unresolved ownership and falls back to settings?.activeRuntimeEnvironmentId. Therefore, an existing terminal can be created on the selected remote host. The current text incorrectly states that all existing terminals stay on their own host.
| "b07070ed3c": "Ningún servidor conectado", | ||
| "78692becbd": "Escritorio local", | ||
| "64b6bea541": "Servidor activo", | ||
| "64b6bea541": "Host predeterminado para proyectos nuevos", |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Make connection guidance match the renamed setting. Four localized connectToRemoteServersHelp strings still direct users to the former setting name. Users following those instructions cannot find that label in Advanced.
src/renderer/src/i18n/locales/es.json#L8150-L8150: retain the new label as the name used by the Spanish navigation instruction.src/renderer/src/i18n/locales/es.json#L8188-L8188: replace “Servidor activo” with “Host predeterminado para proyectos nuevos.”src/renderer/src/i18n/locales/ja.json#L8210-L8210: replace “アクティブサーバー” with “新規プロジェクトの既定ホスト.”src/renderer/src/i18n/locales/ko.json#L8173-L8173: replace “활성 서버” with “새 프로젝트의 기본 호스트.”src/renderer/src/i18n/locales/zh.json#L8173-L8173: replace “活动服务器” with “新项目的默认主机.”
📍 Affects 4 files
src/renderer/src/i18n/locales/es.json#L8150-L8150(this comment)src/renderer/src/i18n/locales/es.json#L8188-L8188src/renderer/src/i18n/locales/ja.json#L8210-L8210src/renderer/src/i18n/locales/ko.json#L8173-L8173src/renderer/src/i18n/locales/zh.json#L8173-L8173
…settings-backup-restore settings:set now lives in settings-write.ts, so carry stablyai#27199 there: the write path returns store.getSettings() after side effects instead of the pre-side-effect result. Adds a test covering that. Takes the renamed default-host error message from stablyai#27286 as-is. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ELI5
The Settings choice called "Active Server" no longer decides where everything runs. Each project, file and terminal now stays on the machine it belongs to. The setting only picks where a brand-new project is created. This PR renames it to "Default host for new projects" and rewrites the related text so it says that.
Merge order: this is the last PR of the D4-G1 stack. Every routing PR has merged (through #27313). The owner-routing ratchet is at zero, so routing no longer goes through the focus helpers. The setting's other remaining reads (for example cache keys and display scopes) are pinned per file by the focus-read ratchet, which can only go down.
What Changed
orca environment stophelp is reworded the same way.docs/site/content/docs/remote-servers.mdxuses the new name.activeRuntimeEnvironmentIdsettings key, code identifiers, RPC fields and test ids are unchanged.en.jsonvalue are set to the same text, with translations in es, fr, ja, ko and zh.en-runtime-required.jsonwas regenerated. Three entries left the boot bundle because their source fallback anden.jsonnow agree.Why
D4-9 keeps the setting but narrows it to creation flows that have no source row, plus the Settings host picker's initial default. A name that still said "Active Server" would tell users it routes their existing work, which is no longer true. We kept the settings key so stored preferences and clients on another version keep working.
Linked Issue
None. This is part of the host-ownership routing stack (D4 G1).
Visual Proof
N/A. This is a text-only change to existing labels, help text and errors; there is no layout or style change.
Testing
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Updated the assertions that check the old text: managed-server copy, provider account scope, rate-limit panels, integration cards, the Remote Orca Servers pane, main
settingsand pairing tests, and the CLI managed-server handler.Ran:
pnpm tcpnpm test(settings components, sidebar, i18n, main ssh/ipc, CLI): 259 files passpnpm run verify:localization-catalogs,verify:localization-extractionandverify:localization-coverageoxlint/oxfmtpnpm run check:code-quality:changedpnpm check:owner-routing-ratchet, unchangedReview
Agent skill upstream boundary
Notes
reasontext changes. Older clients just show the new sentence. No codes or fields change.Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)