Skip to content

chore(settings): rename "Active Server" to "Default host for new projects" - #27286

Merged
OrcaWin merged 2 commits into
mainfrom
OrcaWin/d4-g1-rename
Oct 10, 2026
Merged

OrcaWin merged 2 commits into
mainfrom
OrcaWin/d4-g1-rename

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 9 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​22 $\color{#cf222e}{\Huge{\mathbf{−}}}$​17 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5
Prod 22 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​150 $\color{#cf222e}{\Huge{\mathbf{−}}}$​126 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​24

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

  • Before (user): Settings > Remote Orca Servers > Advanced showed "Active Server". Its help text said it routed "projects, files, terminals, provider checks". The server row said "Active server for server-routed projects…". Refusals said "Choose another Active Server in Advanced…".
  • After (user):
    • The selector is called "Default host for new projects". Its help text says new projects are created on this computer unless you pick a saved server, and existing projects, files and terminals stay on their own host.
    • The server row says "Default host for new projects. Existing projects stay on their own host."
    • Remove, stop and forget refusals say "This server is the default host for new projects. Choose another one in Advanced before …". That covers the renderer dialogs, the toast, main-process errors and the CLI refusal reason.
    • orca environment stop help is reworded the same way.
    • The sidebar host menu tags that server "Default for new projects", not "Active server".
    • The agents refresh button says "Re-detect agents installed on this server", because Settings now picks its host in the page.
    • The API-budget hints point to the Host menu at the top of Settings, which is what scopes those panels since refactor(forge): forge reads and edits route by the repo's owner or the task source #27276.
    • docs/site/content/docs/remote-servers.mdx uses the new name.
    • The credential hints point to Remote Orca Servers > Advanced > Default host for new projects, because that setting still decides which host the integration cards use.
    • Settings search: the Remote Orca Servers entry finds "default host", "new projects" and the old name "active server". Its English title no longer reads "Active Server"; the catalog had drifted from the source.
  • Mechanism: copy only.
    • Translation keys, the activeRuntimeEnvironmentId settings key, code identifiers, RPC fields and test ids are unchanged.
    • The English fallback in source and the en.json value are set to the same text, with translations in es, fr, ja, ko and zh.
    • en-runtime-required.json was regenerated. Three entries left the boot bundle because their source fallback and en.json now 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 settings and pairing tests, and the CLI managed-server handler.

  • Ran:

    • pnpm tc
    • focused pnpm test (settings components, sidebar, i18n, main ssh/ipc, CLI): 259 files pass
    • pnpm run verify:localization-catalogs, verify:localization-extraction and verify:localization-coverage
    • oxlint / oxfmt
    • pnpm run check:code-quality:changed
    • pnpm check:owner-routing-ratchet, unchanged

Review

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

  • Wire: the managed-server refusal reason text changes. Older clients just show the new sentence. No codes or fields change.
  • Not renamed: strings where "active runtime" means the host that stores a credential (Linear/Jira key storage). They don't name this setting.
  • Not renamed: two unused catalog entries about removing the active server from a web client.

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
  • 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)

m4air added 2 commits October 10, 2026 14:43
…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.
@OrcaWin
OrcaWin marked this pull request as ready for review October 10, 2026 21:44
@OrcaWin
OrcaWin force-pushed the OrcaWin/d4-g1-rename branch from adc38b9 to c93014a Compare October 10, 2026 21:44
@OrcaWin
OrcaWin requested a review from brennanb2025 as a code owner October 10, 2026 21:44
@coderabbitai

coderabbitai Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

📝 Walkthrough
📝 Walkthrough
📝 Walkthrough

Walkthrough

The remote-server setting and related guidance now describe the selected server as the default host for new projects. Text clarifies that existing projects remain on their own host. Stop and removal messages, provider-account and API-budget guidance, search terms, and translations use the updated terminology. The invalid environment ID error message also changed; its validation behavior did not.





Priority: ⬇️ Low

Merge Risk: 🔵 Low · up to c9301

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

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 14.29% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 14 functions across 23 files. (7 skipped:… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
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.
Title check Passed The title clearly and concisely describes the primary change: renaming “Active Server” to “Default host for new projects.”
Description check Passed The description is detailed and mostly complete. It includes the ELI5, user-facing changes, mechanism, rationale, testing, visual-proof rationale, scope notes, and checklist status. It explicitly stat…

Full details: Docstring Coverage

Explanation

Docstring coverage is 14.29% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 14 functions across 23 files. (7 skipped: 7 unsupported.)


  • Fix all pre-merge checks with AI
✨ 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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0781618c-10c9-448d-8e88-95a271ae10f9
📥 Commits

Reviewing files that changed from the base of the PR and between ddcbb78 and c93014a.

📒 Files selected for processing (31)
  • docs/site/content/docs/remote-servers.mdx
  • src/cli/handlers/managed-server.test.ts
  • src/cli/specs/managed-server.ts
  • src/main/ipc/runtime-environment-connectivity-handlers.ts
  • src/main/ipc/runtime-environments-pairing.test.ts
  • src/main/ipc/settings.test.ts
  • src/main/ipc/settings.ts
  • src/main/ssh/orcad-runtime-decommission.ts
  • src/renderer/src/components/settings/AgentDetectionCatalog.tsx
  • src/renderer/src/components/settings/RuntimeEnvironmentsPane.test.ts
  • src/renderer/src/components/settings/cli-source-control-integration-cards.test.tsx
  • src/renderer/src/components/settings/managed-server-copy.test.ts
  • src/renderer/src/components/settings/managed-server-copy.ts
  • src/renderer/src/components/settings/provider-account-scope.test.ts
  • src/renderer/src/components/settings/provider-account-scope.ts
  • src/renderer/src/components/settings/provider-rate-limit-scope-panels.test.tsx
  • src/renderer/src/components/settings/runtime-active-server-section.tsx
  • src/renderer/src/components/settings/runtime-environment-dialogs.tsx
  • src/renderer/src/components/settings/runtime-environment-host-details.ts
  • src/renderer/src/components/settings/runtime-environments-search.ts
  • src/renderer/src/components/settings/runtime-server-row.tsx
  • src/renderer/src/components/settings/task-tracker-integration-cards.test.tsx
  • src/renderer/src/components/settings/use-runtime-environment-mutation-actions.ts
  • src/renderer/src/components/sidebar/SidebarHostScopeMenuSection.tsx
  • src/renderer/src/i18n/en-runtime-required.json
  • 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
💤 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.'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 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",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 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-L8188
  • src/renderer/src/i18n/locales/ja.json#L8210-L8210
  • src/renderer/src/i18n/locales/ko.json#L8173-L8173
  • src/renderer/src/i18n/locales/zh.json#L8173-L8173

@OrcaWin
OrcaWin merged commit 42be4c5 into main Oct 10, 2026
43 checks passed
namjun719-glitch added a commit to namjun719-glitch/orca that referenced this pull request Oct 11, 2026
…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]>
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.

1 participant