mirror of
https://github.com/utmapp/utmapp-runner.git
synced 2026-12-01 07:53:18 -10:00
The runner's disk filled up and sysroot builds died with "No space left on device". 59 GB of it was two simulators' wallpaper snapshots (PRBPosterExtensionDataStore): a simulator renders them again at every boot and keeps the old ones, and nothing here ever touched device data. In the job hook, erase every simulator that is shut down and has been booted since its last erase. The runners share one set of devices, so the hook never shuts one down, and simctl refuses to erase a booted one. In the weekly cleanup, which runs with every runner idle, shut all of them down and erase them, for a device that is always in use when a job ends. simctl erase fails on a full disk, so this keeps the disk from filling but cannot recover one that already has. Co-Authored-By: Claude Fable 5.2 <[email protected]>