Files
osyandClaude Fable 5.2 61524e04d2 Erase the simulators after jobs and in the weekly cleanup
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]>
2026-11-15 10:46:04 -08:00
..