Repository navigation
fix(mcp-servers): say what Move does in its confirmations - #51996
Conversation
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.
[Low impact] This text-only change appears safe to merge. SummaryUpdates English Move confirmations on desktop and mobile.
Reviews (2) · Last reviewed commit: "fix(mcp-servers): typographic apostrophe..." · Reviewed by Greptile |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
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.
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.
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
String literals only, so no tests were added. Existing type, lint and unit checks run in CI.
Gaps:
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
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)