Skip to content

ci: keep the measured macOS lane sizes; production must sign them first [master] - #2249

Closed
davidtai wants to merge 2 commits into
masterfrom
ci/interim-8x16-sizes-master
Closed

davidtai wants to merge 2 commits into
masterfrom
ci/interim-8x16-sizes-master

Conversation

@davidtai

@davidtai davidtai commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The master copy of #2248 (dev). DARKBLOOM_JOB_SHAPES is a repository variable, so master runs use the same lane table. Merge only on David's order and with a teammate's approval.

On hold (draft). David's order: run every d-inference job that can run on 4 cores. The macOS lanes keep their measured sizes, which are the sizes on dev today. This PR records the prerequisite: production must sign every size for the add-on version its Macs run before the repository variable DARKBLOOM_JOB_SHAPES goes on. Sizes are sent only while that variable is on; it is off, so this PR changes no route request.

Size Lanes Used memory (GiB)
4x16 test-cluster-1, test-cluster-3, test-cluster-focused, test-provider-1 8.14 to 11.99
4x24 test-cluster-2, test-provider-2, test-cluster-gpu-1, test-cluster-gpu-2, test-cluster-gpu-3 13.93 to 17.42
8x16 build-cluster, cluster-release-checks 13.60, 13.61 (cold)
12x32 build-provider 20.39 (cold)

Signing state: in run 43650841871 (2026-11-14), 4x16 and 4x24 got shape_not_signed. On 2026-11-18, 64 of 66 Macs ran add-on 1.3.14, and production did not sign 4x16, 4x24 or 8x16 for it.

Changes:

  • scripts/test-darkbloom-route.py: VALID_SIZES becomes PRODUCTION_SIZES = {"4x16", "4x24", "8x16", "12x32"}, with the signing prerequisite in its comment. The size check asserts every lane asks for one of them.
  • .github/workflows/provider-plan.yml and docs/developer/build.md (Job sizes): one statement of the prerequisite; "smallest signed size" becomes "smallest size".
  • changelog.d/ci-job-sizes-need-signing.md.

An earlier revision of this PR set interim 8x16/12x32 sizes. This revision replaces it; the lane table is the same as dev.

Linked issue

None.

Test plan

  • python3 scripts/changelog.py check
  • PR CI: Check the CI plans (runs scripts/test-darkbloom-route.py), both Provider Unit Tests shards, the gate

No build or test ran on a laptop.

Refactor pass

A separate refactor-pass reviewer checked the net diff. It made the three texts agree on what is unsigned, removed an undefined term, moved the prerequisite into its own paragraph in build.md, and changed "smallest signed size" to "smallest size". Verdict: pass.

Before/after: the lane sizes do not change, and the code flow does not change. The only behavior change is the name and comment of the size set in the route test.

Components touched

  • provider-swift (Swift CLI)
  • native runtime / MLX
  • landing (Next.js)
  • enclave (Swift)
  • CI / provider release
  • docs

Protocol / interface changes

  • No protocol/interface changes
  • Yes — described above and matching side updated

Documentation impact

  • Canonical documentation updated (docs/developer/build.md, Job sizes)
  • No documentation needed — reason:

🤖 Generated with Claude Code

Production signs only 8x16 and 12x32 (run 43650841871, 2026-11-14:
4x16 and 4x24 get shape_not_signed). Until 4x16 and 4x24 are signed,
every test lane asks for 8x16, except GPU shard 2 (17.42 GiB), which
asks for 12x32. The build jobs and Cluster Release Build Checks keep
their sizes. The workflow comment and docs/developer/build.md keep each
lane's measured size for the revert. The route test asserts that every
lane asks for a size production signs.

Sizes are sent only while DARKBLOOM_JOB_SHAPES is on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@davidtai davidtai added area:infra Deploy, CI, infrastructure area:docs Documentation work specific to a component or feature labels Nov 18, 2026
@vercel

vercel Bot commented Nov 18, 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 19, 2026 12:37am UTC
darkbloom-status Ready Ready Preview Nov 19, 2026 12:37am UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 19, 2026 12:37am UTC

Request Review

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Threat model review — advisory

Reviewed head e14feeb611bc against base d8af26620217.

Reviewers: anthropic/claude-sonnet-5.5: first pass completed; anthropic/claude-opus-5.5: not needed by escalation policy; openai/gpt-6.1-sol: selected depth completed (1 batches)

No actionable findings in the reviewed text. This is not a security approval.

Models: budgeted Sonnet / selective Opus / selective Sol 6.1. Findings require human validation; this review never requests changes or blocks merging.

Scan completed.

Coverage: 23/23 source units; cross-file integration complete. 0 selected depth batch(es) pending. All threat definitions indexed; relevant full definitions selected. Unchanged callers are not scanned.

Cost this run: $0.0000 reported, $0.0000 reserved with unknown cost; 0 paid request(s), 0 reused batch(es), 0 provider cache-hit tokens.

Saved findings and earlier report · Historical findings are not confirmed resolved.

Bedrock: 9 request(s), 330518 uncached + 0 cache-read + 54427 cache-write input / 5584 output tokens; 0 request(s) with unknown usage. OpenRouter backup used 0 time(s). Dollar amounts above cover OpenRouter only; AWS billing is reconciled separately.
Workload allowance: 10 native request(s), including one shared response repair; 500 emergency ceiling. Selected depth and integration rounds are admitted as their scope becomes known.

@davidtai

Copy link
Copy Markdown
Collaborator Author

On hold: production's 8x16 macOS sibling isn't signed for add-on 1.3.14 (64 of 66 Macs), so only 1 Mac can take an 8x16 lane today.

David's order: run what can run on 4 cores. The lanes go back to their
measured sizes (4x16, 4x24, 8x16, 12x32), the same as dev. The route
test names them PRODUCTION_SIZES, and the workflow comment and
docs/developer/build.md say that production must sign every size for
the add-on version its Macs run before DARKBLOOM_JOB_SHAPES goes on.
On 2026-11-18, 64 of 66 Macs ran add-on 1.3.14, and production did not
sign 4x16, 4x24 or 8x16 for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@davidtai davidtai changed the title ci: interim macOS lane sizes that production signs (8x16, 12x32) [master] ci: keep the measured macOS lane sizes; production must sign them first [master] Nov 19, 2026
@davidtai

Copy link
Copy Markdown
Collaborator Author

Closing as stale. This PR records one prerequisite: production must sign the macOS sizes 4x16, 4x24, 8x16 and 12x32 before DARKBLOOM_JOB_SHAPES goes on. Production now signs and prices all four (2026-11-20), so that prerequisite is met. The lane sizes on dev already match this PR's table, and the route test's size set is the same four sizes. Nothing here changes a route request or makes a job faster, so it adds nothing under the 5-10 minute job rule. Closed from the CI-routing session on the coordinator's instruction. #2248 and #2249 are the dev and master copies of the same change.

This branch was successfully deployed

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

Labels

area:docs Documentation work specific to a component or feature area:infra Deploy, CI, infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant