From 55f5bc27ada5a2c0216fc28fdfdbafbc02871990 Mon Sep 17 00:00:00 2001 From: "Molecule AI Dev Engineer A (Kimi)" Date: Mon, 25 May 2026 17:02:24 +0000 Subject: [PATCH] ci(tests): disable setup-uv cache on act_runner to prevent /tmp disk pressure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit act_runner containers share /tmp across jobs. setup-uv writes its wheel cache to /tmp/setup-uv-cache by default, which fills the partition and breaks subsequent runs with: No space left on device (os error 28) Caching is useless on ephemeral runners anyway — the cache directory is discarded when the container exits. Disabling it avoids the disk-pressure regression without adding download time (the uv binary is already pinned to a direct download URL, and each job only installs dependencies once). Fixes #17 Test plan: next push to main should run Tests/test and Tests/e2e without writing to /tmp/setup-uv-cache. Monitor runner disk usage to confirm no "No space left on device" errors. Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/tests.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index bda7ce86..c353b82c 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -76,6 +76,12 @@ jobs: uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5 with: version: "0.11.11" + # act_runner shares /tmp across jobs; the uv wheel cache + # (default /tmp/setup-uv-cache) fills the partition and + # breaks subsequent runs with "No space left on device". + # Caching is useless on ephemeral runners anyway — the + # cache directory is discarded when the container exits. + enable-cache: false - name: Set up Python 3.11 if: steps.changes.outputs.run == 'true' @@ -156,6 +162,12 @@ jobs: uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5 with: version: "0.11.11" + # act_runner shares /tmp across jobs; the uv wheel cache + # (default /tmp/setup-uv-cache) fills the partition and + # breaks subsequent runs with "No space left on device". + # Caching is useless on ephemeral runners anyway — the + # cache directory is discarded when the container exits. + enable-cache: false - name: Set up Python 3.11 if: steps.changes.outputs.run == 'true' -- 2.52.0