Skip to content

Prepare provider 0.10.7 - #1756

Merged
jonathan308 merged 2 commits into
masterfrom
release/prepare-provider-0.10.7
Nov 3, 2026
Merged

jonathan308 merged 2 commits into
masterfrom
release/prepare-provider-0.10.7

Conversation

@jonathan308

@jonathan308 jonathan308 commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Cherry-picked onto master 1d9a9f526 (#1754's squash) as 3ca18df903 + 04b57b5e0b; the tree is fa6610a53, identical to the reviewed tree.

Summary

Release preparation for provider 0.10.7, following docs/operations/provider-release.md and mirroring #1695 (0.10.6). It sets ProviderCore.version to 0.10.7, renders the 39 pending changelog.d fragments into a v0.10.7 candidate entry with upgrade and rollout notes, marks v0.10.6 published and writes the 0.10.7 section of the release runbook. This PR does not tag, register, upload, deploy or enable anything.

Stacking: it was prepared on #1754's tree (head f1f68c227), which is what master holds after David's squash of #1754. After that squash, this branch is re-based onto master by cherry-picking its two commits. A simulated squash of #1754 on today's master (e287c1fd2) takes the first cherry-pick cleanly to the identical tree 06d4b0a18; the second changes only the notes in CHANGELOG.md and the runbook, giving fa6610a53.

Linked issue

None. The owner asked for the 0.10.7 production release on 2026-11-03.

Test plan

On this branch's head 689bb720e (tree fa6610a53), Apple silicon Mac, Python 3:

  • ./scripts/check-release-version.sh v0.10.7 prints release version integrity: 0.10.7; v0.10.6 is refused (source=0.10.7 requested=0.10.6).
  • make changelog-check prints changelog: 0 valid fragment(s); make changelog-preview prints only ## Unreleased; python3 scripts/test-changelog.py: 14 tests OK.
  • Reproducibility: python3 scripts/changelog.py render --version 0.10.7 --date 2026-11-03 on Release dev into master: provider 0.10.7 (squash; master keeps the prod default) #1754's head renders 39 fragments (SHA-256 17c0fba7…3165). The inserted block is byte-identical to that output without its heading line and the blank line after it. Exactly those 39 files are removed, and changelog.d/ holds only README.md.
  • make docs-check: 206 file(s) OK (with libs/mlx-swift-lm checked out at the pin, which three existing links need).
  • make docs-impact-check BASE=pr/1754: 42 changed file(s), canonical documentation coverage OK.
  • git diff pr/1754 -- provider-swift/Package.swift is empty, and python3 scripts/provider-build-default.py --branch master prints target 'master': plain-build default is 'prod'.
  • git diff --check pr/1754 HEAD: clean. The only removed lines in CHANGELOG.md are v0.10.6's candidate heading and its "Prepared on" line.
  • The tag message (below) is ASCII, 3,623 bytes.
  • Not run: a provider build or tests. This PR changes only the version string, CHANGELOG.md, changelog.d and one runbook, and Release dev into master: provider 0.10.7 (squash; master keeps the prod default) #1754's CI covers its code. The read-only production facts dry run on the exact tag tree is a separate gate (rollout step 3).

Components touched

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

Protocol / interface changes

  • No protocol/interface changes. The release identity moves to 0.10.7, and the registration payload keeps 0.10.6's fields and its darkbloom_cluster_runtime_v2 block.

Documentation impact

  • Canonical documentation updated: docs/operations/provider-release.md (the 0.10.7 section: scope, checks before the tag, rollout order, platform evidence and the published history, now with v0.10.6).

Changelog

  • An explicitly authorized release/history change: release preparation renders all pending fragments and removes exactly those, and marks v0.10.6 Published 2026-10-31 (GitHub release published 16:42:39Z; tag v0.10.6, object 138dfc341, target 84ddfdba6).

The v0.10.7 entry's upgrade and rollout notes carry the operator facts the fragments state only in part:

Notes for reviewers

Before And After

Release identity and notes (behavior):

flowchart LR
  subgraph Before["Before: master after #1754's squash"]
    B1["ProviderCore.version 0.10.6<br/>39 pending fragments<br/>CHANGELOG: v0.10.6 candidate (unpublished)"] -->|tag v0.10.7| B2["refused: tag/source version mismatch<br/>(check-release-version.sh)"]
  end
  subgraph After["After: master with this PR"]
    A1["ProviderCore.version 0.10.7<br/>changelog.d = README.md only<br/>CHANGELOG: v0.10.7 candidate (39 rendered + notes), v0.10.6 published"] -->|signed tag v0.10.7 on this PR's squash| A2["release-provider.yml: build, SDK qualification, sign, notarize,<br/>cluster runtime facts (PROD_CLUSTER_RUNTIME_ENABLED=true), R2, register"]
    A2 --> A3["coordinator derives release/0.10.7/model/s1|s2;<br/>pairs on 0.10.7+ update together by themselves"]
    A2 --> A4["0.10.6 pairs: darkbloom update on both Macs, then log out and in, once"]
  end
Loading

Code path (what this commit changes):

flowchart LR
  subgraph Before
    P1["ProviderCore.swift: version = 0.10.6"] --> V1["check-release-version.sh v0.10.7: exit 1"]
    F1["changelog.d/*.md (39)"] --> C1["changelog.py check: 39 valid fragments"]
  end
  subgraph After
    P2["ProviderCore.swift: version = 0.10.7"] --> V2["check-release-version.sh v0.10.7: integrity 0.10.7"]
    F2["changelog.py render 0.10.7 → CHANGELOG.md; git rm the 39"] --> C2["changelog.py check: 0 valid fragments"]
  end
Loading

Navigation (docs):

flowchart LR
  subgraph Before
    R1["provider-release.md: 0.10.6 section<br/>(#643 deploy, migration 58, first facts run;<br/>published history v0.10.5 to v0.10.2)"]
  end
  subgraph After
    R2["provider-release.md: 0.10.7 section<br/>(pins, metallib, facts dry run, catalog room, coordinator #679 first,<br/>#1754 then this PR, tag, 0.10.6 pairs by hand once, platform snapshot;<br/>published history v0.10.6 to v0.10.3)"] --> T["two-mac-cluster.md#updating-darkbloom-on-the-pair"]
  end
Loading

Refactor Pass

Done. A dedicated refactor subagent reviewed 6df640d16 against #1754's head f1f68c227: the fragments, the provider source, the docs and darkbloom-platform#679's merge f9c1b2d6a3. Its fixes are in one signed commit, 689bb720e. The rendered entries are unchanged.

After merge

  1. SDK 27 release preparation passes on master.
  2. Gates (DEPLOY-GUIDE §2.2 and §6.3): production /health shows the new coordinator; the catalog rows are final; the facts dry run exits 0 on the exact tag tree; the catalog room holds; PROD_CLUSTER_RUNTIME_ENABLED=true; and the master commit is verified, with changelog.d = README.md, version 0.10.7 and the ?? "prod" default.
  3. Gaj tags v0.10.7 (signed, annotated) on this PR's squash commit with the message below.
  4. The release workflow runs. Check metallib_hash = 98bab9d7…614be, the job summary's facts, GET /v1/cluster/approvals for release/0.10.7/… and the coordinator log for release cluster approvals omitted.
  5. Pairs on 0.10.6: darkbloom update on both Macs, then log out and back in. Check that each pair actually serves, not only that it registered (DEPLOY-GUIDE L37).
  6. The platform snapshots its provider contracts and sets LatestProviderVersion = "0.10.7".

Annotated tag message

3,623 bytes, ASCII (mainnet/tag-v0.10.7.txt)
v0.10.7 - Pairs update together, Gemma 4 and MiMo-V2.6-Flash tensor parallel public, update --rollback

Both Macs of a pair must run 0.10.7. The Gemma 4 and MiMo-V2.6-Flash plans and the Qwen tensor-parallel control wire change, and a pair whose Macs run different builds refuses to pair until both run the same release.

A pair on 0.10.6 cannot update itself into 0.10.7. On each pair, once: run darkbloom update on both Macs, then log out and back in on both (or restart them), as docs/provider/two-mac-cluster.md ("Updating Darkbloom on the pair") describes. From 0.10.7 on, the two Macs of a pair update together by themselves: at the pair's update slot each Mac stages the release while the pair serves, the pair finishes its accepted requests, and both Macs restart into the release. When one Mac rolls a later release back, the other Mac follows. If darkbloom cluster then says that a Qwen pair of two different Macs, which 0.10.6 saved with unequal tensor-parallel shares, is not offered for pairing, press m and choose the model again: it is planned with equal shares and registers.

Gemma 4 26B QAT and MiMo-V2.6-Flash can serve in tensor parallel on a pair, with logprobs, and are declared public in pipeline and tensor parallel, as GLM-5.3-Flash and Qwen3.8-27B are, MiMo-V2.6-Flash also in its speculative pipeline; this release's cluster runtime facts carry their pair-serving grants and parity qualifications. A pair chooses their tensor parallel only on its own measured speed and only where it keeps every feature of the mode it would replace, so normal setups keep the pipeline for now. Qwen3.8-27B tensor-parallel pairs serve up to 8 requests at once, sized to memory, prefill faster and reuse whole prompt prefixes. A pair that lost a rank while stopping no longer stays unable to serve, and a running cluster service answers after the Macs pair again.

darkbloom update --rollback puts back the release a Mac ran before its last update (0.10.6, after this update) and quarantines the one it leaves, without contacting a coordinator; on a pair, stop that Mac's cluster service first. The other Mac follows a rollback only to 0.10.7 or later, so a pair going back to 0.10.6 rolls back each Mac. With enabled_models set, the provider refuses a coordinator load or prefetch of a model outside the filter and no longer moves to a new build of a model by itself; darkbloom switch takes one.

On one Mac, Gemma 4 replies keep the space before punctuation and characters outside its vocabulary, a client stop sequence matches only the answer's content, not its reasoning, cache checkpoints save and restore faster, App Attest recovers by itself after a self-update, and the Models page shows what the network registered. darkbloom sandbox setup shows the add-on's own sizing plan and offers its new slot counts on a Mac that is set up. The registration is the one 0.10.6 sent. libs/mlx (72dffa2d) and libs/mlx-swift (c633d221) are unchanged; libs/mlx-swift-lm moves to 32f5c744, which changes Swift only; its one new Metal kernel compiles at run time, so mlx.metallib is unchanged.

Also in 0.10.7:
- darkbloom cluster setup takes four steps and lists only the cluster-approved models the two Macs can serve, each with its split.
- Gemma 4 pipeline pairs that prefill serially, registered pairs included, serve four requests at once.
- Pipeline pairs of every cluster model commit decode steps in Metal command buffers of up to 100 operations, with byte-identical results on synthetic stages.
- darkbloom status and darkbloom doctor keep reporting App Attest authorization until the coordinator lease expires.

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

jonathan308 and others added 2 commits November 3, 2026 14:10
ProviderCore.version is 0.10.7; ./scripts/check-release-version.sh v0.10.7
prints "release version integrity: 0.10.7".

CHANGELOG.md: a v0.10.7 candidate entry. Its upgrade and rollout notes say
that both Macs of a pair must update (the Gemma 4 and MiMo plans change in
#1706, #1707 and #1715, the Qwen tensor-parallel control wire in #1727, and
a pair of mixed builds refuses to pair); that a 0.10.6 pair updates by hand
once (darkbloom update on both Macs, then log out and back in, as
docs/provider/two-mac-cluster.md describes) and from 0.10.7 on updates
itself (#1702); that Gemma 4 and MiMo-V2.6-Flash tensor parallel are public
(#1736); darkbloom update --rollback (#1729); the enabled-model filter
(#1730); the single-Mac text changes; the unchanged registration; and the
MLX pins, with the expected metallib hash. Below them, the 39 pending
fragments rendered verbatim by
`python3 scripts/changelog.py render --version 0.10.7 --date 2026-11-03`
(without its heading line), and exactly those fragments are removed.
v0.10.6 is marked published on 2026-10-31 (tag object 138dfc3, target
84ddfdb).

docs/operations/provider-release.md: the 0.10.7 section (scope, checks
before the tag, rollout order, platform evidence) replaces 0.10.6's, and
v0.10.6 joins the published history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refactor pass on "Prepare provider 0.10.7" (6df640d16). The rendered
entries are unchanged and still byte-identical to
`changelog.py render --version 0.10.7 --date 2026-11-03`.

- MLX pins: mlx-swift-lm 7933a0fa..32f5c744 adds one Metal kernel (MiMo's
  FP32-output decode down projection, mimo_v26_mxfp4_decode_down_float32)
  through MLXFast.metalKernel, so "changes no Metal source" was wrong. It
  compiles at run time, not into mlx.metallib, so the expected
  metallib_hash stays v0.10.6's 98bab9d7...614be.
- 0.10.6 pairs: the m step (#1723) is conditional, as its entry says. The
  cluster service plans the model again by itself after an update.
- Rollout step 1 names #679's merge commit f9c1b2d6a3 and checks /health
  build_commit against it. The evidence cites cluster_generation_mode.go
  at f9c1b2d6a3 and adds the platform's contract pin and
  LatestProviderVersion (both still v0.10.4), which step 6 moves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jonathan308 jonathan308 added area:provider Provider (Rust, runs on Apple Silicon) area:docs Documentation work specific to a component or feature labels Nov 3, 2026
@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
d-inference Error Error Nov 3, 2026 10:20pm UTC
d-inference-console-ui-dev Error Error Nov 3, 2026 10:20pm UTC
d-inference-landing Ready Ready Preview Nov 3, 2026 10:20pm UTC
darkbloom-status Ready Ready Preview Nov 3, 2026 10:20pm UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 3, 2026 10:20pm UTC

Request Review

@jonathan308
jonathan308 requested a review from davidtai November 3, 2026 22:11
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Threat model review — advisory

Reviewed head 04b57b5e0bbf against base 1d9a9f52650c.

Review not completed for this head. Previous findings are superseded, not confirmed resolved.
Batch change context exceeds capacity; scan incomplete

LOW: Sandbox setup now executes the downloaded installer (--plan) before the user confirms

CHANGELOG.md:398 · T-061, TB-013

The changelog says `darkbloom sandbox setup` now downloads install.sh before the confirmation question and runs it with `--plan`, relying on the installer to "verify the release and size this Mac without installing anything". On an already set-up Mac it runs the plan again on every `setup` call (line 405). If the installer is tampered with (misissued certificate or compromised sandbox service), it now executes as the Mac owner without any consent. The "Nothing is installed" guarantee comes from the script's own behaviour, which a tampered script does not honour. Earlier, the script plausibly ran only after `y`, so this widens TB-013/T-061 exposure. Fix: verify the installer's signature or pinned hash before the first execution, or render the plan without running remote code. Update T-061 to cover pre-consent execution.

Raised by: anthropic/claude-sonnet-5.5

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

Human review required: CI did not complete the security review. A maintainer must review the saved findings and remaining scope. A green advisory job is not security clearance; do not manually rerun the paid scan.

Failure diagnostics: CHANGE_CONTEXT_LIMIT

Coverage: 62/168 source units; cross-file integration pending. 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: 19 request(s), 888123 uncached + 0 cache-read + 0 cache-write input / 15300 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: 24 native request(s), including one shared response repair; 500 emergency ceiling. Selected depth and integration rounds are admitted as their scope becomes known.

This branch had an error being deployed

2 failed and 3 active deployments
Preview – d-inference — 04b57b5e Deployed Nov 3, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — 04b57b5e Deployed Nov 3, 2026 by vercel[bot]
Preview – d-inference-landing — 04b57b5e Deployed Nov 3, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — 04b57b5e Deployed Nov 3, 2026 by vercel[bot]
Preview – darkbloom-status — 04b57b5e Deployed Nov 3, 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:provider Provider (Rust, runs on Apple Silicon)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants