A day on a rented Mac

A day on a rented Mac

A checklist for one day on a cloud Mac. The first such day, before 1.6.0, was Kalamu’s first run on real Apple hardware, with the Mac App Store build and the App Store screenshots (decision). This is the second: what that day did not write down as tried, and everything written since, which CI builds and tests on macOS but no one has opened on a Mac. The Windows share is in windows-test-pass.md.

A virtual Mac on a Windows PC is ruled out by Apple’s licence (macOS runs only on Apple hardware) and would not run the Apple Silicon build anyway; a rented Mac mini is real hardware, controlled from Windows over VNC. Apple’s licence makes 24 hours the shortest rental, so plan the day to use it.

Each step has a letter and a number, which the results name. Tick each box, and write what went wrong in Results as you go: the screen, what was done, what was expected, what happened. A screenshot of anything odd costs nothing and saves guessing later.

What CI now does of it. WKWebView has no driver, so the App driven workflow’s Mac job only starts a test build (a debug build with its own data folder and the providers at a stand-in), from its app bundle and from a disk image, checks that it opens its database, and quits it (decision); the flows themselves run on Windows, which covers the Windows list’s steps marked CI for the shared code but not for WebKit. Here one step is done by CI in part (A2), marked CI, in part: every step is still left by hand, one of them shorter.

Before booking

Everything here costs nothing and makes the rented hours count.

If Claude runs the day, on the Mac itself

The Claude desktop app runs on the rented Mac, takes control of it and works through the whole list there: commands in its own terminal, and the screens with computer use on the Mac’s own display, at full resolution. That is faster and surer than driving the Mac from the PC through a VNC window. It starts as a fresh session: the checklist and the brief below are all it needs. What it does not do: book or pay, type a password, sign in to an account, paste an API key into a field, or change a system setting.

You do, at the start (30 minutes):

You do, when Claude asks during the day:

You do, at the end (before giving the Mac back, below): copy ~/kalamu-test-day to the PC, then sign out of Claude (Settings → Log out) as well as the Apple ID, revoke the keys and delete the server. Keep GitHub off the rented Mac: the repository is public, so nothing there needs a login, and the results come back to the PC to be turned into issues.

Claude does: opening the disk image, launching the apps, the steps on screen (jobs, reviews, dialogs, folder pickers, closing and quitting), every check that reads files (the data folder, the container, grants.json, the logs, results beside the sources), the programs running (pgrep), the test disk image with hdiutil, and the results file. With VoiceOver on, its caption panel shows on screen what it says, so Claude can read it. Safari is read-only to computer use, so downloads go through the terminal; anything it cannot check (the player’s sound) is written down as such.

The brief to paste:

Today is a test day for Kalamu, a desktop app for researchers (https://github.com/fmadore/Kalamu), on this rented Mac with Apple Silicon. The disk image and kalamu-samples.zip are already in this folder.

1. Download the two checklists into this folder (the repository is public; do not log in to GitHub on this Mac):
   https://raw.githubusercontent.com/fmadore/Kalamu/main/docs/mac-test-day.md
   https://raw.githubusercontent.com/fmadore/Kalamu/main/docs/windows-test-pass.md (Part B of the Mac's list sends you to its Parts B, C and G)
2. Work through mac-test-day.md, Parts A to E, in order. Skip "Before booking", "If Claude runs the day" and "Booking and first connection" except its display and quiet-desktop steps. Part F only if I ask.
3. A file copied with scp is not quarantined, so before opening the disk image mark it as a browser would, to test Gatekeeper's first-open question:
   xattr -w com.apple.quarantine "0081;$(printf %x $(date +%s));Safari;" Kalamu_*_aarch64.dmg
4. Write results.md in this folder after each step, not at the end: the step's letter and number, then passed, failed or not tried. For a failure: what you did, what you expected, what happened, and a screenshot in problems/. For "not tried": why.
5. I agree now to: the consent dialog at the first send to Gemini and Mistral, for the sample files only; and any job the checklist asks for whose estimate, which you read before starting, is under $0.25, up to $3 in all. Ask me for anything beyond that.
6. Stop and ask me whenever a step needs a password, an Apple ID sign-in, a key in Kalamu's Settings, or a system setting (keyboard navigation, VoiceOver): I do those, you never do.
7. Do not change Kalamu's files, settings outside the app, or anything outside this folder and the app's own data, except what a step asks for (the test folder with accents, the test disk image, ending Kalamu in Part D).
At the end, summarise what failed, what you could not try (for instance the player's sound), and what passed, in that order.

Booking and first connection (30 minutes)

Part A: the disk image (2 hours)

The notarised app, as a researcher installs it. The first day tried the Mac App Store build; most of this was never written down for the disk image.

Part B: what was written since 1.6.0, in WebKit (7 hours)

Part C: keyboard and VoiceOver (1 hour)

WebKit skips buttons with Tab unless the system’s Keyboard navigation is on, so each step is done twice: with it off, then on (yours to switch).

Part D: after a crash or a Force Quit (30 minutes)

Part E: the Mac App Store build, through TestFlight (2 hours)

After the other parts, on the same Mac: the store app then finds the disk image’s data, as a researcher switching over would.

Part F: screenshots, only if the listing’s scenes changed

The ten scenes, captions and the files each one uses are in store-listing.md, with “your Mac” for “your PC” in the tenth. They were taken on the first day. Scenes 5 and 7 changed in 1.10.0: take search by meaning (05-search.png) and screening (07-screening.png), and remove 05-dictionary.png and 07-analysis.png from store/screenshots/macos/. Take another again only if its screen has changed since, from the TestFlight build, in light mode, with Do Not Disturb on, at the size of the others. Use only the listing’s material; nothing else goes in a shot, since everything legible in it counts as the listing’s text.

Before giving the Mac back (30 minutes)

The sign-off

The day ends in the same approval as the Windows pass (windows-test-pass.md): the release environment’s, on the run of the final tag v<version>, which waits at Publish the release until the maintainer chooses Review deployments → release → Approve and deploy (development.md). It is given once for both systems, by the maintainer; Claude, running the day, never gives it.

For the Mac, approving asserts that the disk image tried on the rented Mac is the one the release candidate named in the run’s Release gate step built (v<version>-rcN), that Part A passed on it (signed, notarised, opened by Gatekeeper without a warning), that no failure in Results should hold the release, and that what was not tried on a Mac is in the release notes’ Known limitations. When no Mac day was held for this version, the release notes say so, and the approval asserts that nothing in it changed what only a Mac can show.

Results

One line per failure, and an issue for each real problem.

Part Step What happened Issue
       

Afterwards, in the repository: