SafeDisk AI

CI Artifact And Test Temp Disk Full Policy

When CI fails with No space left on device after tests pass or near artifact upload, the root cause is often peak temporary storage: test outputs, binlogs, fixture fanout, Docker image archives, Playwright/browser artifacts, or a scratch directory that is never pruned between shards.

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.

Run free GitHub Action

Add command output optional

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

See sample result Ask AI about one file

Runbook: Budget The Upload And Scratch Peaks

  1. Measure disk before tests, before artifact upload, and after upload. Many failures happen after the test result exists.
  2. Track each mount separately: root, workspace, /tmp, Docker root, tool cache, and runner temp.
  3. Classify outputs as reusable cache, generated test scratch, required failure evidence, or upload-only artifacts.
  4. Prune generated scratch only after the shard has uploaded the evidence needed for debugging.
  5. Add a hard free-byte reserve before the next shard, Docker image archive, or artifact upload starts.
  6. When failing early, report the largest bucket and the first safe cleanup action.
Copy-ready issue reply

Use this when CI passes work but fails on storage.

This keeps the discussion focused on peak storage ownership instead of a vague cache cleanup.

I would treat this as a CI peak-storage budget problem, not just generic runner cleanup.

The useful evidence is:
- free bytes before tests
- free bytes before artifact upload
- top workspace/temp/report/artifact directories
- whether Docker/kind/image archives create a second full copy
- which outputs are required for failure diagnosis versus generated scratch

Acceptance rule: every shard should leave enough reserve for the next shard or upload step, and cleanup should only remove generated outputs after required logs/artifacts are uploaded.

Do Not Delete First

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.