From a30a4eb145aed65058886c3afdc2d273e3910990 Mon Sep 17 00:00:00 2001 From: Alexy Khrabrov Date: Sun, 20 Sep 2026 05:56:18 -0700 Subject: [PATCH] CI: free runner disk before building, and drop the benchmark build before packaging main's workspace run on d6ecf31 failed in release package verification with 'No space left on device' while compiling surrealdb-core. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/workspace.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index 091b1802..48a2484d 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -23,6 +23,16 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 90 steps: + # This job builds the all-features workspace, the benchmark runner in its + # own target directory, and every crate again for package verification. It + # ran out of disk in package verification on d6ecf31, having passed near + # the limit before. None of these preinstalled toolchains is used here. + - name: Free runner disk + run: | + df -h / + sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL + df -h / + - name: Check out Grust uses: actions/checkout@v6 @@ -82,6 +92,10 @@ jobs: done exit 1 + # The benchmark runner's build is done with; packaging rebuilds every crate. + - name: Drop the benchmark build + run: rm -rf benchmarks/lsqb/target && df -h / + - name: Release package verification run: cargo package --locked --workspace --allow-dirty