diff --git a/.github/workflows/provider-plan.yml b/.github/workflows/provider-plan.yml index 0ecb15571c..b8303e11aa 100644 --- a/.github/workflows/provider-plan.yml +++ b/.github/workflows/provider-plan.yml @@ -144,9 +144,9 @@ jobs: # shards share one lane with a count of 2: the two Cluster Focused Checks # shards, Cluster Runtime Tests shards 2 and 3 (test-cluster-2) and shards # 4 and 5 (test-cluster-3). A lane asks for a job only when the job runs. - # The three Cluster GPU Tests shards are not routed: shard 2 uses 42 GiB, - # more than any signed size, and one lane carries one size for every shard. - # They run on blacksmith-12vcpu-macos-27. + # Cluster GPU Tests shards 1 and 3 have a lane each. Shard 2 has none: it + # uses 42 GiB, more than any signed size, so it runs on + # blacksmith-12vcpu-macos-27 without asking. # # Sizes (x) are sent only while DARKBLOOM_JOB_SHAPES is `on` # (darkbloom-route.yml). A job asks for the smallest signed size (4x16, @@ -165,7 +165,8 @@ jobs: # the Blacksmith fallback). If the approval pins a smaller size, the build # jobs and Cluster Release Build Checks get that size too. The lanes are in # the order the DARKBLOOM_MACOS_LANES cap keeps them: the critical-path test - # shards first, then the build jobs and Cluster Release Build Checks. + # shards first, then the build jobs and Cluster Release Build Checks, then + # the non-blocking GPU shards. route: needs: [tested, components] if: ${{ !cancelled() }} @@ -183,3 +184,5 @@ jobs: build-cluster macos_arm64 blacksmith-12vcpu-macos-27 ${{ (needs.components.outputs.cluster == 'true' || (github.event_name == 'push' && needs.tested.outputs.skip == 'true' && needs.components.outputs.changed_cluster == 'true')) && 1 || 0 }} 8x16 build-provider macos_arm64 blacksmith-12vcpu-macos-27 ${{ (needs.components.outputs.provider == 'true' || (github.event_name == 'push' && needs.tested.outputs.skip == 'true' && needs.components.outputs.changed_provider == 'true')) && 1 || 0 }} 12x32 cluster-release-checks macos_arm64 blacksmith-12vcpu-macos-27 ${{ needs.components.outputs.cluster == 'true' && 1 || 0 }} 8x16 + test-cluster-gpu-1 macos_arm64 blacksmith-12vcpu-macos-27 ${{ needs.components.outputs.cluster == 'true' && 1 || 0 }} 4x24 + test-cluster-gpu-3 macos_arm64 blacksmith-12vcpu-macos-27 ${{ needs.components.outputs.cluster == 'true' && 1 || 0 }} 4x24 diff --git a/.github/workflows/provider-tests.yml b/.github/workflows/provider-tests.yml index ff3f6eb7f7..e866365402 100644 --- a/.github/workflows/provider-tests.yml +++ b/.github/workflows/provider-tests.yml @@ -768,13 +768,13 @@ jobs: # ones and the benchmarks (scripts/cluster-test-plan.py). They run and # report whenever the cluster jobs run; a failure does not fail the # workflow. Shards 1 and 3 each run one half of the real-geometry rows - # check. Shard 2 uses 42 GiB, more than any signed Darkbloom size, so - # every shard runs on Blacksmith without asking the route - # (provider-plan.yml). + # check and read a lane of their own (provider-plan.yml). Shard 2 uses + # 42 GiB, more than any signed Darkbloom size, so it runs on Blacksmith + # without asking the route. name: Cluster GPU Tests (non-blocking, shard ${{ matrix.shard }}) needs: build-cluster if: ${{ inputs.cluster == 'true' }} - runs-on: blacksmith-12vcpu-macos-27 + runs-on: ${{ matrix.shard == 2 && 'blacksmith-12vcpu-macos-27' || fromJSON(inputs.routes)[format('test-cluster-gpu-{0}', matrix.shard)] }} timeout-minutes: 60 strategy: fail-fast: false diff --git a/changelog.d/ci-gpu-shards-darkbloom.md b/changelog.d/ci-gpu-shards-darkbloom.md new file mode 100644 index 0000000000..917e67f8ab --- /dev/null +++ b/changelog.d/ci-gpu-shards-darkbloom.md @@ -0,0 +1,5 @@ +### CI: Cluster GPU Tests shards 1 and 3 ask Darkbloom first + +- Cluster GPU Tests shards 1 and 3 now ask the Darkbloom plane for a sandbox, each on a lane of its own (`test-cluster-gpu-1`, `test-cluster-gpu-3`; 4x24 while sizes are on: 14.33 and 14.72 GiB used in run 42737118357). Each falls back alone to `blacksmith-12vcpu-macos-27` when the plane does not grant it. +- Shard 2 still runs on `blacksmith-12vcpu-macos-27` without asking: it uses 42 GiB, which no signed size holds. +- A full CI run now asks for 14 macOS jobs instead of 12. The two GPU lanes come last in the lane table, so the `DARKBLOOM_MACOS_LANES` cap drops them first. diff --git a/docs/developer/build.md b/docs/developer/build.md index 8fac3fa749..ba17150367 100644 --- a/docs/developer/build.md +++ b/docs/developer/build.md @@ -378,16 +378,16 @@ again; the next failure opens a new one. A full run takes about 13 minutes and 110 macOS job-minutes: about 31 for the build jobs, Cluster Release Build Checks and Cluster GPU Tests, and about 79 -for the 9 blocking test shards. Every macOS job but Cluster GPU Tests is -routed, and falls back to Blacksmith when the plane grants no Mac. +for the 9 blocking test shards. Every macOS job but Cluster GPU Tests shard 2 +is routed, and falls back to Blacksmith when the plane grants no Mac. ### Build Once Each lane builds its debug test products once, on a large runner, and its test jobs run them with `swift test --skip-build`. No test job compiles the -provider or the cluster packages. Every job below but `test-cluster-gpu` reads -its runner from the route ([CI Runner Routing](#ci-runner-routing)). Its -fallback is `blacksmith-12vcpu-macos-27`. While job sizes are off, every job +provider or the cluster packages. Every job below reads its runner from the +route ([CI Runner Routing](#ci-runner-routing)), except shard 2 of +`test-cluster-gpu`. Its fallback is `blacksmith-12vcpu-macos-27`. While job sizes are off, every job asks without a size ([Job sizes](#job-sizes)). | Job | Runner | Needs | Does | @@ -397,7 +397,7 @@ asks without a size ([Job sizes](#job-sizes)). | `cluster-release-checks` (Cluster Release Build Checks) | routed | - | Compiles the release build of the worker capability and prefill schedule checks, and runs them | | `test-provider`, shards 1 and 2 | routed | `build-provider` | The provider selections, Prompt Parity, the native gates, the audit and coverage | | `test-cluster`, shards 1 to 5 | routed | `build-cluster` | The blocking cluster selections | -| `test-cluster-gpu`, shards 1 to 3 | `blacksmith-12vcpu-macos-27`, not routed | `build-cluster` | The non-blocking cluster GPU selections | +| `test-cluster-gpu`, shards 1 to 3 | shards 1 and 3 routed; shard 2 `blacksmith-12vcpu-macos-27`, not routed | `build-cluster` | The non-blocking cluster GPU selections | | `test-cluster-focused`, shards 1 and 2 | routed | - | The focused runner scripts and the pairing, diagnostics and placement flow runners (shard 1); the stage metadata, provisioning, onboarding and console runners (shard 2) | The cluster lane builds in a job of its own, so the cluster tests start as soon @@ -490,7 +490,7 @@ shard the lane its matrix entry names, `matrix.lane`. | Workflow | Routed jobs | Fallback | |---|---|---| -| `provider-tests.yml` (lanes requested by `provider-plan.yml`) | `test-provider` (lanes `test-provider-1` and `test-provider-2`, one per shard), `test-cluster` (lanes `test-cluster-1` for shard 1, `test-cluster-2` for shards 2 and 3, and `test-cluster-3` for shards 4 and 5), `test-cluster-focused` (one lane, `test-cluster-focused`, requested for both shards), `build-cluster`, `build-provider`, `cluster-release-checks` | `blacksmith-12vcpu-macos-27` | +| `provider-tests.yml` (lanes requested by `provider-plan.yml`) | `test-provider` (lanes `test-provider-1` and `test-provider-2`, one per shard), `test-cluster` (lanes `test-cluster-1` for shard 1, `test-cluster-2` for shards 2 and 3, and `test-cluster-3` for shards 4 and 5), `test-cluster-focused` (one lane, `test-cluster-focused`, requested for both shards), `build-cluster`, `build-provider`, `cluster-release-checks`, `test-cluster-gpu` (lanes `test-cluster-gpu-1` and `test-cluster-gpu-3`, one per shard; shard 2 is not routed) | `blacksmith-12vcpu-macos-27` | | `ci-master.yml` (lanes requested by `provider-plan.yml`) | `release-integrity`, `docs` | `blacksmith-4vcpu-ubuntu-2404` | | `docs-impact.yml` | `commit-signatures`, `docs-impact` | `blacksmith-4vcpu-ubuntu-2404` | | `landing.yml`, `desktop.yml`, `nightly-linear-package.yml` | `check`, `frontend`, `test` | `blacksmith-4vcpu-ubuntu-2404` | @@ -559,11 +559,11 @@ keep their fallback, so a push saves caches on Darkbloom only from an admitted branch and only in routed lanes ([CI Caching](#ci-caching)). Release, signing, publication, model registration, review automation and `master` or dispatched cache warming keep literal Blacksmith labels. In CI, -every macOS job but Cluster GPU Tests reads its lane of the plan's one route -request (the plane routes a run attempt once); the plan's own bookkeeping (the -tree lookup, the component choice), the CI plan checks and the `Provider Tests` -gate run on `ubuntu-24.04`. Cluster GPU Tests run on `blacksmith-12vcpu-macos-27` and are -not routed ([Job sizes](#job-sizes)). A lane without a size gets the +every macOS job but Cluster GPU Tests shard 2 reads its lane of the plan's one +route request (the plane routes a run attempt once); the plan's own bookkeeping +(the tree lookup, the component choice), the CI plan checks and the +`Provider Tests` gate run on `ubuntu-24.04`. Cluster GPU Tests shard 2 runs on +`blacksmith-12vcpu-macos-27` and is not routed ([Job sizes](#job-sizes)). A lane without a size gets the approval's pinned image size for its profile (one for macOS, one for Linux). The macOS one measured 12 vCPU / 32 GiB on 2026-11-05 (run 42105290034, attempt 1), the class of the Blacksmith 12-vCPU fallback; it is not a fixed @@ -623,12 +623,15 @@ and memory pressure stayed normal. | `build-cluster` | 1 | 8x16 | 10.91; a cold build takes 5 to 10% longer on 8 vCPUs | asks without a size | | `build-provider` | 1 | 12x32 | 17.50; 8x24 is not signed, and a cold build takes 20% longer on 8 vCPUs | asks without a size | | `cluster-release-checks` | 1 | 8x16 | 9.65 with a reused build; a cold release compile (run 42041608780: 11.33 GiB, 11.4 busy vCPUs at p95 of 12) takes 26% longer on 4 vCPUs and 5.5% on 8 | asks without a size | - -A run that tests every component asks for 12 macOS jobs, while sizes are on -or off. The three Cluster GPU Tests shards are not routed: they run on `blacksmith-12vcpu-macos-27` (12 vCPU, 48 GiB). Shard 2 uses -41.99 GiB, which no signed size holds, and one lane carries one size for every -shard (shard 1 used 17.40 GiB when it ran the whole real-geometry rows check; -shards 1 and 3 each run half of it now). +| `test-cluster-gpu-1` (GPU shard 1) | 1 | 4x24 | 14.33 in run 42737118357, on Blacksmith with 48 GiB; at most 2.6 busy vCPUs | asks without a size | +| `test-cluster-gpu-3` (GPU shard 3) | 1 | 4x24 | 14.72 in run 42737118357, on Blacksmith with 48 GiB | asks without a size | + +A run that tests every component asks for 14 macOS jobs, while sizes are on +or off. Cluster GPU Tests shard 2 is not routed: it runs on +`blacksmith-12vcpu-macos-27` (12 vCPU, 48 GiB). It uses 41.99 GiB (41.63 in +run 42737118357, 34.26 of it in the one process of `paged-verify-bench`), which +no signed size holds. Shards 1 and 3, which each run half of the real-geometry +rows check, have a lane each and fall back alone. A lane sent with a size uses a grant only when the grant's labels are its profile's labels with the last one qualified by the size, such as diff --git a/docs/developer/test.md b/docs/developer/test.md index 02917d8bd6..95374ab82f 100644 --- a/docs/developer/test.md +++ b/docs/developer/test.md @@ -1472,7 +1472,7 @@ shared build recipe. The selected. A provider-only change runs 3 Macs (the provider build and the 2 provider shards). A cluster change adds 12 Macs (the cluster build, the release build checks, 5 runtime shards, 2 focused shards and 3 GPU shards). Every -Mac job but the 3 GPU shards is routed; the GPU shards run on Blacksmith +Mac job but GPU shard 2 is routed; GPU shard 2 runs on Blacksmith ([job sizes](build.md#job-sizes)). A change whose tree a successful run of the same workflow already tested runs no test job at all (`scripts/ci-tested-tree.py`). @@ -2101,7 +2101,7 @@ only the labels of that size. It also covers bad sizes, the macOS cap order and a `required` lane, which keeps its fallback without asking while sizes are off. It also pins each routed job's lanes (one per provider or cluster shard, matching the job's matrix), size, fallback, timeout and read-only permissions, -and keeps release workflows and Cluster GPU Tests on literal Blacksmith +and keeps release workflows and Cluster GPU Tests shard 2 on literal Blacksmith runners. No check contacts the real plane. Docs-impact tests retain provider, protocol, privacy, native capacity, cache, diff --git a/scripts/test-cluster-test-plan.py b/scripts/test-cluster-test-plan.py index 93034f4d85..9d6b376208 100755 --- a/scripts/test-cluster-test-plan.py +++ b/scripts/test-cluster-test-plan.py @@ -298,12 +298,16 @@ def test_jobs_run_every_shard_of_their_lane(self): for _, route_lane in entries: self.assertIn(f" {route_lane} macos_arm64 ", self.jobs["route"]) else: - # The GPU shards are not routed: shard 2 needs more memory - # than any signed Darkbloom size. + # GPU shards 1 and 3 each read a lane of their own. Shard 2 + # needs more memory than any signed Darkbloom size: it has + # no lane and keeps Blacksmith. matrix = re.search(r"(?m)^ shard: \[([0-9, ]+)\]$", job).group(1) self.assertEqual([int(shard) for shard in matrix.split(",")], plan.shards(lane)) - self.assertIn(f" runs-on: {workflow.BLACKSMITH_MAC}\n", job) - self.assertNotIn(f" {job_id}", self.jobs["route"]) + self.assertIn(f" runs-on: ${{{{ matrix.shard == 2 && '{workflow.BLACKSMITH_MAC}' || " + f"fromJSON(inputs.routes)[format('{job_id}-{{0}}', matrix.shard)] }}}}\n", job) + for shard in (1, 3): + self.assertIn(f" {job_id}-{shard} macos_arm64 ", self.jobs["route"]) + self.assertNotIn(f" {job_id}-2 ", self.jobs["route"]) steps = {workflow.field(step, "name", indent=6): step for step in workflow.step_blocks(job)} products = steps["Download cluster test products"] self.assertEqual(workflow.field(products, "uses"), workflow.PRODUCTS_ACTION) diff --git a/scripts/test-darkbloom-route.py b/scripts/test-darkbloom-route.py index 5f0e12cec9..81003ba30e 100755 --- a/scripts/test-darkbloom-route.py +++ b/scripts/test-darkbloom-route.py @@ -95,8 +95,9 @@ def built(component): # come first, critical path first. Two shards share each of the lanes # test-cluster-2 (runtime shards 2 and 3), test-cluster-3 (runtime shards 4 # and 5) and test-cluster-focused, lanes the approval names. Then the build -# jobs and the release build checks. No lane is `required`: while sizes are -# off, every lane asks without a size. +# jobs and the release build checks, then the non-blocking GPU shards 1 and +# 3. No lane is `required`: while sizes are off, every lane asks without a +# size. PLAN_LANES = { "test-cluster-2": (requested("cluster", 2), "12x32", False), "test-cluster-3": (requested("cluster", 2), "4x24", False), @@ -107,7 +108,11 @@ def built(component): "build-cluster": (built("cluster"), "8x16", False), "build-provider": (built("provider"), "12x32", False), "cluster-release-checks": (requested("cluster"), "8x16", False), + "test-cluster-gpu-1": (requested("cluster"), "4x24", False), + "test-cluster-gpu-3": (requested("cluster"), "4x24", False), } +# The lanes of the blocking test jobs, which the cap keeps first. +BLOCKING_TESTS = [lane for lane in PLAN_LANES if lane.startswith("test-") and "-gpu-" not in lane] # The request CI sends while sizes are off, with every lane's jobs running: byte # for byte the request of the lane table without sizes. UNSIZED_PLAN_REQUEST = [{"lane": "test-cluster-2", "profile": "macos_arm64", "count": 2}, @@ -118,10 +123,13 @@ def built(component): {"lane": "test-provider-1", "profile": "macos_arm64", "count": 1}, {"lane": "build-cluster", "profile": "macos_arm64", "count": 1}, {"lane": "build-provider", "profile": "macos_arm64", "count": 1}, - {"lane": "cluster-release-checks", "profile": "macos_arm64", "count": 1}] -# Cluster GPU Tests are not routed: shard 2 uses more memory than any signed -# size, and one lane would carry one size for every shard. -UNROUTED_MACOS = {("provider-tests.yml", "test-cluster-gpu")} + {"lane": "cluster-release-checks", "profile": "macos_arm64", "count": 1}, + {"lane": "test-cluster-gpu-1", "profile": "macos_arm64", "count": 1}, + {"lane": "test-cluster-gpu-3", "profile": "macos_arm64", "count": 1}] +# A shard that keeps a literal runner in a job whose other shards each read a +# lane of their own: Cluster GPU Tests shard 2 uses more memory than any +# signed size. +LITERAL_SHARD = {"test-cluster-gpu": "2"} MASTER_LINUX_LANES = (f"release-integrity linux_arm64 {LINUX_FALLBACK}", f"docs linux_arm64 {LINUX_FALLBACK}") # (workflow, job): the expression its runs-on reads. CI_ROUTED = { @@ -129,6 +137,7 @@ def built(component): ("provider-tests.yml", "test-cluster-focused"): "inputs.routes", ("provider-tests.yml", "build-cluster"): "inputs.routes", ("provider-tests.yml", "build-provider"): "inputs.routes", ("provider-tests.yml", "cluster-release-checks"): "inputs.routes", + ("provider-tests.yml", "test-cluster-gpu"): "inputs.routes", ("ci-master.yml", "release-integrity"): "needs.plan.outputs.routes", ("ci-master.yml", "docs"): "needs.plan.outputs.routes", } @@ -144,7 +153,7 @@ def built(component): "threat-model-review.yml", "bedrock-smoke.yml", "claude.yml", "codex.yml") # The plane grants a lane whole, so each shard of these jobs reads a lane of its # own, `-`, and gets a free sandbox even when the others fall back. -SHARDED = {"test-provider"} +SHARDED = {"test-provider", "test-cluster-gpu"} # These jobs' matrix names each shard's lane (`include: - {shard: N, lane: L}`); # a lane that several shards read is requested for all of them. LANE_MATRIX = {"test-cluster"} @@ -221,7 +230,9 @@ def job_lanes(name, job): shard's matrix lane when LANE_MATRIX, else its own.""" if name in LANE_MATRIX: return list(dict.fromkeys(matrix_lanes(job))) - return [f"{name}-{shard}" for shard in matrix_shards(job)] if name in SHARDED else [name] + if name in SHARDED: + return [f"{name}-{shard}" for shard in matrix_shards(job) if shard != LITERAL_SHARD.get(name)] + return [name] def requested_lanes(workflow, routed): @@ -675,25 +686,27 @@ def grant(labels): def test_macos_cap_keeps_the_test_lanes_first_with_sizes_on_or_off(self): lanes = plan_lanes_text() - tests = [lane for lane in PLAN_LANES if lane.startswith("test-")] - cases = (("on", "", list(PLAN_LANES)), ("on", "12", list(PLAN_LANES)), + every, tests = list(PLAN_LANES), BLOCKING_TESTS + cases = (("on", "", every), ("on", "14", every), + # The non-blocking GPU shards are the first to keep their fallback. + ("on", "13", every[:-1]), ("on", "12", every[:-2]), ("on", "11", [*tests, "build-cluster", "build-provider"]), ("on", "10", [*tests, "build-cluster"]), ("on", "9", tests), # A lane that does not fit is passed over; a later, smaller one can still fit. ("on", "3", ["test-cluster-2", "test-provider-2"]), - ("", "", list(PLAN_LANES)), ("", "11", [*tests, "build-cluster", "build-provider"]), + ("", "", every), ("", "12", every[:-2]), ("", "11", [*tests, "build-cluster", "build-provider"]), ("", "9", tests)) self.assert_cap_cases(lanes, cases, held=()) def test_a_required_lane_keeps_its_fallback_while_sizes_are_off(self): # No CI lane is `required`; the build lanes are marked so here. builds = [lane for lane in PLAN_LANES if not lane.startswith("test-")] - tests = [lane for lane in PLAN_LANES if lane.startswith("test-")] + tests = BLOCKING_TESTS lanes = "".join(line.rstrip() + (" required" if line.split()[0] in builds else "") + "\n" for line in plan_lanes_text().splitlines() if line) cases = (("on", "", list(PLAN_LANES)), ("on", "11", [*tests, "build-cluster", "build-provider"]), # Held lanes take no place under the cap. - ("", "", tests), ("", "9", tests)) + ("", "", [lane for lane in PLAN_LANES if lane not in builds]), ("", "9", tests)) self.assert_cap_cases(lanes, cases, held=builds) def assert_cap_cases(self, lanes, cases, held): @@ -883,7 +896,11 @@ def test_ci_routes_every_job_that_runs_code_through_one_plan(self): else: lane = f"'{name}'" read |= set(job_lanes(name, job)) - self.assertEqual(job_field(job, "runs-on"), f"${{{{ fromJSON({source})[{lane}] }}}}") + routed = f"fromJSON({source})[{lane}]" + if name in LITERAL_SHARD: + self.assertIn(LITERAL_SHARD[name], matrix_shards(job)) + routed = f"matrix.shard == {LITERAL_SHARD[name]} && '{MACOS_FALLBACK}' || {routed}" + self.assertEqual(job_field(job, "runs-on"), f"${{{{ {routed} }}}}") # A lane is requested exactly when its job runs; a shared lane # for every job of its matrix that reads it. if filename == "provider-tests.yml": @@ -916,10 +933,7 @@ def test_ci_routes_every_job_that_runs_code_through_one_plan(self): if runner and "fromJSON(" not in runner: with self.subTest(workflow=filename, job=name): # Only bookkeeping without tests stays GitHub-hosted; - # every macOS job but the unrouted ones reads its lane. - if (filename, name) in UNROUTED_MACOS: - self.assertEqual(runner, MACOS_FALLBACK) - continue + # every macOS job reads its lane. self.assertEqual(runner, "ubuntu-24.04") self.assertIn(name, ("tested", "components", "ci-plan-checks", "provider-test-gate", "hourly-failures")) @@ -927,15 +941,18 @@ def test_ci_routes_every_job_that_runs_code_through_one_plan(self): def test_ci_sizes_every_routed_macos_job_and_asks_for_the_test_lanes_first(self): sizes = {size for _, size, _ in PLAN_LANES.values()} self.assertLessEqual(sizes, VALID_SIZES) - # 12 macOS jobs ask, with sizes on or off: the 9 blocking test jobs, - # then the 2 build jobs and the release build checks. No lane is - # `required`, so none keeps Blacksmith while sizes are off. - tests = [lane for lane in PLAN_LANES if lane.startswith("test-")] + # 14 macOS jobs ask, with sizes on or off: the 9 blocking test jobs, + # then the 2 build jobs and the release build checks, then GPU shards + # 1 and 3. No lane is `required`, so none keeps Blacksmith while sizes + # are off. + tests = BLOCKING_TESTS self.assertFalse(any(required for _, _, required in PLAN_LANES.values())) - self.assertEqual(sum(lane_jobs(count) for count, _, _ in PLAN_LANES.values()), 12) + self.assertEqual(sum(lane_jobs(count) for count, _, _ in PLAN_LANES.values()), 14) self.assertEqual(sum(lane_jobs(PLAN_LANES[lane][0]) for lane in tests), 9) - # The cap keeps lanes in table order: every test lane comes before the build lanes. + # The cap keeps lanes in table order: the blocking test lanes, the + # build lanes, then the non-blocking GPU shards. self.assertEqual(list(PLAN_LANES)[:len(tests)], tests) + self.assertEqual(list(PLAN_LANES)[-2:], ["test-cluster-gpu-1", "test-cluster-gpu-3"]) def test_release_and_credentialed_workflows_keep_literal_runners(self): for filename in UNROUTED: