Skip to content

fix(mcp-servers): say what Move does in its confirmations - #51996

Merged
AmethystLiang merged 3 commits into
mainfrom
AmethystLiang/item-1929-move-wording
Nov 29, 2026
Merged

AmethystLiang merged 3 commits into
mainfrom
AmethystLiang/item-1929-move-wording

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

When you move MCP servers from your agents' settings into Orca, the confirmation now says what will actually happen. Before, it promised more than Orca does.

Files Added Deleted Net
Test 0 0 0 0
Prod 4 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​6 $\color{#cf222e}{\Huge{\mathbf{−}}}$​6 0

What Changed

Only English copy changed, for the Move confirmation in desktop Settings → MCP servers (one server, and Move all) and in the mobile app.

  • Before: "Orca removes it from {agents} settings and keeps a backup."
  • After (one server): "Orca uses a new or existing entry on this host’s MCP server list. It tries to remove eligible copies from the settings for {agents}. Before removing entries from a settings file, Orca backs up that file."
  • After (Move all): also says that Orca moves servers one at a time and stops if one fails.

The English locale files and the inline fallbacks are updated together. No keys, logic or layout changed.

Why

The old line said removal always happens and that the server itself is backed up. In fact Orca may reuse an entry that already exists, it removes only eligible copies, and the backup is of the settings file, taken before it is edited. Move all also stops at the first failure, so some servers may not move. The new copy matches that behavior and doesn't claim more. Checked against how comparable products handle this.

Translations to other languages will follow in a separate change after this merges. Other locale files are deliberately left alone here.

Linked Issue

N/A (maintainer change)

Visual Proof

N/A. This changes text only, inside an existing confirmation dialog. No component fixture or seeded capture covers this dialog, so I haven't attached screenshots.

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below
  • Every added test fails without this change and avoids the test anti-patterns

String literals only, so no tests were added. Existing type, lint and unit checks run in CI.

Gaps:

  • Not checked: how the longer text fits in the desktop dialog and on phone screens.
  • Not verified: whether already-released clients show this text correctly.

Performance

None. This only changes string literals shown when the Move confirmation opens.

Risk

Level: Low

The worst case is that the longer text wraps awkwardly in the dialog, mainly on small phone screens. Other languages keep their current translations until the follow-up lands. To back this out, revert the PR.

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

Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance

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)
  • I stated the risk: what could break, for whom, and how to back it out
  • 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)

The Move confirmations said Orca "removes it from {{agents}} settings and keeps
a backup". Move actually uses a new or existing entry on the host's list, tries
to remove only the copies still eligible when it runs, and backs up each
settings file before removing entries from it. Move all runs one server at a
time and stops at a failure.

Changes only the English values and caller defaults of mcpServers.moveMessage,
settings.mcpServers.move.line and settings.mcpServers.move.allLine. Keys and the
{{agents}} placeholder are unchanged; other locales follow separately.

Adds seeded synthetic tests for the promises the copy makes: per-row agents vs
the batch union, rolling .bak of a twice-edited file, reach shrink, reuse with
zero removals, omitted/[]/subset agents, an error after the host entry is
saved, a backup failure blocking the edit, a later sync owning the next backup,
Cancel sending nothing, and English lookup/fallback/interpolation.
…ch sync entry names

Test-only follow-up to c9dbb1d: replace type assertions with typed hoisted
state, guarded JSON/catalog readers and annotated fixtures, import the removal
module type by name, and expect the agent-file entry name production writes
(mcpAgentFileEntryName) instead of a pattern that missed the data-folder segment.
…rop copy/UI tests

host's -> host’s (U+2019) in mcpServers.moveMessage, settings.mcpServers.move.line
and settings.mcpServers.move.allLine, caller defaults and English leaves alike, as
the rest of the MCP copy does. Nothing else in the strings changes.

Removes the tests added earlier on this branch: per AGENTS.md they assert copy,
mocked UI dispatch or a mocked add, and none fails if the wording change is
reverted. The branch now changes only the three English strings.
@greptile-apps

greptile-apps Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · This text-only change appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This text-only change appears safe to merge.

Summary

Updates English Move confirmations on desktop and mobile.

  • Move confirmations explain where servers go and what gets removed.

Reviews (2) · Last reviewed commit: "fix(mcp-servers): typographic apostrophe..." · Reviewed by Greptile

@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The mobile and desktop MCP move confirmation text now describes using a new or existing host-list entry, attempting to remove eligible copies from agent settings, and backing up settings before removal. The bulk confirmation also states that servers are processed one at a time and processing stops if one fails.

Merge Risk: Minimal · up to ed1e4

This PR only rewords the Move confirmations on desktop and mobile so they match what Move does. The wording matches the inspected behavior, and no logic changes. The remaining unknown is whether the longer text fits well on small screens, which is minor.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "fix(mcp-servers): say what Move does in its confirmations" matches the main change. The PR rewrites the Move confirmation text in the MCP servers settings and mobile app so it describes wha…
Description check Passed The description follows the repository template. It has the ELI5, What Changed (before and after), Why, Visual Proof, Testing, Performance, Risk, AI Disclosure, and Checklist sections. The Visual Proo…
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: Title check

Explanation

The title "fix(mcp-servers): say what Move does in its confirmations" matches the main change. The PR rewrites the Move confirmation text in the MCP servers settings and mobile app so it describes what Orca actually does. The title is specific and does not describe unrelated work. It uses a conventional commit prefix, which is acceptable.

Full details: Description check

Explanation

The description follows the repository template. It has the ELI5, What Changed (before and after), Why, Visual Proof, Testing, Performance, Risk, AI Disclosure, and Checklist sections. The Visual Proof section gives a reason for N/A, and Risk gives a level and a rollback path. Gaps remain: the Linked Issue is marked N/A (maintainer change), and the Testing section leaves the manual-test box unchecked and states that the change was not manually tested. The Why section says the comparison was checked against comparable products but gives no details. These gaps are minor for a string-only change.

  • 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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 83439cbe-3b7d-4f7e-a4bf-d74ae4182051
Commits

Reviewing files that changed from the base of the PR and between 3effa67 and ed1e427.

Files selected for processing: 4

  • mobile/src/i18n/locales/en.json
  • mobile/src/mcp-servers/use-mcp-server-actions.ts
  • src/renderer/src/components/settings/mcp-servers/McpServersPane.tsx
  • src/renderer/src/i18n/locales/en.json

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

@AmethystLiang
AmethystLiang merged commit 1d0435c into main Nov 29, 2026
58 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.

1 participant