Read-Only macOS CI Storage Scan
Run the public GitHub Action in a macOS job, or use the standalone script on a local runner, to capture the storage evidence needed for a $99 Team Storage Pilot. It prints sizes and metadata only. It does not delete anything.
Run in GitHub Actions
Add this temporary diagnostic step before the failing build or after a no-space failure reproduction. The Action uploads a scan artifact and links this local preview tool from the workflow summary.
- name: SafeDisk read-only macOS storage scan
if: runner.os == 'macOS'
uses: liuminsheng3/safedisk-ci-scan-action@v1
Paste the macOS runner failure and get the next safe check.
Use this before deleting Xcode apps, simulator runtimes, DerivedData, or shared caches. Send the failing step and any disk evidence; we reply with the safest measurement or cleanup boundary.
Request the $99 macOS CI storage policy invoice.
Use this when a macOS runner, Xcode cache, simulator runtime, or build artifact problem keeps coming back. One representative read-only scan is enough to start.
Standalone script fallback
Use this when you cannot add a third-party Action, or when you want the same read-only report from a local self-hosted runner shell.
- name: SafeDisk read-only macOS storage scan
if: runner.os == 'macOS'
shell: bash
run: |
curl -fsSL https://site-xi-orcin-50.vercel.app/ci-macos-storage-scan.sh -o ci-macos-storage-scan.sh
bash ci-macos-storage-scan.sh "$RUNNER_TEMP"
ls -lh "$RUNNER_TEMP"/ci-macos-storage-scan-*.txt
What it captures
- Runner disk overview, image metadata, workspace path, temp path, and tool cache path.
- Xcode version, selected developer directory, DerivedData, Archives, DeviceSupport, and CoreSimulator sizes.
- SwiftPM, CocoaPods, npm, pnpm, Gradle, Homebrew, user caches, and large workspace files.
- Simulator runtime and unavailable device lists for review-first cleanup policy decisions.
How to use the report
- Run the Action in a representative failing macOS CI job or run the fallback script on a local runner.
- Attach the generated `ci-macos-storage-scan-*.txt` to a $99 Team Storage Pilot request.
- SafeDisk returns a first safe/review/do-not-touch runner cleanup policy draft within 48 hours after payment and scan receipt.
Local CI preview
Preview the runner policy before sending anything.
Upload or paste the generated CI scan. The preview runs in your browser and stores the scan only for checkout prefill.
Upload or paste `ci-macos-storage-scan-*.txt` to preview the runner cleanup policy.
Send the scan for review
Use the onsite request form for the $99 Team Storage Pilot invoice and paste the generated CI scan.