From ab4da0842961571acbb78d9ce9818567176f74fb Mon Sep 17 00:00:00 2001 From: Sawyer Hood Date: Sat, 22 Aug 2026 10:04:04 -0700 Subject: [PATCH] Run the CI Checks job at turbo concurrency 4 The job runs on a 4-vCPU runner; TypeScript 7 and esbuild are multi-threaded, so turbo's default of ten concurrent tasks only adds contention. Pinned to 4 CPUs, two rounds each: 96 s / 110 s at the default vs 90 s / 58 s at four. Co-Authored-By: Claude --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6e75154c1..1f4e36a8c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,8 +43,12 @@ jobs: pnpm-version: ${{ env.PNPM_VERSION }} cache-prefix: checks + # Four tasks for four vCPUs: TypeScript 7 and esbuild are multi-threaded, + # so turbo's default of ten concurrent tasks only adds contention here. + # Measured pinned to 4 CPUs, two rounds each: 96 s / 110 s at the + # default vs 90 s / 58 s at four. - name: Build, typecheck, and lint - run: pnpm exec turbo run build typecheck lint --cache-dir=.turbo/cache --output-logs=new-only + run: pnpm exec turbo run build typecheck lint --cache-dir=.turbo/cache --output-logs=new-only --concurrency=4 # Runs after build and typecheck, so the guard's own turbo build is a # cache hit and the package it packs is the one this commit really ships.