Skip to content

ci: test-cluster-1 asks 4x24 and test-provider-1 8x16, which their tests need - #2404

Merged
jonathan308 merged 2 commits into
devfrom
ci/lane-sizes-darkbloom-green
Nov 20, 2026
Merged

jonathan308 merged 2 commits into
devfrom
ci/lane-sizes-darkbloom-green

Conversation

@jonathan308

@jonathan308 jonathan308 commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

What

Two route lanes ask for the size their tests need:

Lane Before After Reason
test-cluster-1 (Cluster Runtime Tests shard 1) 4x16 4x24 Its GLM-5.3 resident-stage tests need more than 16 GiB of physical memory. ClusterStageResidency.ceiling keeps max(16 GiB, a tenth) for the system and refuses at or below it (a 16 GiB VM is exactly at it): "Stage residency requires a GPU device and its recommended working set"
test-provider-1 (Provider Unit Tests shard 1) 4x16 8x16 It runs the parallel class: fan and hardware-load timing tests that wait at most 2–5 s, concurrently in one process. On 4 vCPUs those waits time out even with the serial selections finished (run 44678601420: same 8 checks failed)

Why (measured)

Job sizes went on at 01:32 UTC (DARKBLOOM_JOB_SHAPES) and routing came back at 03:24. Since then, from every CI (dev) run on Darkbloom:

Shard Darkbloom size Result Blacksmith
Cluster Runtime #1 4x16 10 of 10 failed (1 run at 4x24: passed) 8/8 passed
Provider Unit #1 4x16 14 of 14 failed 14/16 passed
Cluster Runtime #2, #3 4x24 25/25 passed —
Cluster Runtime #4, #5, Focused #1, #2 4x16 passed (except one lost runner, fixed by #2080/#2081) —

So every d-inference run routed to Darkbloom was red. Memory sampling chose 4x16 for both lanes, and neither failure shows in memory. Both lanes stay at 4 vCPU where that holds; only test-provider-1 needs more CPU. 8x16 is signed and priced: Build cluster test products and Cluster Release Build Checks run on it (4/4 tonight).

flowchart LR
  subgraph Before
    R1["route: test-cluster-1 4x16<br/>test-provider-1 4x16"] --> V1["16 GiB / 4 vCPU VM"]
    V1 --> X1["residency guard refuses ≤ 16 GiB<br/>timing waits time out"] --> F1["red on Darkbloom<br/>(10/10, 14/14)"]
  end
  subgraph After
    R2["route: test-cluster-1 4x24<br/>test-provider-1 8x16"] --> V2["24 GiB / 4 vCPU<br/>16 GiB / 8 vCPU"]
    V2 --> G2["green on Darkbloom"]
  end
  classDef bad fill:#fee2e2,stroke:#dc2626,color:#450a0a
  classDef good fill:#dcfce7,stroke:#16a34a,color:#052e16
  class F1,X1 bad
  class G2 good
Loading

Code flow: provider-plan.yml lane table (two sizes and a comment) → darkbloom-route.yml sends the size → the plane grants darkbloom-macos-arm64-4x24 / -8x16. scripts/test-darkbloom-route.py pins each lane's size. docs/developer/build.md (Job sizes) records the reason.

Relation to #2248/#2249 (davidtai, "run every job that can run on 4 cores"): this keeps that rule, and records the two lanes that measured memory cannot place on 4x16.

Refactor pass

The required refactor pass confirmed both sizes and that no other lane needs either fix: shards 4 and 5 and the focused runners construct no ClusterStageResidency, and only provider job 1 runs the parallel class. It corrected the stated provider cause (the class's own concurrency on 4 vCPUs, not the serial processes beside it) and the guard's boundary ("at or below") in a second commit. Open risk: 8x16 has not run this shard on Darkbloom yet; this PR's run-ci run is the first.

Validation

  • scripts/test-darkbloom-route.py 30 OK, scripts/test-provider-ci-workflow.py 35 OK, scripts/test-ci-component-paths.py 17 OK, actionlint clean, docs-impact-check --base origin/dev OK.
  • End to end: this PR's run-ci run (the two shards on Darkbloom at the new sizes).

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…sts need

Since job sizes went on (DARKBLOOM_JOB_SHAPES, 2026-11-20 01:32 UTC) and
routing came back (03:24), two lanes failed every run on Darkbloom while
passing on Blacksmith:

- Cluster Runtime Tests shard 1 at 4x16: 10 of 10 failed ("Stage residency
  requires a GPU device and its recommended working set"). Its GLM-5.3
  resident-stage tests need more than 16 GiB of physical memory:
  ClusterStageResidency.ceiling keeps max(16 GiB, a tenth) for the system
  and refuses at or below it. The one run at 4x24 passed, as runtime shards
  2 and 3 do at 4x24 (25 of 25).
- Provider Unit Tests shard 1 at 4x16: 14 of 14 failed. It runs the
  parallel class (fan and hardware-load timing tests that wait at most 2 s)
  beside three serial processes; on 4 vCPUs those waits time out. 8x16 holds
  its 11.52 GiB (16/1.25 = 12.8) and is signed and priced (Build cluster test
  products and Cluster Release Build Checks run on it).

Memory sampling chose 4x16 for both; neither failure shows in memory.
The parallel class failed on 4 vCPUs also when it ran alone: in run
44678601420 selection 1 took 544 s and selections 2 and 3 ended before it,
so the class ran after them and its fan helper and hardware-load waits
(2 s, and 5 s for the fan read gate) still timed out. Say that the class
runs its tests concurrently in one process, not that it runs beside three
serial processes; it runs after selection 1, beside at most two.

ClusterStageResidency refuses at or below its reserve (physical > reserve),
which is the 4x16 case exactly. Name both lanes where the size rule is
stated.
@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference-landing Ready Ready Preview Nov 20, 2026 5:43am UTC
darkbloom-status Ready Ready Preview Nov 20, 2026 5:43am UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 20, 2026 5:43am UTC

Request Review

@jonathan308 jonathan308 added the run-ci Trigger one-shot PR CI run (auto-removed when run starts) label Nov 20, 2026
@github-actions github-actions Bot removed the run-ci Trigger one-shot PR CI run (auto-removed when run starts) label Nov 20, 2026
@jonathan308
jonathan308 merged commit 2346f3b into dev Nov 20, 2026
25 checks passed
davidtai added a commit that referenced this pull request Nov 20, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

3 active deployments
Preview – d-inference-landing — 014c4bc4 Deployed Nov 20, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — 014c4bc4 Deployed Nov 20, 2026 by vercel[bot]
Preview – darkbloom-status — 014c4bc4 Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant