PLAN.md has what the smoketest runs left open; TEST.md says which scenarios to run when, and what to test by hand on a Mac. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.7 KiB
2.7 KiB
Plan
Work to do, roughly in order. Tests to run are in TEST.md.
Backups without Full Disk Access
Without Full Disk Access, reading some folders makes macOS ask, and restic waits for the answer, which no one gives at night. system/backup leaves out the ones the smoketest found: Desktop, Documents, Downloads, ~/Library/Containers, ~/Library/Group Containers, ~/Library/Photos and Photos libraries in ~/Pictures.
- Find the rest on a Mac that's in use. The smoketest VM has no
~/Library/Calendarsor~/Library/Reminders, so whether they ask is unknown. Run a backup without Full Disk Access on a Mac with Calendar, Reminders, Contacts and Photos data, and check tccd's log forAUTHREQ_PROMPTINGfromcomputer.federated.connector.backup(see TEST.md). - Notice a stuck backup. A restic stuck on a prompt ignores TERM, and only KILL stops it. Today a new prompt would hang the backup until someone answers it, with no notification. Consider a time limit, or a notification when a backup has run for hours.
SFTP folders
- Check on a Mac with macOS 26 whether
pluginkit -m -A -D -p com.apple.fskit.fsmodulelists macFUSE's module once macFUSE is installed. In the VM it doesn't, even afterpluginkit -aandlsregister. If it doesn't on a Mac either,fskit_enabledcan never tell. Thenadd_sftpnever shows how to turn the extension on. Instead it mounts, waits 30 seconds and only then hints at it. If so, treat "can't tell" as off and show the instructions first, or find another way to tell.
Smoketest coverage
- Make a VM image that allows apps from identified developers. Without it,
70-appsskips installing Element, Nextcloud and Tailscale, because the vanilla image allows only App Store apps and only a click can change that. The README says how. The same image could also have macFUSE installed with its extension turned on, so85-sftpcould test mounting. - Look out for more timing races like the one in
30-core-local, where an app opened again while it was still quitting failed with -600. It failed once in three runs.
Tidying
xml_escapeis copied intoconfigure.d/lib/profile.sh,configure.d/20-backup.shandconfigure.d/60-storage.sh. Have the two items sourcelib/profile.sh(or move it to a shared lib), so a fix lands once. Bash 3.2 kept the backslash in${s//&/\&}in all three.
Open questions
- The first smoketest run on a Mac couldn't ssh to its first three VMs ("No route to host"), then could. That fits macOS asking for Local Network access for the terminal app, but it wasn't confirmed. If it happens again,
smoketest/runnow shows ssh's error and points to System Settings > Privacy & Security > Local Network.