From 3882b957a63439f9d5c6e8513fc7cb420167d818 Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sun, 18 Oct 2026 14:56:39 +0700 Subject: [PATCH] ci: rebalance Playwright shard weights from measured step minutes (#7297) Weights derived from the Playwright step minutes of five eight-shard runs; shard 8 drops from about 16 minutes to 10 and the shards sit within about 4 minutes of each other once normalized for runner CPU. --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2cbb0c29a..35432703cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -452,7 +452,9 @@ jobs: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} E2E_WORKERS: "2" # File groups are weighted by observed reporter durations. - PWTEST_SHARD_WEIGHTS: "93:100:101:104:91:94:122:110" + # Share of the test list per shard, rebalanced from the Playwright step + # minutes of five eight-shard runs so the slowest and fastest shards meet. + PWTEST_SHARD_WEIGHTS: "85:94:117:128:91:103:127:85" - name: Upload test artifacts uses: actions/upload-artifact@v4