fix(ci): free more disk space and add nix fallback for cache mismatches
Merged
SH
4mo ago+15+15+01234567890123456789-3-3-0123456789
Summary
- Enable
tool-cache: trueand explicit category flags infree-disk-spaceaction for both E2E and Docker workflows to reclaim ~5GB additional disk space (fixesNo space left on deviceduring nix build on Ubuntu) - Add
--fallbacktoNIX_FLAGSin Makefile andfallback = trueto nix.conf in Dockerfile and E2E workflow, so nix builds from source when binary cache returns hash mismatches (fixes arm64 Docker build failure:hash mismatch importing path .../cyrus-sasl-2.1.28-dev)
Test plan
- E2E (Ubuntu) job completes without disk space exhaustion
- Docker (linux/arm64) job completes without nix cache hash mismatch errors
- E2E (MacOS) and E2E (NixOS) jobs remain green
- Docker (linux/amd64) job remains green
🤖 Generated with Claude Code
Summary by cubic
Free up more disk space on Linux runners and add Nix fallback to fix CI build failures. This prevents “No space left on device” and handles cache hash mismatches, stabilizing E2E and Docker builds (including linux/arm64).
- Bug Fixes
- E2E and Docker workflows: enable
tool-cache: trueand explicit categories injlumbroso/free-disk-space@v1.3.1to reclaim ~5 GB. - Nix: set
fallback = truein nix.conf (Dockerfile and E2E) and add--fallbacktoNIX_FLAGSin the Makefile so builds continue from source on cache mismatches.
- E2E and Docker workflows: enable