From fbec043f83de875f190fa9cecb0e089eaeb170b1 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Mon, 23 Mar 2026 17:00:42 -0700 Subject: [PATCH] fix: use bun for Chromium verification (node can't find playwright) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The symlinked node_modules from Docker cache aren't resolvable by raw node — bun has its own module resolution that handles symlinks. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/evals.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/evals.yml b/.github/workflows/evals.yml index 8f0d4653..f2fea6c7 100644 --- a/.github/workflows/evals.yml +++ b/.github/workflows/evals.yml @@ -113,7 +113,7 @@ jobs: # Verify Playwright can launch Chromium (fails fast if sandbox/deps are broken) - name: Verify Chromium if: matrix.suite.name == 'e2e-browse' - run: node -e "const {chromium}=require('playwright');(async()=>{const b=await chromium.launch({args:['--no-sandbox']});console.log('Chromium OK');await b.close();})()" + run: bun -e "import {chromium} from 'playwright';const b=await chromium.launch({args:['--no-sandbox']});console.log('Chromium OK');await b.close()" - name: Run ${{ matrix.suite.name }} env: