From a951ecdd7bdabd7d3692c59e7da71084d0496ffb Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Mon, 2 Mar 2026 19:54:31 -0800 Subject: [PATCH] CI: shard Windows tests into sixths and skip cache restore --- .github/workflows/ci.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16393ff6f..6e110f7d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -335,7 +335,7 @@ jobs: timeout-minutes: 45 env: NODE_OPTIONS: --max-old-space-size=6144 - # Keep total concurrency predictable on the 16 vCPU runner. + # Keep total concurrency predictable on the 32 vCPU runner. # Windows shard 2 has shown intermittent instability at 2 workers. OPENCLAW_TEST_WORKERS: 1 defaults: @@ -348,22 +348,32 @@ jobs: - runtime: node task: test shard_index: 1 - shard_count: 4 + shard_count: 6 command: pnpm test - runtime: node task: test shard_index: 2 - shard_count: 4 + shard_count: 6 command: pnpm test - runtime: node task: test shard_index: 3 - shard_count: 4 + shard_count: 6 command: pnpm test - runtime: node task: test shard_index: 4 - shard_count: 4 + shard_count: 6 + command: pnpm test + - runtime: node + task: test + shard_index: 5 + shard_count: 6 + command: pnpm test + - runtime: node + task: test + shard_index: 6 + shard_count: 6 command: pnpm test steps: - name: Checkout @@ -402,6 +412,7 @@ jobs: pnpm-version: "10.23.0" cache-key-suffix: "node22" use-restore-keys: "false" + use-actions-cache: "false" - name: Runtime versions run: |