Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: auto-prune Docker before each oven build to prevent disk-full

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+9
+9
oven/native-builder.mjs
··· 349 349 repoDir, 350 350 ); 351 351 352 + // Auto-cleanup: prune Docker + old build artifacts to prevent disk-full failures. 353 + addLogLine(job, "stdout", "Preflight: freeing disk space..."); 354 + await runPhase(job, "preflight-cleanup", "bash", ["-lc", [ 355 + "set -euo pipefail", 356 + "docker system prune -f --volumes 2>/dev/null | tail -1 || true", 357 + "rm -rf /tmp/oven-vmlinuz-* /tmp/ac-build-* 2>/dev/null || true", 358 + "df -h / | tail -1", 359 + ].join("\n")], repoDir); 360 + 352 361 // Resolve ref from git HEAD if manual trigger didn't provide one 353 362 if (!job.ref || job.ref === "unknown") { 354 363 const headRef = await runSync("git", ["rev-parse", "HEAD"], repoDir);