Repository navigation
Sync master (#1735, #1752, provider 0.10.7) and #1771 into dev - #1773
Gajesh2007 wants to merge 11 commits into
Conversation
… Mac and offers new slot counts (#1735) * feat(provider): sandbox setup re-checks the add-on's plan on a Mac that is set up and offers new slot counts * fix(provider): sandbox setup's free-space line counts the planned Linux jobs, and exit 4 says the installer refuses - "A macOS job needs about N GB more" now counts the disk the plan's slots take (diskShortfall: floor + the plan's slots + one more job - free). A Mac planned for 3 Linux jobs and no macOS job (the feedback's) gets a number instead of none. With no job planned it is unchanged. - The free-space line uses the agreed text and prints for the add-on's plan only: an unchanged plan on a set-up Mac and the fallback estimate keep today's output. - The offer asks "This Mac now fits <L> Linux + <M> macOS (installed: <l> Linux + <m> macOS). If a job is running, the installer refuses and changes nothing. Apply? [Y/n]", with no unverified pay claim. - On the installer's exit status 4: a job is running, so nothing changed; run setup again when it finishes; setup never passes the installer's --force, which would stop running jobs, unpaid. - Tests: the 3-Linux-slots shortfall, the unchanged report for the same disk-limited plan, and an apply refused with exit 4. * docs(provider): sandbox setup's free-space line, its macOS shortfall and the exit 4 refusal as built The CLI reference and the sandboxes guide give the agreed free-space text and N (the disk a macOS job needs beside the plan's slots, in GiB written as GB), the offer's prompt, that an unchanged plan keeps today's report, that a platform missing from status counts as 0, and that the installer refuses rather than waits while a job runs (exit 4), with setup never passing its --force. The changelog fragment follows. * refactor(provider): name the planned-disk rule beside its siblings and let setup's re-check say it reports first
Version 0.10.7; the 39 changelog.d fragments rendered into CHANGELOG.md; v0.10.6 marked published; the 0.10.7 section of docs/operations/provider-release.md; operator upgrade notes. Refactor pass done (689bb720e). Tree fa6610a = the reviewed tree.
…es (#1752) * ci: check out over a .git cached by master pushes, falling back to a cold checkout * ci: cache SwiftPM repository clones per lane and runner layout in provider-ci-build * ci: only master pushes save build, Metal, MiMo and cluster caches; cluster key ignores git describe * docs: describe CI caching, the master-only save policy and the cold checkout fallback * ci: save caches from master and dev pushes; key .git by UTC day so each branch saves it once a day * ci: skip evidence archives and landing videos in checkouts; fetch docs history without file contents * docs: push runs route like pull requests; the plane admits pushed branches * test: the cluster test plan allows continue-on-error only on the cached checkout * ci: drop continue-on-error from checkouts; fsck the restored .git and delete it if damaged * ci: use the CMake in the Darkbloom image's tool cache; download it only elsewhere * ci: skip all of docs/reports/evidence and landing/public/media in checkouts (415 MB) * ci: fetch the 1.87 GB MiMo audio codec only when the audio gate's inputs change * ci: keep the evidence manifests the provider CI cache hashes; skip only evidence tarballs * ci: the MiMo audio gate also runs when the provider fixture generator it calls changes
Brings master's #1735 (sandbox setup re-checks the add-on's plan), #1754's release squash, #1756 (prepare provider 0.10.7) and #1752 (.git and SwiftPM caches, lighter checkouts, master/dev-only cache saves) into dev. Eight CI files conflicted: provider-ci-build/action.yml, ci.yml, component-changes.yml, ci-component-paths.py, test-ci-component-paths.py, test-provider-ci-workflow.py, docs/developer/build.md and test.md. dev's version of each equals the #1754 snapshot of dev, so master's version is dev's plus #1752; each takes master's version. dev keeps its DevNet plain-build default (Package.swift and BuildEnvironmentTests.swift merge to dev's side).
The master merge kept 37 fragments that dev added after the last sync and that #1756 rendered into CHANGELOG.md's v0.10.7 section and deleted on master. Each fragment's text appears verbatim in that section; keeping them pending would list them again in the next release.
…ack) Reverses only part 1 of #1733, which pinned the macOS jobs of ci.yml to blacksmith-12vcpu-macos-27. The route job again requests a Darkbloom lane for each macOS job that will run, and each job runs on its lane's decision: - test-provider-1..3 (one per shard), test-provider-summary - test-provider-sdk - test-cluster-checks, test-cluster-1..3, test-cluster-gpu-1..2, test-cluster-focused This is dev's wiring from just before #1733 (per-shard lanes from #1691, cluster lanes from #1737) with today's matrices and conditions: 3 provider shards (#1749) and the cluster component gate. The fallback label, the shard matrices, SAVE_CACHES and #1752's .git and SwiftPM caches are unchanged. A lane that the plane does not grant, including one missing from its approval, keeps Blacksmith. #1733's reasons were slow sandbox checkouts, a full Actions cache and shards that never got a runner. #1752's lighter checkouts and master/dev-only cache saves, the images' zstd and CONNECT retry, and the add-on's local cache address them. The route, provider CI, cluster plan and component-path tests pin the lane lines to each job's matrix and condition again; build.md and test.md describe the routed macOS jobs.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3dc24c978d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| let answer = readInput()?.trimmingCharacters(in: .whitespacesAndNewlines).lowercased() ?? "" | ||
| return ["y", "yes"].contains(answer) | ||
| return ["y", "yes"].contains(answer) || (defaultYes && answer.isEmpty) |
There was a problem hiding this comment.
Reject EOF instead of treating it as confirmation
When an owner presses Ctrl-D at the new interactive slot-change prompt, readLine() returns nil, which is converted into an empty answer and accepted because defaultYes is true. Setup consequently runs the installer with --yes, potentially removing existing slots even though the owner ended input rather than approved the change. Keep EOF distinct from an explicitly submitted empty line and return false (or cancel setup) when input is unavailable.
Useful? React with 👍 / 👎.
…two wraps Comment and Markdown wrapping only; no workflow behaviour changes. The test-provider comment called its lane test-provider-K, while scripts/test-darkbloom-route.py and build.md write <job>-<shard>; the test.md paragraph kept a one-phrase line from the routing-link edit.
Resolves #1773's conflict with dev ff26d5a as #1773 should: the two released fragments (changelog.d/cluster-pair-follows-rollback.md, changelog.d/cluster-service-follows-repair.md) stay deleted, and their dev correction, `darkbloom cluster stop --service`, goes into the two released lines of CHANGELOG.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves the conflict with dev's ff26d5a the way David resolved it on ci/sandbox-lanes (5b20862): the two released fragments, changelog.d/cluster-pair-follows-rollback.md and changelog.d/cluster-service-follows-repair.md, stay deleted, and dev's correction, `darkbloom cluster stop --service`, goes into their two released lines in CHANGELOG.md's v0.10.7 section. No other fragment is deleted: dev's 18 new pending fragments stay. dev keeps its DevNet plain-build default.
|
@davidtai I applied your resolution from 5b20862. I merged
CI:
|
Summary
Merges
masterintodev(a signed merge, no squash, no force-push). After this PR,devhas the changes that landed onmasteronly, plus the macOS CI routing change from #1771. It follows thedevbranch rules. Fourmastercommits were missing fromdev:devgainsmaster's release squash ofdev, whose contentdevalready has; its only differences fromdevare #1735 andmaster'sprodplain-build defaultProviderCore.version0.10.7, CHANGELOG v0.10.7, release runbook.gitand SwiftPM caches, sparse and blobless checkouts, cache saves only frommaster/devpushes, image CMake, MiMo audio gating402b6f1c64, still open)devhad no commits after the #1754 snapshot: its head0f99ddb180is an ancestor of the snapshot branchf1f68c2273.Before
flowchart TB subgraph Branches direction LR M1["master: #1735, #1754,<br/>#1756 (0.10.7), #1752"] -. not merged .-> D1["dev: the #1754 snapshot,<br/>37 pending fragments, 0.10.6"] end subgraph Behavior direction LR R1["dev CI: no .git/SwiftPM caches,<br/>macOS jobs pinned to Blacksmith"] R2["next dev→master release would<br/>list 37 entries twice"] end Branches ~~~ Behavior classDef bad fill:#ffe1e1,stroke:#cf222e,color:#3d0a0a class R1,R2 badAfter
flowchart TB subgraph Branches direction LR M2["master"] -->|"git merge origin/master"| S["sync branch"] P["#1771 branch"] -->|"git merge"| S S -->|this PR| D2["dev = master + #1771<br/>+ dev's DevNet default"] end subgraph Behavior direction LR A1["dev CI: #1752 caches; macOS lanes<br/>routed, Blacksmith fallback"] A2["plain dev builds stay DevNet;<br/>no released fragment pending"] end Branches ~~~ Behavior classDef good fill:#d4f7dc,stroke:#1a7f37,color:#0b2e13 classDef keep fill:#fff8c5,stroke:#9a6700,color:#3b2300 class A1 good class A2,D2 keepLegend: red = problem before, green = gained from
masterand #1771, yellow =dev-specific state that is kept.Commits and how the conflicts were resolved
7178a32c84Merge master into dev (2026-11-03). The merge base was1c4d87a678(feat(provider): sandbox setup shows the add-on's own sizing plan #1687), andgit merge origin/masterstopped on 8 CI files:.github/actions/provider-ci-build/action.yml,.github/workflows/ci.ymland.github/workflows/component-changes.ymlscripts/ci-component-paths.py,scripts/test-ci-component-paths.pyandscripts/test-provider-ci-workflow.pydocs/developer/build.mdanddocs/developer/test.mdFor each file,
dev's version equals the Release dev into master: provider 0.10.7 (squash; master keeps the prod default) #1754 snapshot, somaster's version isdev's plus ci: cache .git and SwiftPM repositories; only master pushes save caches #1752. Each takesmaster's version, which keeps all ofdev's work.provider-swift/Package.swiftandBuildEnvironmentTests.swiftmerged without a conflict todev's side, so plain builds ofdevstay DevNet builds.db9583a5e5Remove the changelog fragments that the 0.10.7 render already holds. The merge kept 37 fragments thatdevadded after the last sync and that Prepare provider 0.10.7 #1756 rendered into CHANGELOG.md's v0.10.7 section and deleted onmaster. Each fragment's text appears verbatim in that section.ci-git-swiftpm-cache.md(ci: cache .git and SwiftPM repositories; only master pushes save caches #1752) stays pending.3dc24c978dMerge ci/macos-darkbloom-route. This brings in CI: route the macOS jobs through Darkbloom again (Blacksmith fallback); reverses #1733 part 1 #1771's commit without a conflict.55f7b728d5Merge ci/macos-darkbloom-route (refactor-pass wording). This brings in CI: route the macOS jobs through Darkbloom again (Blacksmith fallback); reverses #1733 part 1 #1771's wording-only commite8e817e433without a conflict.a276dd1efaMerge origin/dev (447b230). This applies David's resolution from 5b20862. dev's ff26d5a edited two fragments that this PR deletes as released. They stay deleted, and dev'sdarkbloom cluster stop --servicecorrection goes into their two v0.10.7 lines inCHANGELOG.md. No other fragment is deleted, so dev's 18 new pending fragments stay. Master's 0.10.8 (Release dev into master: provider 0.10.8 #1782, Prepare provider 0.10.8 #1789) is left for the next sync; CI: route the macOS jobs through Darkbloom again (Blacksmith fallback); reverses #1733 part 1 #1771 (merged asbc33ca6d0c) is already here.The result equals
ci/macos-darkbloom-route, except fordev's DevNet default inprovider-swift/Package.swiftandBuildEnvironmentTests.swift.Validation
python3 scripts/provider-build-default.py --branch dev:target 'dev': plain-build default is 'dev'.--branch devfor the build default): 43 of 43 pass.make docs-check(withlibs/mlx-swift-lminitialized as Docs Lint does): 206 files OK.make docs-impact-check BASE=origin/dev: 64 changed files, coverage OK.make changelog-check: 2 valid fragments.make changelog-preview: lists only ci: cache .git and SwiftPM repositories; only master pushes save caches #1752's and CI: route the macOS jobs through Darkbloom again (Blacksmith fallback); reverses #1733 part 1 #1771's entries.test-provider-1..3,test-provider-summaryandtest-provider-sdkran on Darkbloom macOS sandboxes (checkout 26–44 s, jobs 6.7–16 min). The cluster lanes gotlane_not_enabledand ran on Blacksmith. The only failures are the two Vercel checks that fail on other PRs too and are not required.Limitations
master, the nextmaster→devsync sees identical content.branch_not_admittedtodevpushes (Select Runners in run 41720989211), sodevpush runs keep Blacksmith until the plane admitsdev.devthat changes the provider triggers the DevNet release workflow, as anydevmerge does.Refactor pass
A separate refactor pass reviewed only this PR's own work: the conflict resolutions in
7178a32c84and the fragment removals indb9583a5e5.master's content and #1771 were reviewed in their own PRs.git show --remerge-diff 7178a32c84shows that each of the 8 files takesmaster's side in full, and no conflict markers remain. For those files,git diff 0f99ddb180 1d9a9f5265(devbefore the merge against the Release dev into master: provider 0.10.7 (squash; master keeps the prod default) #1754 snapshot) is empty, so the result isdevplus ci: cache .git and SwiftPM repositories; only master pushes save caches #1752 and none ofdev's work is lost.dev's fragments (37 removed bydb9583a5e5, 1 deleted by the merge) appear verbatim, apart from whitespace, inCHANGELOG.md's v0.10.7 section. Neither kept fragment appears there, andCHANGELOG.mdequalsmaster's.provider-build-default.py --branch devstill reportsdev. The branch equalsci/macos-darkbloom-routeexcept forPackage.swiftandBuildEnvironmentTests.swift.55f7b728d5only brings in CI: route the macOS jobs through Darkbloom again (Blacksmith fallback); reverses #1733 part 1 #1771's wording commit.--branch dev, except the Python 3.14-onlytest-threat-diagnostics.pycase, which passes on 3.12. After the merge, these all pass under Python 3.12: the route, CI workflow, cluster plan, component path, CI cache, shard, build default, release-dev-branch and changelog tests,actionlint,make docs-check,make docs-impact-check BASE=origin/dev(64 files) andmake changelog-check.