From d42fb3d0b32a64b5a866e13586f4a1552579bcbc Mon Sep 17 00:00:00 2001 From: Lily Shen <115414357+lilyshen0722@users.noreply.github.com> Date: Sat, 24 Oct 2026 09:23:59 -0700 Subject: [PATCH] ci: split real-database service tests into two shards Co-authored-by: kai Agent-Model: codex/gpt-6.1-sol/medium --- .github/workflows/tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a2ca894cee..4fecc6e65b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -207,7 +207,11 @@ jobs: ' service-test: - name: Service Tests (Tier 1 — real DBs) + name: Service Tests (Tier 1 — real DBs) (${{ matrix.shard }}/2) + strategy: + fail-fast: false + matrix: + shard: [1, 2] # Heavy jobs run where the repo variable HEAVY_RUNNER points (D37: Latchkey # runners, which don't count against the org's 20-concurrent-job cap). # Unset means GitHub-hosted, so rolling back is deleting one variable. The @@ -278,7 +282,7 @@ jobs: - name: Run service tests (Tier 1) run: | cd backend - npx jest --testPathPattern="__tests__/service" --forceExit --runInBand + npx jest --testPathPattern="__tests__/service" --forceExit --runInBand --shard=${{ matrix.shard }}/2 chart-lint: name: Chart Lint (Tier 1.5)