SPB Git

Repository Public

macos-test-report.md 7.3 KB

# macOS

Machine: this Mac (macOS 27.0, Xcode 27.2), 2026-11-20. Backend: the native dev stack on M5M36 through a private SSH tunnel (localhost:8626 → 127.0.0.1:8625), fixture account nativedev, never production. During most of the session the screen was locked; it was unlocked later while another session was driving its own app in front.

# Automated

Command Result
Apps/macOS/Scripts/test.sh 49 tests, 0 failures (** TEST SUCCEEDED **), hosted in the Debug app, stubbed server
Apps/macOS/Scripts/build.sh debug all ** BUILD SUCCEEDED ** for ClaudeRemote and CodexRemote, 0 warnings
Apps/macOS/Scripts/build.sh release-build all ** BUILD SUCCEEDED ** for both (Release, unsigned compile check), 0 warnings
Apps/macOS/Scripts/release.sh all both archives built, Warnings : 0 each, universal x86_64 arm64
xcodebuild … -scheme ClaudeRemoteUITests build-for-testing ** TEST BUILD SUCCEEDED **
Apps/macOS/Scripts/ui-test.sh not run — see below

Unit tests (Apps/macOS/Tests/Unit): split tree and workspace state (split, close, focus, one pane per session, presets, persistence, repair of corrupted state) · unified diff parser, line comparison, git porcelain letters · syntax highlighter and Markdown blocks · launch arguments · limits, error messages, countdown, breadcrumbs, file kinds, form validation, list filters on kit fixtures · Handoff / Spotlight / Shortcuts payloads carry ids only · RFC 6238 vector for the debug TOTP helper · sign-in form on a stubbed server (password → TOTP, wrong password, 429 lockout countdown) · route → navigation mapping, pending route waits for sign-in, the other product's links are refused · terminal appearance from shared + local settings · exclusive ownership of a terminal view · off-screen render of the cluster screens and of Home from kit fixtures, both brandings, light and dark (PNG written and looked at).

XCUITest. Tests/UI/CoreFlowUITests.swift (sign-in, sessions, a private shell session, split, search, files, system, cluster empty state, sign-out) compiles. It was not executed: with the screen locked the runner hung; once the screen was unlocked another session's app was frontmost and XCUITest sends real key and mouse events to whatever is in front. ui-test.sh now refuses to start on a locked screen.

The kit was not modified, so its own suite was not re-run by this workstream.

# Manual run on the dev stack (Debug build, scripted through crctl, no key or mouse events)

Step What was observed
Sign-in password + TOTP (-CRDevLogin) auth=signedIn, event stream online, measured latency shown; audit log lists auth.login / auth.totp
Sessions list fixture shell + sessions created by other clients appear and update live
Terminal of a private shell session command sent through the stream, output read back (mac-ok-42); ANSI colours rendered; tput cols / tput lines = 91 × 38 = the size shown in the pane header
Resize window 1320 → 1100 wide: 44 × 38 → 30 × 32 reported by the controller
Split right then down: three panes, one session per pane, second pane on the fixture shell (attached, 44 × 18)
Reconnect tunnel killed by PID: banner "Reconnecting (attempt n)… The session keeps running", toolbar "Reconnecting"; tunnel restored: both panes open, reconnects=1; echo $$ = 30175 before and after, server ps shows the same zsh -l started before the cut
File edit with conflict file changed from the shell after opening, then saved from the editor: 409 banner; Compare shows − server-change / + my local edit; Overwrite saved, cat on the server confirms
Git changes branch, staged / not staged, unified diff with line numbers
Task with live log lines appear one per second while Running; then Succeeded, exit 0, duration, CPU time, peak memory, Retry enabled (idempotent); cancel and retry verified on a second task
Cluster honest empty state ("No cluster telemetry … Nothing is assumed online")
System components with check times, host metrics, counts, CLI "not authenticated", audit log
Deep links open -g -a <Debug app> clauderemote://system/, …/terminal/?s=<id>, …/files/?p=<id>&path=…, …/cluster/?view=apps navigate the existing window; codexremote://tasks/ is ignored by Claude Remote
Session in its own window terminal moves to the new window; the main pane shows "open in another window / Show It Here"
App lock lock screen shown and dismissed with the development authenticator (no system prompt)

Screenshots (window capture by window id) are in docs/evidence/macos/: claude-light-* (28 screens), claude-dark-*, codex-light-*, codex-dark-* (10 main screens each), flow-* (reconnect, conflict, task log, own window), fixture-* (cluster and Home rendered from fixtures — not live data), release-* (the notarized apps launched from /Applications).

# Defects found by looking at the screenshots, and fixed

Blank terminal when the window is not visible (SwiftTerm pauses its display link: debug switch for captures) · terminal text against the pane edge · git letters . of porcelain v2 treated as "staged" · compare sheet without hunk header · status shown as a bare dot in lists · pid printed with a thousands separator · truncated project header button · sign-in form not centred and a white title bar strip · every URL event opening one more main window · rows inserted live in Sessions / Tasks drawn at half height · file size wrapping vertically next to a git badge · task filter clipped in a narrow column.

# Not verified

  • Passkeys (sign-in, second factor, adding one), Touch ID (app lock, re-authentication) and universal links: they need the owner, the signed app and production. Not attempted.
  • Keyboard and mouse: no key or mouse event was sent. Menu shortcuts, the agent's interactive prompts with the hardware keyboard, copy / paste, divider dragging, drag-and-drop upload and drag-out are implemented and unexercised.
  • Real agent session: the dev stack runs a fake agent; "waiting for input", conversations and resume were not seen live.
  • Upload / download / Quick Look / file operations through the UI, artifact download, MCP add / remove / test, skill enable / disable, device revocation, project create / unregister, session rename / archive / terminate from the UI.
  • System notifications (macOS authorisation never answered), the real menu bar status item (its content was captured in a debug preview window), Handoff to another device, Spotlight results, Shortcuts.
  • Release build behaviour beyond launch: only the sign-in window was seen.
  • Known cosmetic defects left in 1.0.0 (1): the detached terminal window's toolbar shows the session state as a bare dot and clips the latency at the right edge; JetBrains Mono is not bundled (system monospaced font is used).

# Side effects on the shared dev stack

A shell session mac-check-A (terminated at the end), ~10 short tasks titled mac check, a file mac-check.md and a git repository initialised in the fixture project (git init + one commit) to exercise the git views; several macos devices remain in the account's device list (one per launch, in-memory keychain). A reset of the stack removes all of it.

Files main
Menu

Theme