Ask every container to clean up test artifacts and build caches #88

Merged
jknapp merged 1 commits from feat/cleanup-instructions into main 2026-11-29 22:23:12 +00:00
1 Commits
Author SHA1 Message Date
shadowdaoandClaude Opus 5.5 479e2c1b5b feat(container): ask every container to clean up test artifacts and build caches
Secret Scan / scan (push) Successful in 15s
Build App (Preview) / compute-version (pull_request) Successful in 6s
Secret Scan / scan (pull_request) Successful in 7s
Build App (Preview) / create-release (pull_request) Successful in 2s
Build App (Preview) / build-macos (pull_request) Successful in 7m11s
Build App (Preview) / test (pull_request) Failing after 11m31s
Build App (Preview) / build-linux (pull_request) Successful in 26m2s
Build App (Preview) / build-windows (pull_request) Successful in 26m46s
Build App (Preview) / prune-previews (pull_request) Successful in 13s
The host's Docker daemon is shared and never pruned for the user. Leftover
test images, build cache and language caches from finished work reached
~1.35 TB on one machine (one home volume held 258 GB of go-build cache).
Add a built-in CLEANUP_INSTRUCTIONS section, appended to every container's
CLAUDE.md like the file-link section, naming what to clean and the app's own
resources (triple-c-* containers, snapshot/sandbox images, home/config
volumes) that must never be touched.

Part of the instructions fingerprint, so each container is recreated once on
its next start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:40:38 -08:00