From c81f1bac3f555ca12a3df944681cd8023efde31f Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Fri, 2 Oct 2026 15:17:16 +0200 Subject: [PATCH] CI: 10 Flutter shards, under the 20-job concurrency limit Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/python-tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index dd8c37f..6197673 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -8,7 +8,10 @@ on: env: # Bucket count for the Flutter suite; the matrix below lists 0..N-1. - FLUTTER_SHARDS: 12 + # 10, not more: the account runs at most 20 jobs at once, and a push also + # starts ~10 others (pre-commit, freshness, the rest of this file). At 12 + # three shards queued for up to 34 s and the workflow took 91 s. + FLUTTER_SHARDS: 10 jobs: test: @@ -87,7 +90,7 @@ jobs: strategy: fail-fast: false matrix: - shard: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + shard: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] name: flutter test (shard ${{ matrix.shard }}) steps: - uses: actions/checkout@v4