From 71f1b371c623e1886af19b0b40ee607dd53f3ec8 Mon Sep 17 00:00:00 2001 From: kshitij Date: Thu, 6 Aug 2026 04:16:18 +0530 Subject: [PATCH] =?UTF-8?q?perf(ci):=2012=20test=20slices=20=E2=80=94=20cu?= =?UTF-8?q?t=20the=20merge-gate=20critical=20path=20~33%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 8 test slices are the last thing the required all-checks-pass gate waits for on every python PR: each slice carries ~968s of LPT-balanced per-file work and runs 150-190s wall, while every other gated job is done by ~90s. Per-slice fixed overhead is ~10s with the warm uv cache, so slicing wider is nearly free: at 12 slices per-slice work drops to 646s and stays balanced (makespan == min within 1s in simulation against the live durations cache). Verified on this PR's own CI run: slices 141-187s -> 97-140s wall. Peak run concurrency rises 23 -> 27 jobs; observed queue delay at 23 is 2-10s, well under the org limit. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11614a3c10..506cd03e2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,7 +72,7 @@ jobs: if: needs.detect.outputs.python == 'true' uses: ./.github/workflows/tests.yml with: - slice_count: 8 + slice_count: 12 lint: name: Python lints