SafeDisk AI

GitHub Actions macOS Runner No Space Left

When a macOS CI job fails with `No space left on device`, the fix should be a repeatable runner policy, not a random cleanup command pasted into every workflow.

CI deletion judgment

Find what the runner can delete.

Leave your email now; the scan summary or failing job link can follow after the first reply. We send the free SafeDisk AI deletion trial step only if deletion risk is still unclear.

Add command output optional

Free trial step. We reply first with a delete / confirm / protect judgment or one read-only detail we still need.

Preview CI policy Ask AI about one file

Common high-risk sources

Safer CI deletion judgment

  1. Print disk usage before cleanup so failures are diagnosable.
  2. Remove workflow-local build output and dependency caches with the owning tool first.
  3. Clean Xcode DerivedData and ModuleCache only after the job no longer needs those artifacts.
  4. Review simulator runtime deletion separately; deleting the wrong runtime can break later jobs.
  5. Print disk usage after cleanup and keep the numbers in the build log.

Starter commands

df -h
du -sh ~/Library/Developer/Xcode/DerivedData 2>/dev/null || true
du -sh ~/Library/Developer/CoreSimulator 2>/dev/null || true
du -sh ~/Library/Caches 2>/dev/null || true
xcrun simctl delete unavailable || true

Turn this into a runner deletion judgment

Copy the read-only size check first. If the output still needs judgment, send the result for review before pruning volumes or resetting state.

Free AI deletion trial

Need a delete / confirm / protect answer for this runner?

Submit the form first; the failing job link can follow. We check whether free guidance is enough before asking for the free SafeDisk AI deletion trial.

Add output optional

Start with email. Output can follow after the first reply.