Repository navigation
ci (master): every macOS route lane names a signed size (twin of #2409) - #2415
Merged
Merged
Conversation
The macOS approval default is now 4x16. On master, SDK 27 release prep's `warm` lane (two release builds, measured on 12x32) and Desktop App's `desktop-package` lane named no size, so they would get 4x16. They now ask for 12x32 and 4x16 as dev does since #2409 (024ad84), and the route test fails on any macOS lane without a signed size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
|
@jonathan308 @0xkydo could one of you approve this? It's part of the CI test-optimization work and needs one approval from someone other than the author. CI is green; it's CI/test-only, with no product code. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Master twin of #2409 (merged into dev as 024ad84). The same five files, cherry-picked cleanly onto
master. Reason: d-inference's macOS approval default is now 4x16 (2026-11-20 07:08Z). On master,warm(SDK 27 release prep, which needs 12x32) anddesktop-packagenamed no size, so a PR into master would runwarmat 4x16. The lane sizes the tests need (test-cluster-14x24,test-provider-18x16) are in #2407, which is separate.Done on David's direct order (2026-11-20) from the CI-routing session; the d-inference session (layr-labs-2d) owns this repo's other work.
Summary
David, 2026-11-20: "make sure everything has an assigned size so they don't default to the largest". A Darkbloom route lane is
<lane> <profile> <fallback> [count [size [required]]](.github/workflows/darkbloom-route.yml, unchanged here). A macOS lane without a size gets the approval's pinned macOS size, whatever that is (the 12x32 Mac today). Sizes are sent only whileDARKBLOOM_JOB_SHAPESison. This PR gives every macOS lane in every workflow a signed size, and adds a test that fails on any lane that has none.provider-plan.ymltest-cluster-1andtest-provider-1to 4x24 and is not merged yet; this PR does not touch those linesdesktop.ymldesktop-package(dispatch only)provider-release-cache.ymlwarm(pull requests only)ci-master.ymlrelease-integrity,docsdesktop.ymlfrontenddocs-impact.ymlcommit-signatures,docs-impactlanding.ymlchecknightly-linear-package.ymltestLinux lanes cannot take a size. The router's lane parser exits with
lane <lane> has a size, but sizes are macOS only.darkbloom-route.ymlmust stay a copy of the sandbox'sroute.yml, so a Linux size needs a change in darkbloom-sandbox first. The Linux lanes get the approval's Linux size.Master. The master-only workflows (
ci-master.yml,docs-impact.yml) have Linux lanes only, so they need no change and this PR opens no master twin. The two changed macOS lanes are indesktop.ymlandprovider-release-cache.yml:provider-release-cache.ymlis identical on dev and master. On master its warm lane asks for no Mac (count 0 except on pull requests), so its size matters only on pull requests, which run the PR's own copy of the file.desktop.ymldiffers between dev and master. Itsdesktop-packagelane runs on a manual dispatch only, and reaches master with the next release PR.Before
After
What changed, per file
.github/workflows/desktop.yml:desktop-package ... 4x16..github/workflows/provider-release-cache.yml:warm ... 12x32.scripts/test-darkbloom-route.py:test_every_macos_lane_in_every_workflow_names_a_signed_sizereads every workflow's routelanes:blocks and CI (master)'slinux_lanes:input. A macOS lane without a size, or with one outside 4x16, 4x24, 8x16 and 12x32, fails. So does a Linux lane with a size. The test requires exactly 21 lanes, so a lane it cannot parse also fails.docs/developer/build.md(Job sizes): the sizes of the two lanes and why Linux lanes have none.Cost
While
DARKBLOOM_JOB_SHAPESis off, the route sends no size and nothing changes. While it is on,desktop-packageuses a 4-vCPU Mac instead of a 12-vCPU one, saving about 8 vCPU-minutes per dispatch.warmstill asks for the 12x32 the approval gives today.Validation
PENDING
Limitations
Refactor pass
A refactor reviewer subagent confirmed the router accepts both lines, that the ROUTED and
requested_lanestuples line up withroute_lanes, and that the new scan checks exactly 21 lanes. It rewrote the docs and test comments to say "pinned macOS size" (an unsized lane gets the approval's pinned size, not a fixed largest) and to mention that sizes are sent only whileDARKBLOOM_JOB_SHAPESison.Documentation impact
docs/developer/build.md(Job sizes) is updated. Tests run the same way. This is a CI-only change, so it needs no changelog fragment.Done on David's direct order (2026-11-20, 'high prioritize the test optimization') from the CI-routing session; the d-inference session (layr-labs-2d) owns this repo's other dev work.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.