• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / cli / 28107421865

24 Jun 2026 02:51PM UTC coverage: 64.896% (-0.02%) from 64.914%
28107421865

push

github

web-flow
ci(cli): free disk space before building cross-compiled binaries (#5685)

Prevent non-deterministic "no space left on device" failures during CLI
artifact builds on GitHub-hosted runners.

The `build.ts` script cross-compiles 8 Bun binaries (each embedding the
full Bun runtime) plus 6 Go binaries in parallel, then writes archives
and Linux packages. This can exceed the ~14 GB free space available on
GitHub-hosted ubuntu-latest runners depending on which runner the job
lands on.

**Changes:**
- Add a disk cleanup step before the build that removes preinstalled
toolchains (~25 GB) not needed for the build
- Gate the cleanup to GitHub-hosted runners only (via `cache_key_suffix
== '-github'`) since Blacksmith runners have ample disk
- Preserve tool-cache and swap-storage to avoid breaking the Go build
and protect against OOM during parallel compilation

Uses the supabase fork of `jlumbroso/free-disk-space` action.

https://claude.ai/code/session_01F3styA6bbVgjcQbpkuzTvY

Co-authored-by: Claude <noreply@anthropic.com>

10887 of 16776 relevant lines covered (64.9%)

10.34 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.09
/internal/debug/postgres.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc