From cf5307d0c6f79c4d5cec0dbd43db1e7e692c2269 Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Wed, 3 Jun 2026 14:48:46 -0700 Subject: [PATCH] ci: reduce Cypress parallelism from 6 shards to 2 (#40717) Co-authored-by: Claude Code --- .github/workflows/superset-e2e.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/superset-e2e.yml b/.github/workflows/superset-e2e.yml index 84cdf3e937d..edb21091dc5 100644 --- a/.github/workflows/superset-e2e.yml +++ b/.github/workflows/superset-e2e.yml @@ -61,9 +61,14 @@ jobs: # https://github.com/cypress-io/github-action/issues/48 fail-fast: false matrix: - parallel_id: [0, 1, 2, 3, 4, 5] + parallel_id: [0, 1] browser: ["chrome"] app_root: ${{ github.event_name == 'push' && fromJSON('["", "/app/prefix"]') || fromJSON('[""]') }} + # The /app/prefix variant (push events only) is smoke-tested on a single + # shard rather than the full matrix, so exclude it from the other shards. + exclude: + - parallel_id: 1 + app_root: "/app/prefix" env: SUPERSET_ENV: development SUPERSET_CONFIG: tests.integration_tests.superset_test_config @@ -141,7 +146,7 @@ jobs: env: CYPRESS_BROWSER: ${{ matrix.browser }} PARALLEL_ID: ${{ matrix.parallel_id }} - PARALLELISM: 6 + PARALLELISM: 2 CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} NODE_OPTIONS: "--max-old-space-size=4096" with: