Files
orca/mobile/app
Jinwoo-HandOrca 372ef4adef fix(mobile): unreachable UX cleanup + ws diagnostics
- Drop the unreachable banner (Re-pair / Retry / Remove) from the
  worktree-list view; the same actions are reachable from the host
  action sheet, and the home screen surfaces the verdict text per host.
- Header now shows just the status dot + Reconnect button (when
  applicable). The dot color reflects the verdict severity (red for
  unreachable / auth-failed, amber for warning / reconnecting) so it
  matches the home-screen label color.
- Resume + Account-usage cards only render for currently-connected
  hosts. Showing stale cached data for a disconnected host implied live
  data; now both sections drop out and reappear when the host
  reconnects.
- Drop the Resume skeleton — Account usage handles absence by simply
  not rendering, Resume now does the same. Less asymmetric UX.
- rpc-client: inline rich diagnostic logs in ws.onclose / ws.onerror
  (constructToCloseMs, aliveMs, inboundIdleMs, eventKeys, eventStr)
  + connection-construction context (wsCount, msSinceLastConnected,
  msSinceLastClose, msSinceLastInbound) so we can distinguish the
  intermittent 'force-quit-fixes-it' failure modes (RN/OkHttp
  process-state poisoning vs router NAT wedge vs transient blip).
  Helpers are inlined per-handler, immune to hot-reload closure races.

Co-authored-by: Orca <help@stably.ai>
2026-05-06 21:08:18 -04:00
..