You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(mobile): say "host" instead of "desktop" in phone copy and tell same-email Codex logins apart - #43804
The phone can pair straight to an Orca server, not just to a desktop. When that server was too old, or still connecting, the phone told the user to "Update Orca on your computer" or showed "Waiting for desktop...". There is no desktop in that setup. The phone now says "this host" instead, which is true for both a desktop and a server.
Separately, two Codex logins that share one email used to look identical on the phone. Desktop tells them apart by workspace or by the start of the account id. The phone now does the same.
Files
Added
Deleted
Net
Test
0
0
0
0
Prod
52
$\color{#1a7f37}{\Huge{\mathbf{+}}}$485
$\color{#cf222e}{\Huge{\mathbf{−}}}$683
$\color{#cf222e}{\Huge{\mathbf{−}}}$198
What Changed
Host copy: the phone used to hard-code the host as "desktop" or "your computer". Now it says "host":
the protocol block screen: title, too-old body, the mobile-too-old bodies and the refresh-workspace body;
the "update required" messages for starting an agent, Source Control, review, Jira, Tasks and long structured answers;
the notification delivery hint;
the offline state title and body;
the workspace options save status.
"Waiting"/"Connecting" strings: 16 per-file "Waiting for desktop..." keys are now one common.waitingForHost key, and the two "Connecting to desktop..." keys are now common.connectingToHost. The old keys are gone from every locale.
Translations: every locale is updated. Each uses the word for "host" it already uses elsewhere (for example ru "сервер", tr "sunucu", ja "ホスト").
Codex account labels:getCodexAccountDisplayDetail and getCodexAccountDisplayLabel moved from src/renderer/src/lib/provider-accounts/ to src/shared/agent-accounts/ with no changes. The phone now uses them:
Accounts screen rows: subtitle and accessibility label;
Home usage cards: subtitle;
the Codex reset-credit confirm dialog.
Unnamed accounts that share an email now show a workspace or id-prefix detail, as they do on desktop.
Golden: the pr-triage-update-required RPC golden is re-recorded for the new message.
Why
The copy is neutral instead of switching on host kind. The phone can't reliably know the host kind on these screens:
The block screen appears exactly when the versions don't match.
desktopWindowStatus reports openable for an Electron serve with no window, so it doesn't mean "server" either.
The screens already said "try this host again", and #43361 and the agent-history "Waiting for host…" copy made the same choice.
The Codex labels come from desktop's own helper, moved to shared code, rather than a second copy in mobile/.
Not changed:
The Accounts footer "Add or re-authenticate accounts from desktop Settings → Accounts". Server accounts are also managed from desktop Orca's Settings, so it is still true.
GITHUB_DESKTOP_UPDATE_REQUIRED. It deliberately names the paired desktop that relays to a server.
Linked Issue
None. This fixes the surface-parity audit gaps PL-G25 (the phone calls a server "desktop") and PL-G10 (Codex accounts by bare email on the phone).
Visual Proof
The protocol block screen for a host that is too old, rendered from the real ProtocolBlockScreen through the mobile web page build at 390 px wide.
Before:
After:
Testing
Before/after renders of the block screen through the mobile web bundle build (above).
verify-mobile-localization passes: every call site has an English entry, no removed key is still referenced, and placeholders are unchanged.
Mobile typecheck, oxlint and oxfmt pass on the changed files.
Focused mobile tests pass:
the RPC recordings, with pr-triage-update-required re-recorded;
the file explorer, source-control loader, git request, diff loading, diff snapshot and Jira connection tests;
src/tasks.
pnpm check:changed passes.
Platforms: macOS only. Copy and labels only, nothing platform-specific.
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
No new tests: the change is copy plus wiring to an existing shared helper, and tests that pin copy are on the anti-pattern list.
Risk
Low. The change is mostly copy.
Nothing on the wire changes, so older hosts and phones are unaffected. An older host serving its own page bundle keeps its own copy.
Riskiest part: the translations. A poor translation would show odd wording, not a broken flow.
The Codex label change only adds a detail line when accounts share an email or have a workspace.
To back it out, revert the PR.
Level: Low
AI Disclosure
Review
Two review rounds, each with Codex and a Claude subagent.
Round 1 found three issues, all fixed:
With no paired hosts, the notification hint would have told the user to update hosts that don't exist. It is now "Pair an updated host…".
The "Connecting to desktop..." strings next to the changed "Waiting" strings still said desktop.
The "Update Orca desktop" sibling strings still said desktop.
Round 2 had nothing above P3. Fixed: the reset-credit dialog now uses the shared Codex label. Left: two remaining "your computer" fallbacks, worktree.hostWorkspaceListStates.checkHost and session.useCloseActions.closeFailedDesktopNotReady.
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
Mobile: copy only, plus a shared label helper. No new RPCs, and no change for older hosts.
Folder workspaces, SSH and platforms: unaffected.
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)
No actionable comments were generated in the recent review.
Walkthrough
Mobile update and compatibility messages now refer to the host across supported locales. Disconnected file, source-control, and diff-review states use shared host-waiting translations. Mobile account rows, usage cards, and reset-credit descriptions use Codex-specific display helpers. Renderer account modules import those helpers from the shared agent-accounts module. The PR triage recording updates its launch ID and update-required message.
Merge Risk: Minimal · up to 00dbe
This PR changes mobile wording from desktop to host and adds Codex account detail labels so same-email accounts can be told apart. No behavioral or performance risk was identified in the supplied changes, so it looks ready to merge.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the two main changes: mobile copy now says "host" instead of "desktop", and same-email Codex logins are distinguished. Both are central to the diff, and the title's conventional-commit…
Description check
The description follows the template closely. It covers ELI5, What Changed, Why, Linked Issue, Visual Proof (before/after images), Testing, Risk with level, Review, Agent skill boundary, Notes, and Ch…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the two main changes: mobile copy now says "host" instead of "desktop", and same-email Codex logins are distinguished. Both are central to the diff, and the title's conventional-commit format is clear.
Full details: Description check
Explanation
The description follows the template closely. It covers ELI5, What Changed, Why, Linked Issue, Visual Proof (before/after images), Testing, Risk with level, Review, Agent skill boundary, Notes, and Checklist. The AI Disclosure section is empty, which the template allows for stablyai team members, but the author's status is not stated. The Linked Issue section says 'None' and refers to audit gaps rather than an issue, which conflicts with the template's requirement that outside contributors link a real issue.
Resolution
Confirm whether the author is a stablyai team member. If the author is an outside contributor, link a real issue in the Linked Issue section, since 'None' does not meet the template requirement. Fill in AI Disclosure if AI tools were used, or confirm it is not needed.
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.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
The phone can pair straight to an Orca server, not just to a desktop. When that server was too old, or still connecting, the phone told the user to "Update Orca on your computer" or showed "Waiting for desktop...". There is no desktop in that setup. The phone now says "this host" instead, which is true for both a desktop and a server.
Separately, two Codex logins that share one email used to look identical on the phone. Desktop tells them apart by workspace or by the start of the account id. The phone now does the same.
What Changed
Host copy: the phone used to hard-code the host as "desktop" or "your computer". Now it says "host":
"Waiting"/"Connecting" strings: 16 per-file "Waiting for desktop..." keys are now one
common.waitingForHostkey, and the two "Connecting to desktop..." keys are nowcommon.connectingToHost. The old keys are gone from every locale.Translations: every locale is updated. Each uses the word for "host" it already uses elsewhere (for example ru "сервер", tr "sunucu", ja "ホスト").
Codex account labels:
getCodexAccountDisplayDetailandgetCodexAccountDisplayLabelmoved fromsrc/renderer/src/lib/provider-accounts/tosrc/shared/agent-accounts/with no changes. The phone now uses them:Unnamed accounts that share an email now show a workspace or id-prefix detail, as they do on desktop.
Golden: the
pr-triage-update-requiredRPC golden is re-recorded for the new message.Why
The copy is neutral instead of switching on host kind. The phone can't reliably know the host kind on these screens:
desktopWindowStatusreportsopenablefor an Electron serve with no window, so it doesn't mean "server" either.The screens already said "try this host again", and #43361 and the agent-history "Waiting for host…" copy made the same choice.
The Codex labels come from desktop's own helper, moved to shared code, rather than a second copy in
mobile/.Not changed:
GITHUB_DESKTOP_UPDATE_REQUIRED. It deliberately names the paired desktop that relays to a server.Linked Issue
None. This fixes the surface-parity audit gaps PL-G25 (the phone calls a server "desktop") and PL-G10 (Codex accounts by bare email on the phone).
Visual Proof
The protocol block screen for a host that is too old, rendered from the real
ProtocolBlockScreenthrough the mobile web page build at 390 px wide.Before:
After:
Testing
Before/after renders of the block screen through the mobile web bundle build (above).
verify-mobile-localizationpasses: every call site has an English entry, no removed key is still referenced, and placeholders are unchanged.Mobile typecheck, oxlint and oxfmt pass on the changed files.
Focused mobile tests pass:
pr-triage-update-requiredre-recorded;src/tasks.pnpm check:changedpasses.Platforms: macOS only. Copy and labels only, nothing platform-specific.
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
No new tests: the change is copy plus wiring to an existing shared helper, and tests that pin copy are on the anti-pattern list.
Risk
Low. The change is mostly copy.
Level: Low
AI Disclosure
Review
Two review rounds, each with Codex and a Claude subagent.
worktree.hostWorkspaceListStates.checkHostandsession.useCloseActions.closeFailedDesktopNotReady.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)