From a872154fd9bc7560dbbf1dba34e7a93c866bb00e Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Mon, 23 Mar 2026 17:48:52 -0700 Subject: [PATCH] fix: remove --tmpfs mount, rely on Dockerfile USER + chmod 1777 /tmp The --tmpfs /tmp:exec mount replaces /tmp with a root-owned tmpfs, undoing the chmod 1777 from the Dockerfile. Remove the tmpfs mount so the Dockerfile's /tmp permissions persist at runtime. Dockerfile already has USER runner and chmod 1777 /tmp, which should give bun write access without any runtime workarounds. Also removes the Fix temp dirs step since it's no longer needed. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/evals.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/evals.yml b/.github/workflows/evals.yml index a3a60975..4a26716a 100644 --- a/.github/workflows/evals.yml +++ b/.github/workflows/evals.yml @@ -62,7 +62,6 @@ jobs: credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - options: --tmpfs /tmp:exec timeout-minutes: 20 strategy: fail-fast: false @@ -98,14 +97,6 @@ jobs: with: fetch-depth: 0 - # Bun needs a writable tmpdir — set to /tmp which is a tmpfs mount - - name: Fix temp dirs - run: | - echo "TMPDIR=/tmp" >> "$GITHUB_ENV" - echo "BUN_TMPDIR=/tmp" >> "$GITHUB_ENV" - echo "XDG_CACHE_HOME=/tmp/.cache" >> "$GITHUB_ENV" - mkdir -p /tmp/.cache - # Restore pre-installed node_modules from Docker image via symlink (~0s vs ~15s install) # If package.json changed since image was built, fall back to fresh install # Note: GITHUB_ENV vars from previous step are now active