Repository navigation
Release dev into master: provider 0.10.9 - #1809
Merged
Merged
Conversation
… this install's incidents, per-Mac login line
The integration edits after merging the six DevNet round 2 branches.
1. One CLI name: ClusterOnboardingCommand.name starts from
BuildEnvironment.current.cliName in the package (#if SWIFT_PACKAGE; the
checks that compile the screens alone keep "darkbloom" and set theirs
with use), and OnboardingLive.cli reads it. The wizard's and main.swift's
own use(...) calls set the same value again and go. Production bytes are
unchanged.
2. One app name: ClusterService.appName (the identity's appDisplayName)
everywhere. The screens' seam starts from it and the link follower's
refusal reads it; Cluster.LinkFollower.localNetworkApp(cli:) goes.
Production's hint now says "Allow Darkbloom under ..." (decided), as the
✗ does. The DevNet exit test that pinned "darkbloom" through the helper
now checks the follower's real output.
3. The follower writes the words the service reads from ClusterService's
constants (followerLinePrefix, followerConnected, followerSessionOpened,
followerLinkRefused); followerLinkOpenedLines and followerLinkRefusedLine
are built from them. Bytes unchanged.
4. A-4 reads this install's incidents: OnboardingLive.ownWorker passes
ClusterIncidentLog.forThisInstall() (its file and install filter)
instead of production's defaultFile; the static reader takes the log, and
F1's real-records test passes it, its records and expectations unchanged.
5. P2-11, the ✓ card's login line (loginLine): "on both Macs" only when this
Mac's service outlives its window and the other Mac's status says
startsAtLogin; otherwise it names the Mac that doesn't, or says the other
Mac doesn't say. The new operation otherMacStartsAtLogin reads the other
Mac's status over the cable (default true). The guide's card line holds
(an example; verify checks each Mac).
6. P2-2 in onboarding: the member's Local Network hint names the app; its
command and the stop line already named OnboardingLive.cli, which now
follows the identity in exit tests too.
7. Found in validation: placement flow-run and setup didn't compile on
the CLI branch's changes (its validation didn't run them). run-flow.sh
now compiles ClusterIncidentLog+Install.swift and BuildEnvironment, as
the CLI branch did for the diagnostics runner; the setup runner gets
OnboardingCommandStandIn.swift (production's name), in its stand-in
pattern.
The development-build check (developmentBuildKeepsTheWindowsOpen) now says
the other Mac's service doesn't start at login either, as in a real
development pair; the card then says to keep both windows open, as before.
The changelog's A-4 sentence says the ✗ names this Mac's worker too, so it
doesn't read as contradicting the earlier "names the other Mac's side".
Red first:
- theLoginLineNamesTheMacThatDoesNot against the merged screens with only
the knob added: 6 failures; green with the change.
- onboardingTextsNameTheIdentity (DevNet identity): 3 issues;
followerWritesTheWordsTheServiceReads: 1 issue ("Allow darkbloom under").
Guards: onlyThisInstallsRecordsNameThisMac, theNamesAreThisBuildsWithoutBeingSet.
Docs: two-mac-cluster.md (the login line), architecture/inference.md (one
CLI name, one app name, the follower's phrases); changelog: a bullet in
cluster-candidate-findings.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d's stand-in
ClusterConfigurationChecks compiles ClusterConfiguration.swift without the
onboarding screens. Since the CLI branch, its tensorAssistantServesLocally
names the command with ClusterOnboardingCommand.named, so the check stopped
compiling ("cannot find 'ClusterOnboardingCommand' in scope"), as the
placement setup check had; neither runs in CI.
It now compiles the setup check's OnboardingCommandStandIn.swift
(production's name), as it already compiles the installed session's
AttestationSignerStandIn.swift.
Red: on the integrated head 5732dda the check fails to compile. On dev
6497e8e it passes (9 file groups, the provider config file, 14
configuration groups). Green with this change: the same three pass, and
placement setup still passes 264.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ch Mac Read as a user, the 0.10.8 section contradicted itself: the console's bullet said every start ends with "Starts by itself at login on both Macs.", and P2-11's bullet says the card says so only when the cluster service on both Macs does, and otherwise names the Mac where it doesn't. The console's bullet now names the line by what it tells (whether it starts by itself at login on each Mac), as the guide does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ✗ line for a worker that ended on this Mac named the incident code ("worker_crashed in its incident log"). It now says "its worker ended unexpectedly"; the incident list in `cluster status` keeps the code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ments Release Integrity's test-provider-identity.py allows the DevNet and staging names only in the generated identity. Three doc comments added in this round quoted them; they now say the value comes from the build identity. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(cluster): DevNet round 2: what both pairs' validations found, the agent setup guide, plain-words changelog
…cident log Pair-2 re-test (R-6): `darkbloom-dev uninstall --keep-models` keeps the shared ~/.darkbloom/cluster* for the production app, and so left the DevNet-only incident log (its log and lock, and a corrupt copy if any) behind. As a test, both directions, with the files named by the log's own `ClusterIncidentLog.defaultFile(homeDirectory:install:)`: - uninstalling the non-production install removes its own incident files and names them in the summary; the other install's files and every shared cluster file stay; - uninstalling production beside it keeps production's log: it is the shared folder's `incidents.json`, which an older build of the other install still writes. Red at 6940be3: the non-production install's three incident files stay and no summary line names them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ir reads stopped (red) From the pair-2 re-test of dev @ 6940be3: - R-1: with the member's link follower refused by macOS, both Macs' `status` and `cluster status` read `loading` with no reason. They must read not_serving with the setup screens' words: on the refused Mac its own service's state, on the leading Mac the other Mac's refusal under the ✗'s 20 s rule. - R-5: a stopped pair whose other Mac is gone read other_mac_away; it must read stopped, with a line that the other Mac isn't answering. Adds, at today's behavior, ClusterLocalNetworkAccess.Refused, otherMacRefused, refusalCanBeCurrent, otherMacStatus and statusWords, and ClusterPairSummary.read(localNetworkRefused:). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…says its refusal once (red) The pair-2 re-test of DevNet 6940be3, R-3 and R-4: - R-3: the 2/4 Pair hint's firewall bullet said "Darkbloom" in the DevNet app, whose firewall entry is its own name. pairingLinesNameTheApp (the onboarding checks) runs the pairing with the DevNet app's name; thePairingLinesNameThisBuildsApp checks this build's name (DevNet in a dev-identity build). - R-4: the leader's Local Network ✗ added the follower's own instruction as a fourth line, cut at 300 characters inside a parenthesis. theLocalNetworkCrossSaysTheRefusalOnce and aLongLineIsCutAtAWordOutsideAnyParenthesis. The seams the tests call are added with today's behaviour, so they fail on what they check: ClusterConsoleText.boundedAtWord cuts as bounded does, and errorLines' refusalSaid is ignored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r reads stopped From the pair-2 re-test of dev @ 6940be3: - R-1: `status` and `cluster status` read not_serving (exit 3) while macOS keeps a Mac's link follower off the local network, by the setup screens' rule and in their words: on the refused Mac its own service's state (ClusterLocalNetworkAccess.serviceState, as `start` reads it); on the leading Mac the other Mac's status, asked over the cable only while the pair has been starting past the ✗'s 20 s settle time. reason and next come from localNetworkBlockedLines and localNetworkRefusalLines, ending with `<cli> start` or Retry in `<cli> cluster` (ClusterLocalNetworkAccess.statusWords). A script start on the leading Mac ends its wait on it, as the ✗ does. - R-5: a stopped pair reads stopped (exit 4) whatever the other Mac's presence, with "<the other Mac> isn't answering over the cable." after the stopped line; other_mac.answers is false. ClusterOnboardingLive.swift is unchanged: ClusterLocalNetworkAccess calls its internal refusal rule and words (otherMacRefused, refusalIsCurrent, localNetworkRefusalLines, answerSeconds). Docs: cli-reference (exit table, the refusal's words, the stopped precedence), two-mac-cluster, architecture/inference; changelog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ays its refusal once The pair-2 re-test of DevNet 6940be3: - R-3: the 2/4 Pair hint's firewall bullet and the line that asks to pair again after a reinstall name the app (ClusterOnboardingCommand.app): Darkbloom Dev in the DevNet app. The prose that means the service stays. Production's text is unchanged. - R-4: the Local Network ✗ already says what macOS did and what to do, so its line for the refused Mac now says only that its part can't reach the local network (errorLines' refusalSaid), instead of the follower's own instruction; every other ✗ keeps the part's reason (A-3). Each lastErrors line is cut at a word, never inside a parenthesis, and ends with "…" (ClusterConsoleText.boundedAtWord). Docs: two-mac-cluster.md (the leading Mac's Local Network ✗) and architecture/inference.md (the app's name; the ✗'s lines). Changelog: one bullet in cluster-candidate-findings.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…de the other
R-6: with another install on this Mac, the uninstall keeps the shared
cluster folder for it, which held this install's own incident log (A-13:
each non-production install keeps its own file there).
- `ClusterIncidentLog.files` names the files a log keeps, in order: the
log, its lock sidecar and the copy a corrupt log is moved aside to (the
log's own rename now uses the same name).
- When the shared folder stays for the other install, the inventory lists
this install's own incident files, from
`ClusterIncidentLog.defaultFile(homeDirectory:install:)`, as items to
delete before the install folder, so the summary names them ("This
install's incident log"). Production's log is the shared
`incidents.json`, which an older build of the other install still
writes: it stays with the folder. When the whole cluster folder goes,
nothing changes.
- `ProviderUninstallPaths.environment` records the install the paths are
for.
The CLI reference, `docs/architecture/inference.md` (where the incident log is
described) and the changelog fragment say so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # docs/architecture/inference.md
…ntegration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…1 to G-R4) An agent set up pair-2 on DevNet 0.10.6-dev.branch.77 by following the guide, end to end. Its four differences and the status gap (R-1), fixed with the strings of fix/cluster-status-truth (f92a578), which ships in the same dev round: - G-R1: after installing the other app on a paired Mac, choose Pair again when the screen offers it ("This Mac's Secure Enclave key changed after it paired (…)", Pair again / Quit), otherwise Start over on both Macs. - G-R2: `darkbloom status --solo` on a paired Mac with nothing beside the pair prints "Single-Mac serving: off (this Mac serves in its two-Mac cluster: `darkbloom cluster status`)": go on. - G-R3 with R-1: during a Local Network refusal, `cluster status` says not_serving (exit 3) with the screens' reason; the verify table now stops and asks the person to turn the setting on, on the Mac `next` names, instead of waiting 15 minutes on loading. The troubleshooting row shows the status signal (the leader's once its part has run 20 s). A stopped pair reads stopped even when the other Mac isn't answering (R-5). - G-R4: stop, restart and a scripted start say their waiting lines only if the wait lasts. fix/cluster-ln-wording (97005b1) changes no line the guide quotes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Step 1.4: after installing another app on a paired Mac, the agent acts on what each Mac's `darkbloom cluster` shows (Pair again on a Mac that offers only Pair again and Quit, else Start over), instead of one choice "on both Macs": one Mac can offer only Pair again while the other offers Start over, as the screen itself says after Pair again. - Step 4.3: while the pair's own part runs, `status --solo` shows `Daemon: running` with "This is the cluster's part on this Mac, not single-Mac serving (…)": go on, instead of asking to stop single-Mac serving that doesn't run. - Verify, the Local Network row: ask the human (the page's word for the person) to turn the setting on, on the Mac `next` names; the agent then starts the pair, so the two don't both run `darkbloom start`. - Verify, the `loading`/`unknown` row: after 15 minutes, STOP, and the human runs `darkbloom cluster` on the leader. Split from the old exit-3 row, it had no end. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e ✗'s step as a parameter The refactor pass over the DevNet round 3 integration (R-1 with R-4). - `ClusterLocalNetworkAccess.otherMacRefused()` is the leading Mac's one entry, beside `serviceState()`. It asks the other Mac's status (`otherMacStatus`) only once this Mac's part has run the ✗'s settle time, then applies the ✗'s rule (`otherMacRefused(member:own:now:)`). That rule and the status request are internal again, and `refusalCanBeCurrent` is gone. ProviderCore's public API grows by `Refused`, `otherMacRefused()` and `statusWords` only, and the CLI no longer runs the rule in three steps. - `OnboardingLive.localNetworkRefusalLines(otherMac:app:then:)` takes the step after the instruction, as `localNetworkBlockedLines(app:then:)` does. `statusWords` passes the start command instead of replacing the screen's "Then choose Retry here." in the text, which a reworded ✗ would have left in `cluster status` without a sound. - A test pins the ✗'s own step; the rule's test reads `OnboardingLive.refusalIsCurrent` directly. Behaviour-preserving: the ✗'s lines, `cluster status`'s reason and next, and when the other Mac is asked are as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Local Network refusal R-1 made a leading Mac's script `start` end its wait once `cluster status` reads the other Mac's refusal (`ClusterPairCommands.waitUntilServing`), as the ✗ ends the screen's wait; no test covered it. The new test gives the wait a "Starting" look, then the refusal, then a serving look: the start ends at the refusal with its ✗ line and next step, and exits 3. With R-1's condition in `waitUntilServing` taken out, it fails: the wait goes on to the serving look and exits 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The round's bullet in `cluster-candidate-findings.md` began "In the DevNet app, …", which also scoped the Local Network ✗'s change to the DevNet app, although every build's ✗ changed: its last line no longer repeats the instruction cut off mid-sentence, and a ✗ line too long for the screen is cut at a word, marked with "…". The bullet now says that first, then the two DevNet-only names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(cluster): DevNet round 3: status says a Local Network refusal, a stopped pair reads stopped, wording, the uninstall's own incidents, the guide
…r's restarts; JSON lines agree; DevNet's local command Three findings from the pair-2 re-test of the DevNet build of 3ac8dd7: - R-7 (`status` on the leading Mac): - While the other Mac is refused, the leading Mac's part ends after its 32 s wait for the link and starts again. `refusalIsCurrent` timed its 20 s from the current part only, so `status` and `cluster status` on the leading Mac said `not_serving` in only 6 of 29 samples, and `loading` with no reason the rest of the time. - The cluster service now publishes how long its last part ran (`ClusterServiceStatus.Child.lastRunSeconds`, a new optional field that older readers ignore). - A status read also counts the refusal when this Mac's last part ran 20 s (`acrossRestarts`), so it holds across the leading Mac's part restarts. - A start's own wait, both the wizard's and `darkbloom start`'s looks, keeps the strict rule, so a Retry just after the setting is turned on never ends at once on it. - A refusal the follower got past still never counts. - R-9 (`cluster status --json`): during the refusal, `lines` were still "Starting …" while `state` was `not_serving`. They now hold the ✗ line, "Not serving: <reason>.", as the plain output does. The plain output is unchanged. - R-8 (the DevNet command name): a stopped local-only DevNet pair said "API key: `darkbloom local`". - The scope's line, the API line of a pair the other Mac serves, and the missing-login remedy reach `cluster status` without the console's rename. They now name this build's command themselves (`ClusterOnboardingCommand.name`). - Production's text is byte-identical. Red first: - `ClusterStatusTruthTests`: 8 tests with 3 issues (R-7 1, R-9 2). - The onboarding checks: 1211 passed, 3 failed (R-8). Green: - Prod: the truth suite 9, CLI pair 72, neighbours 114, look 22, ProviderCore 52, onboarding filter 80, #1774's 67. - Onboarding 1214/0. - Dev identity: the truth suite 9, which prints "API key: `darkbloom-dev local`". Docs: cli-reference.md, two-mac-cluster.md, architecture/inference.md, and the changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The guide's third literal run on pair-2 passed; its two timing wordings follow from R-7, fixed on fix/cluster-status-truth-2 (bfdda27): - G-R6: the leader's ✗ comes within about 20 seconds of its part starting (refusalSettleSeconds), not at once. The same wording in step 7.3's Retry paragraph is corrected too. - G-R5: `darkbloom cluster status` names the refusal on the Mac kept off at once, and on the leading Mac from about 20 seconds into its part, steadily after that while that Mac stays refused (the status read keeps it across the leader's part restarts). The guide quotes neither the JSON `lines` during the refusal nor the stopped local-only pair's "When it starts: …" line, so neither needed a change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a status read asks for it Comment-only refactor pass on R-7 (no code or output change): - `ClusterServiceStatus.Child.lastRunSeconds` is set only when a part ends by itself; a stop the service makes (`stopChild`: a planned restart, `cluster stop`, the service's own stop) leaves it as it was. The wire field's doc now says so, since `refusalIsCurrent(acrossRestarts:)` reads it. - `ClusterPairSummary.live(config:bounded:)`: `bounded` (a person's `status` or `cluster status`) also selects the status read's rule for the other Mac's refusal; nil keeps the strict rule of a start's looks. - `ClusterLocalNetworkAccess.otherMacRefused(member:own:now:acrossRestarts:)` names its `acrossRestarts` case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ll requests Regression test, red on purpose: a synthetic local history (dev pull requests, a master-only pull request, a master-into-dev sync, a squash promotion, a dev pull request merged after the promoted commit and a Prepare pull request) publishes v1.1.0 through publish_github_release. Today the notes file holds only the header, and the pull request list is left to --generate-notes, which lists master's pull requests only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e (red)
From the round-3 re-test (branch.78), R3-4: serving GLM-5.3-Flash in
pipeline, `cluster status --json` gave mode and split as null and the
"Model:" line had no mode, though the ✓ line said "(pipeline)". The
deployment line is read from its first ": ", which GLM's display name
("Z.ai: GLM-5.3-Flash") already holds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ollow reads the login state at its end (red) The M5 Ultra pair's round-3 re-test of DevNet 3ac8dd7 (branch.78): - R3-3: GLM's mode question offered "this Mac 1 layers / the other Mac 44 layers" while Qwen served, and 26 / 19 while GLM's tensor parallel served; 44 / 1 loaded both times. theModeSplitIsTheOneThatLoads: each share is named for the Mac that runs it, in either order; one layer is "1 layer"; no number while a model serves. - R3-2: the joining Mac's window ended "After a restart, this Mac serves again by itself" with a session service in place. theLoginStateIsReadWhenTheLineIsSaid. The seams the tests call are added with today's behaviour, so the tests fail on what they check: modeSplit words the shares as screenMode does (ignoring serving, "1 layers"), startsAtLogin(now:setUp:) returns this run's setup, and the phrase constant exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
R3-4: serving GLM-5.3-Flash in pipeline, `cluster status --json` gave mode
and split as null and the "Model:" line had no mode, though the ✓ line said
"(pipeline)". ClusterPairSummary read the leader's deployment line ("Serving
<model> across both Macs: <mode>, <split>") from its first ": ", which GLM's
display name ("Z.ai: GLM-5.3-Flash") already holds. It now takes the first
": " that a mode's words follow, so every mode comes back whatever the
model's name. Without a recorded line, the mode is the ✓ line's own marker
(the saved setup's mode, as the serving line marks it), with no split.
Docs: cli-reference's mode and split rows; changelog.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ev's GitHub's generated notes list only the pull requests merged into master between two tags, so a squash promotion of dev (0.10.7's #1754) showed as one pull request and the 45 dev pull requests it carried were missing. scripts/provider_release_notes.py builds the GitHub release body from the release's contents in Git: the retained header, the version's CHANGELOG.md section at the tag (candidate heading and note left out), the pull requests that reached master through dev and those merged directly into master, the release pull requests named once (promotions, preparation, syncs of master into dev), and the compare link. - The carried dev commit is the newest dev first-parent commit that the tag or a promotion head contains. A promotion is found by its history: its head (merge commit's other parent, or the squash's refs/pull/N/head, fetched read-only) holds a dev first-parent commit master lacked. A release without a promotion carries what the release before it carried. - dev pull requests are dev's first-parent commits between the previous release's carried commit and this one's, not a date window. - Titles and authors come from one GraphQL query per 100 numbers. - Over GitHub's 125,000-character limit the body keeps the upgrade notes and every pull request and links CHANGELOG.md. A generation failure logs a warning and still publishes the release. publish_github_release creates the draft with that body and drops --generate-notes. Only prod publishes a GitHub release; the dev, dev-branch and staging lanes create none, so they need no change. The release callers' push paths include the new module and scripts/changelog.py, which it imports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tent claims Reader-facing wording in nine pending fragments, ahead of the 0.10.9 render: no "tonight", "today" or internal identifiers; GLM tensor parallel "where it fits"; "takes in each new request as soon as it arrives" instead of "reads every request at once"; the version-split catch-up and screens hold from 0.10.9 on; the macOS CI route entry no longer names jobs and a ci.yml that later entries removed. Only changelog.d changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… model says why
A pair of M5 Ultras served Qwen 3.8 27B in tensor parallel with 7 prompts of
71,545 to 94,423 tokens (2026-11-05, 10:06-10:22Z). Their prompt plus answer
is over the 65,536-token context the 27B's tensor-parallel request allowance
covers, so every later plan of the 27B on that pair threw ("Tensor-parallel
request allowance does not cover the requested context and chunk", from
`ClusterPlacementPlanner.evaluate`) while calibrating the served records. The
plan failed, the setup list keeps only choices without a blocker, and the 27B,
tensor parallel only on that pair, left `darkbloom cluster` without a word;
`darkbloom start` could not start it either.
- `ClusterServedCalibration.measurements(entries:)` never fails the plan on a
record: when a setup's calibration throws, each pair request the planner
cannot evaluate on that placement is skipped, and the rest are calibrated as
before (a setup that still cannot be calibrated is skipped whole). The
skipped are counted in one plain line under the plan's served speeds. A
setup whose calibration does not throw is calibrated exactly as before.
The skip sits inside the calibration, so it holds whichever way the worker
build filter (`servedBy`) ran first: an earlier build's records are left out
before they are evaluated, the same build's (an update that kept the worker)
are evaluated and skipped.
- `darkbloom cluster` names each approved model it cannot offer, with its
reason, in one line above the model list ("Qwen 3.8 27B: not offered on
these two Macs: <reason>"), instead of hiding it.
Tests: PlacementChecks plans the 27B (its product layout with the
tensor-parallel allowance, saved as
Golden/served/qwen38-27b-tensor-parallel-priced-layout.json) on the pair's
anonymized records (Golden/served/m5ultra-pair-qwen-over-limit-2026-11-05.json:
token counts, durations and modes as served; members, builds and request IDs
synthetic); PlacementSetupCheck runs the provider's own decision on them;
OnboardingChecks shows a blocked approved model with its reason.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s blocker Behaviour-neutral: the same line for the same choices, read through if-let. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…plan failure (#1828 nits) Completes #1828 for 0.10.9 (review: ship with nits). - The pipeline speculative credit that #1828 stopped failing the plan on (`crediting`) is no longer dropped silently: the plan says in one line, beside the skipped-records line, which Mac's served speed-up was not credited. Without it that pipeline is predicted at its plain decode, so the plan may choose another mode where the speculative pipeline served faster. - The skipped-records line is plain, with thousands separators: "Skipped 7 speed records longer than the 65,536 tokens planning covers (the longest was 94,522); the other records still count". Records skipped for another reason read "Skipped N speed records the plan could not evaluate on this model (the longest was N tokens)". - A model whose plan threw reads "not offered on these two Macs: the plan for it failed (<cause>)" instead of "Planning failed (<cause>)." - Tests: the whole-setup fallback (a setup that cannot be calibrated even after its unevaluable requests are skipped), the credit and its line, the line's wording and separators, and the not-offered line at 40 columns. - The fixture's `finishedAt` / `updatedAt` are rounded to the minute. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
davidtai
approved these changes
Nov 5, 2026
0xkydo
approved these changes
Nov 5, 2026
22 tasks done
This was referenced Nov 6, 2026
This branch had an error being 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.
Ready for review. Merge only after the DevNet proof of the release's
devbuild (0.10.7-dev.branch.95) on both pairs is recorded below and the release owner orders it. Merge with squash, as #1754 and #1782 were, so nodevcommit enters master's history.What this is
The provider 0.10.9 release: everything on
devsince 0.10.8, intomaster. The head is the snapshot branchrelease/dev-to-master-0.10.9:devatb7c52e4ece(fix(cluster): the mode question trusts a measured mode over a predicted one #1812's merge; DevNet0.10.7-dev.branch.95) plus cluster: #1828 nits — say an uncredited speed-up, plain skipped line and plan-failure reason (completes #1828 for 0.10.9) #1831's fix branch3d636268b3(cluster: a served request longer than the model's limit no longer hides the model; a blocked approved model says why (0.10.9) #1828 and its review fixes, based on it), the release'sdevcontent (owner, 2026-11-05 17:30Z), refreshed in with one signed merge on top of the first head78d32c40e9(dev832c9b91f3, round 7);master: the first (in78d32c40e9) brought Prepare provider 0.10.8 #1789 (Prepare provider 0.10.8, tagv0.10.8), Sandbox setup: choose an external drive for the VM images and jobs (--disk, a drive list, the ownership fix), and show work disks in status #1759 (Sandbox setup: choose an external drive) and Provider toolchain: build and release with Xcode 27.2 (SDK 27.2, Swift 6.4.2); CI also accepts SDK 27.0 for now #1791 (Xcode 27.2 toolchain) with master's plain-build default; the second brings Provider: no back-deployed Date >= / <= (SDK 27.2 crash on 27.2 seeds); refuse them in source and release binaries #1807 (David's Date fix,63ecb97e65, merged 16:57:55Z). Nothing else was merged intomaster.Toolchain: Xcode 27.2 / SDK 27.2 / Swift 6.4.2, with David's Date fix.
master's #1791 anddev's #1815 (port of #1791 + #1807) agree, so this release includes #1791. SDK 27.2 back-deploys Foundation'sDate >=andDate <=as weak imports; macOS 27.2 pre-release builds (seed 26B5091g) lack both symbols, and DevNetbranch.87crashed in a loop on such a Mac. #1815 brings the fix from #1807: no Date>=/<=in shipped source (scripts/check-date-comparisons.py, run in CI and Release Integrity), and the release build refuses any CLI, enclave, fan-helper or cluster-helper binary that imports either symbol (scripts/check-provider-weak-imports.py). Results: the source check passes ondevb7c52e4ece(1,936 Swift files); DevNet0.10.7-dev.branch.93(SDK 27.2) passes the release kit'scheck-weak-imports.sh, and the M3 Ultra Studio on 26B5091g has run it without a crash. The earlier hold (the first merge commit kept Xcode 27.1 / SDK 27.0, #1804) is lifted by the refresh: its tree takesdev's SDK 27.2 files, andchangelog.d/ci-xcode-27-2-toolchain.mdis present and renders in 0.10.9.Release-notes wording (one signed commit
e53957facf, changelog fragments only, no code): the D2 review of the release notes fixed the wording of 9changelog.dentries (internal names, "tonight's", a stale CI entry, GLM "where it fits", Qwen's assistant marked local-only) so 0.10.9's rendered changelog reads plainly.b2-check.shpasses on this head.devis not changed. Version stays 0.10.8 here: the "Prepare provider 0.10.9" PR bumps it and renders the changelog.How master was merged
Master took 0.10.8 as a squash (
d758f9fba1, the same tree as #1782's headffacffc446, which carriesdev79051ff73a). So git's own merge base ofdevandmasteris older than that squash, and a plain merge would conflict in files both sides only share through it. The merge commit therefore uses79051ff73aas its base: thedevcommit the 0.10.8 squash carries. The result is exact:master, the diff isdev's own changes since79051ff73a, file for file;dev, the diff is master's own changes since79051ff73a(the prod default, the v0.10.7 and v0.10.8 changelog renders, Prepare provider 0.10.8 #1789, Sandbox setup: choose an external drive for the VM images and jobs (--disk, a drive list, the ownership fix), and show work disks in status #1759), file for file.Exceptions, all in
changelog.d/: fragments that v0.10.7 or v0.10.8 already rendered and published, and thatdevreworded afterwards, stay deleted, as on master, so 0.10.9 does not render them again (guide L9). There are six ondev832c9b91f3(b2-snapshot.shlists them in the merge commit message):cli-darkbloom-look.md,cluster-candidate-findings.md,cluster-console-clarity.md,cluster-everyday-commands-on-a-pair.md,provider-uninstall-keep-or-remove.md(6b7dedbd21: wording only, rendered in v0.10.8);cluster-pair-equal-tensor-shares.md(d5f66e7bb2, rendered in v0.10.7): "pressm" became "choose the model again indarkbloom cluster". The Prepare PR's upgrade notes carry that change.The branch is rebuilt by a script (
release-0.10.9/scripts/b2-snapshot.sh <dev head>). A fix merged intodevafter validation comes in as one more signed merge (b2-refresh.sh), pushed as a fast-forward; nothing is force-pushed.Master keeps its prod default
provider-swift/Tests/ProviderCoreTests/Config/BuildEnvironmentTests.swiftequals master exactly.provider-swift/Package.swiftdiffers from master only by test: remove provider tests that dependencies already run, and low-value tests #1785's removal of theGPTOSSOptimizationTeststest target (its folder is gone ondev); the default line is master's.git diff --numstat origin/master <head> -- provider-swift/Package.swiftprints0 12(b2-check.shon the head).git show <head>:provider-swift/Package.swift | grep -c '?? "prod"$'prints1. The merge keeps it by itself: since79051ff73a, master changed only that line anddevchanged only the test target.Pull requests in this release
From
dev(all contained in832c9b91f3):integrate/devnet-round-5): pair setup, progress, single-Mac serving, updates, uninstall, GLM on 128 GB Macs (details below)aa2ca85c9eee0a4e5c097ee753f867456651c965fix/solo-steps-stick,fix/glm-128gb-offer-only-possible,fix/cluster-first-offer-split)c85e011334(DevNetbranch.85)dev: Xcode 27.2 (port of #1791)219523dfd2, reverted by #1804814268cfd1(DevNetbranch.87, crashed on a macOS 27.2 seed: the SDK 27.2 toolchain)dev: route the macOS jobs through Darkbloom again (Blacksmith fallback), as master does since #1771c6278ee5c6(CI only)73ecb2bc72(DevNet build C =branch.88: SDK 27.0, metallib = v0.10.8's, no weakDateimports)dev)32bf1adc732662b3da04dev: Xcode 27.2 / SDK 27.2 with the back-deployed Date fix (port of #1791 + #1807; David)835e5fbfa5(DevNetbranch.93)4f5bce81b5b7c52e4ece2de284127a, no force-unwrap) and wording nits3d636268b3(onb7c52e4ece, includes #1828f0b40bedcb) merged into this branch directly, becausedevnow holds 0.10.10 work (#1817, #1819)4e51f42d6c832c9b91f3(DevNet build D, run 41973762695)#1792 carries:
darkbloom cluster gpu-limitwith consent (re-applies cluster: GLM-5.3-Flash loads on two 128 GB Macs: requests admitted on arrival, GPU limit raised with consent (owner decision) #1719 ondev);darkbloom uninstall/cluster link --removeundo every port Darkbloom set up, including a port whose only service is Darkbloom's;darkbloom updateends once this Mac runs it;cluster stop --serviceworks when the other Mac is off;darkbloom clustersays up front that macOS prompts appear on each Mac's own screen (Screen Sharing), and detects SSH before any prompt.From
master(already there, CI-checked on master; their fragments render in 0.10.9): #1759, #1791, #1807, #1826.Not in this release: #1719 itself (its change arrives re-applied through
dev; close #1719 after the tag, owner go).Size against master: 274 files changed, 13,546 insertions, 2,565 deletions. SDK and MLX pins are unchanged from v0.10.8:
libs/mlx72dffa2d,libs/mlx-swiftc633d221,libs/mlx-swift-lm32f5c744. The release workflows, the registration scripts andClusterPublicModelsare unchanged; underscripts/and.github/, apart from the held-back #1791 files, only the test-shard weights change (#1785, #1805).Checks on the head (B2.1)
Refresh for master's #1826 (2026-11-05 ~22:05Z, local,
evidence/b2-refresh-5-master-12e8f0d44c.out,b2-check-prepush-be5a90ece0.out): one signed merge (G) of master12e8f0d44con2ccd9516eb. Headbe5a90ece0, tree6394795d59. One conflict,scripts/test-darkbloom-route.py, resolved todev's version, which already holds #1826's watchdog test (since #1787) along with its routing changes;darkbloom-watchdog.ymlis identical on both sides. Net change: #1826's changelog fragment only. 38 pending fragments; toolchain, source check, version0.10.8, prod default 1 all as before.Refresh for #1828 + #1831 (2026-11-05 ~21:05Z, local,
evidence/b2-refresh-4-fix-3d636268b3.out,b2-check-prepush-2ccd9516eb.out): one signed merge (G) of #1831's head3d636268b3on the pushede53957facf(D2b's fragment wording); clean, no conflicts. Head2ccd9516eb, tree53aea62c72. Toolchain OK, source check clean, version0.10.8, prod default 1,Package.swiftvs master0 12, rendered fragments back: none, 37 pending (+cluster-served-speed-out-of-limits.md), 832 commits verified on GitHub plus the new merge.Refresh (2026-11-05 ~17:40Z, local,
release-0.10.9/evidence/b2-refresh-1-dev-b7c52e4ece.out,b2-refresh-2-master-63ecb97e65.out,b2-check-prepush-95d1da5a42.out): two signed merges on78d32c40e9, bothG; head95d1da5a42, treee38d44824a.a0c3dfb3e1,devb7c52e4ece: seven files conflict because CI: dev and master workflows, each tree tested once, fewer Mac jobs, every build and test routed to Darkbloom #1787 brought master's 0.10.7-era history intodev(two merge bases):.github/workflows/provider-tests.yml,docs/developer/build.md,docs/developer/test.md,scripts/ci-component-paths.py,scripts/test-ci-component-paths.py,scripts/test-darkbloom-route.py,scripts/test-provider-ci-workflow.py. Each takesdev's version, which already carries master's changes (ci: cache .git and SwiftPM repositories; only master pushes save caches #1752 by ancestry, CI: route the macOS jobs through Darkbloom again (Blacksmith fallback); reverses #1733 part 1 #1771 by its port, Provider toolchain: build and release with Xcode 27.2 (SDK 27.2, Swift 6.4.2); CI also accepts SDK 27.0 for now #1791 by Provider on dev: Xcode 27.2 / SDK 27.2 with the back-deployed Date fix (port of #1791 + #1807) #1815).95d1da5a42,master63ecb97e65(Provider: no back-deployed Date >= / <= (SDK 27.2 crash on 27.2 seeds); refuse them in source and release binaries #1807): seven files conflict because the same Date fix landed twice:.github/workflows/provider-tests.yml,changelog.d/ci-xcode-27-2-toolchain.md,docs/architecture/inference.md,docs/developer/build.md,docs/developer/test.md,scripts/check-date-comparisons.py,scripts/test-check-date-comparisons.py. Each takesdevb7c52e4ece's version (Provider on dev: Xcode 27.2 / SDK 27.2 with the back-deployed Date fix (port of #1791 + #1807) #1815 plus its follow-up, newer). The tree does not change: Provider: no back-deployed Date >= / <= (SDK 27.2 crash on 27.2 seeds); refuse them in source and release binaries #1807 adds nothing thatdevlacks.swift = "6.4.2",DARKBLOOM_PROVIDER_TOOLCHAIN: release,build_sdk_version == '27.2'asserted, both Date checks present and wired,check-date-comparisons.pyclean (1,936 Swift files), version0.10.8, prod default 1,Package.swiftvs master0 12(test: remove provider tests that dependencies already run, and low-value tests #1785's test target), rendered fragments back: none, 36 pending fragments (withci-xcode-27-2-toolchain.md), 826 commits verified on GitHub plus the two new merges (localG).Validation state
DevNet builds:
0.10.6-dev.branch.81(aa2ca85c9e, #1792; run 41935969045) andbranch.82(ee0a4e5c09, #1793; run 41942397330, success on rerun after a flaky parity test). Thenbranch.85(build A,c85e011334, #1800; Xcode 27.1),branch.87(build B,814268cfd1, #1802; the first Xcode 27.2 build: metallib changed to5b97893c…, and it crashed in a loop on an M3 Ultra running macOS 27.2 seed 26B5091g;overnight/crash87-diagnosis.md), and build C (run 41963716423,73ecb2bc72, #1804; Xcode 27.1 again), = DevNetbranch.88: metallib = v0.10.8's98bab9d7…,scripts/check-weak-imports.shclean on all four binaries (sdk 27.0). Build D (run 41973762695,832c9b91f3, #1808) is building.Found and fixed so far on real Macs (branch.81/82):
fix/cluster-first-offer-split). Production restored on 0.10.8 and serving.Found on branch.87/88 and fixed in #1808: the joining Mac's false ✗ after its local test; Gemma's pipeline prediction (recommended pipeline at 59.9 tok/s against 105.1 for tensor parallel); MiMo tensor parallel missed its load deadline (98.6 M small reads per Mac; it had never loaded on real Macs); status said
loadingwith no reason while a load restarted; the single-Mac block was missing on the joining Mac's screen and incluster status.Proven on build C (
branch.88, pair-2) and build B (branch.87, same code, M5 Ultra pair): no crash on the macOS 27.2 seed (23+ min); GLM tensor parallel and pipeline, Qwen 3.8 27B tensor parallel, Gemma 4 26B tensor parallel and pipeline load and answer public requests through DevNet; the single-Mac block with the consented stop; the version split converges by itself (38 s); role label, folded steps,q.CI note (05:35Z): on this PR,
Provider Unit Testsfail at the step "Select SDK 27 provider toolchain" ("Xcode 27.2 / Build version 27B52 … Provider release requires the macOS 27.0 SDK"). The Darkbloom sandbox runners now default to Xcode 27.2, and the held-back toolchain (above) requires SDK 27.0, so this is the runner image, not the code. The release workflow is unaffected, because its macOS jobs are pinned toblacksmith-12vcpu-macos-27(Xcode 27.0, SDK 27.0). The same provider tests run there in the DevNet qualification shards of build D (run 41973762695). The required check, Release Integrity, passes.DevNet proof of the release's
devbuild (0.10.7-dev.branch.95,b7c52e4ece; Xcode 27.2):28cc400c4bce…= release row;check-weak-imports.shclean on all four binaries (sdk 27.2, no weakDate >=/<=); metallib5b97893c…..93/.95..93→.95through the pair's update slot.x-provider-idchecked).cluster status --jsongive the reason with exit 3; the consented stop starts the pair and holds.DevNet proof on the final build (D =
0.10.6-dev.branch.90,832c9b91f3), both pairs: PASS. Build D: binary00e5922cc1a5…, metallib = v0.10.8's,check-weak-imports.shclean on all four binaries (sdk 27.0).darkbloom-dev update.88 → .90 in 164 s on the leading Mac; the other Mac followed through the pair's update by itself. Both Macs then served Qwen 3.8 27B tensor parallel through DevNet. No new crash report on the 27.2 seed.cluster status --jsongive the reason with exit 3, and the consented stop starts the pair.statusreads "not offered to Darkbloom";stoppedwith no reason;Merge rules (ruleset 15055885)
78d32c40e9):dismiss_stale_reviews_on_pushandrequire_last_push_approval. A new approval from David, Gajesh or Kydo is needed on the refreshed head.Before/After
flowchart LR subgraph Before M1["master: v0.10.8 (#1782 squash + #1789) + #1759"] --- D1["dev: #1785, #1792–#1799 and later fixes, not on master"] end subgraph After M2["master: v0.10.8 + #1759 + every 0.10.9 change (one squash); version still 0.10.8; prod default"] --> P2["next: Prepare provider 0.10.9 (version, changelog), then tag v0.10.9"] endOrder
devbuild on both pairs. Then, on the release owner's order: ready, an approval from David, Gajesh or Kydo, squash.v0.10.9on the owner's go.