Skip to content

Prepare provider 0.10.1 - #1579

Merged
Gajesh2007 merged 5 commits into
masterfrom
chore/prepare-provider-0.10.1
Oct 23, 2026
Merged

Gajesh2007 merged 5 commits into
masterfrom
chore/prepare-provider-0.10.1

Conversation

@jonathan308

@jonathan308 jonathan308 commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Prepares provider 0.10.1. It sets ProviderCore.version, renders the v0.10.1 changelog entry from the 20 fragments merged since v0.10.0, marks v0.10.0 as published, and records the release prerequisites in the runbook. This PR does not tag, register, upload or deploy anything.

0.10.1 is a patch release for OpenRouter readiness. Its model changes are #1561 (GLM-5.3-Flash) at aad44243 and #1560 (Nemotron 3.5 Super) at a86de72c, plus #1561's pin-only SDK re-pin. The source also includes already-merged #1558 (download progress), #1505 (macOS 27 for new installs), #1493 (desktop sign-in approval), #1482 (release-note formatting) #1518 (the macOS desktop app) and #1565 (Autopilot placements, downloads and busy reasons), both merged after the first preparation; their existing fragments are rendered too. Super logprobs and the GLM logprobs qualification are not included.

Rollout order: deploy the coordinator first, then tag

Production (api.darkbloom.dev) still reports f512258a in the read-only /health check on 2026-10-23, after #411 merged to platform master as fa4d5214. The running build already has v9 normalization, the Super floor at 0.10.0 and the GLM glm5_next_v1 gate, but no logprobs guard. Merging #411 alone does not establish deployment.

Why darkbloom-platform#411 has to be deployed first:

Step Owner Action Gate
1 d-inference Merge this PR; #1561 and #1560 are merged. Note the merged commit T to tag Green CI; blockers below cleared
2 platform ops (human approval) Deploy the already-merged darkbloom-platform#411 per coordinator-deploy.md /health build_commit matches; GLM logprobs: true → 400 param: logprobs; 0.10.0 fleet keeps serving
3 release owner Push the signed annotated tag v0.10.1 on T /v1/releases/latest reports 0.10.1 with the published hashes; providers converge (first update check after 5 min, then every 30 min)
4 platform Snapshot provider contracts from T (scripts/provider-contracts.py snapshot T) and set LatestProviderVersion = "0.10.1" in the same change (TestLatestProviderVersionMatchesProviderCore). Fallback only; it does not gate publication Platform CI
— catalog owner Do not add logprobs to the GLM-5.3-Flash, MiMo V2.6 or Nemotron 3.5 Super catalog rows for 0.10.1 Logprob requests on these models keep getting 400 with param: logprobs

Mixed fleet until step 3 converges: 0.10.0 providers keep refusing the new shapes with 400. Those are client errors and don't strike the breaker. Coordinators already route forced tool_choice only to providers that advertise it (registry/request_traits.go, providerSupportsToolConstraintLocked), and only 0.10.1 advertises it for GLM.

Platform findings (no platform change in this PR)

Blockers before tagging

Proposed annotated tag message (about 1.2 KB)
v0.10.1 - GLM-5.3-Flash and Nemotron 3.5 Super OpenRouter readiness

Serve GLM-5.3-Flash strict tools, returned reasoning, JSON mode, structured outputs, forced tool choice and variable-frame-rate video, and start it without a second weight-hash pass. Add doctor, start and status guidance for its GPU wired-memory limit on 256 GB M5 Macs.

Accept Nemotron 3.5 Super media bodies up to 40 MiB, so inlined linked videos are served, and serve JSON response formats with tools.

Count page cache as available memory for load admission, KV budgets and capacity on every model. Refuse MiMo V2.6 logprobs and native-engine token constraints with a typed 400 instead of a 500 that cooled the model's providers. Redraw many-file download progress in place. Add the desktop control API and hardware report to the provider CLI; the Electron desktop app is not published by this release. On Macs with saved Autopilot consent, use every verified downloaded model, keep placements and report busy reasons.

Run behind a coordinator that includes darkbloom-platform#411. Logprobs stay disabled on GLM-5.3-Flash, MiMo V2.6 and Nemotron 3.5 Super; catalog changes, model publication and activation remain separate operations.

What changed in this PR

  • provider-swift/Sources/ProviderCore/ProviderCore.swift: 0.10.0 → 0.10.1.
  • CHANGELOG.md, new v0.10.1 — candidate (unpublished) entry:
    • It opens with Upgrade and rollout notes: perf(coordinator): use WriteString for per-chunk SSE writes #411 first, no catalog logprobs for 0.10.1, mixed-fleet behaviour, the SDK pin and fleet-wide page-cache accounting.
    • The 20 fragments follow, ordered by theme: GLM, Super, every model, then the already-merged installation, Autopilot, desktop app, sign-in and release-note fixes. The Autopilot entry corrects "startup is not slower": with consent, start first fetches the catalog, waiting up to 10 s.
  • v0.10.0 marked as published 2026-10-23, the UTC date of the GitHub release (2026-10-23T00:35:14Z). Tag v0.10.0 points at 1ef9c89f, so the entry's content is unchanged. Everything from v0.10.0's ### Upgrade and rollout notes down is byte-identical.
  • Corrections to fragment text. These are made only in this rendering; the PR branches are untouched. Each was checked against the code, and any other text is verbatim:
    • native-engine-output-control-refusal: logprobs are deferred, so the entry no longer says GLM-5.3-Flash serves them. It is retitled "Typed refusals for unsupported logprobs on native engines" and keeps the MiMo / token-constraint refusal (the outage fix) verbatim. The GLM serving bullet is replaced by "groundwork … not enabled": a coordinator with darkbloom-platform#411 refuses GLM logprobs until the catalog lists them, and 0.10.1 does not add that.
    • glm-openrouter-returned-reasoning: removed "forced tool choices" from the still-refused list. The JSON / forced-choice entry in the same release serves required and named choices.
    • glm-startup-single-verification: "about 50 s per start" → "saving about 50 s per start".
    • glm-startup-single-verification: "; about 25 s more per restart" → ", saving about 25 s more per restart".
    • glm-wired-limit-notice: "memory admission, KV grants and capacity are unchanged" → "the notice does not change memory admission, KV grants or capacity". The page-cache entry in the same release does change admission.
  • docs/operations/provider-release.md: the 0.10.1 preparation paragraph and prerequisites (deploy perf(coordinator): use WriteString for per-chunk SSE writes #411 before tagging; no catalog logprobs for 0.10.1; fix(glm): GLM-5.3-Flash OpenRouter readiness: VFR video, strict tools and returned reasoning #1561's pin-only re-pin to the fix(coordinator): schedule the read-cache purge janitor #340 squash commit), the Super floor and snapshot follow-ups, pinned platform evidence, and the published history (v0.10.0, v0.9.22, v0.9.21).

Before And After

Legend: grey = unchanged, blue = changed or action step, green = verified outcome, orange = gap or risk.

Behaviour: rollout and the logprobs outage fix

flowchart TB
  subgraph BEFORE["Before: production today"]
    direction LR
    B1["Providers 0.10.0"]:::old --> B2["Coordinator f512258a<br/>no logprobs guard"]:::old
    B2 -.->|"logprobs on GLM"| B3["0.10.0 native engine<br/>500 generation_failure"]:::warn
    B3 -.-> B4["breaker cools every<br/>GLM provider"]:::warn
    B2 --> B5["GLM strict tools and JSON modes,<br/>Super JSON with tools, inlined video<br/>refused with 400"]:::warn
  end
  subgraph AFTER["After: coordinator first, then tag"]
    direction LR
    A1["1. Deploy platform PR 411<br/>logprobs need the<br/>catalog capability"]:::new --> A2["Logprobs on GLM, MiMo, Super:<br/>typed 400, nothing cools"]:::ok
    A2 --> A3["2. Push signed tag v0.10.1<br/>CI signs, notarizes, registers"]:::new
    A3 --> A4["3. Providers auto-update<br/>new GLM and Super shapes served"]:::ok
    A4 --> A5["Catalog unchanged:<br/>logprobs deferred"]:::old
  end
  BEFORE ~~~ AFTER
  classDef old fill:#eceff1,stroke:#546e7a,color:#263238
  classDef new fill:#e3f2fd,stroke:#1565c0,color:#0d47a1
  classDef ok fill:#e8f5e9,stroke:#2e7d32,color:#1b5e20
  classDef warn fill:#fff3e0,stroke:#e65100,color:#bf360c
Loading

Code and release artifacts

flowchart LR
  subgraph BEFORE["Before: master with 1561 and 1560"]
    direction TB
    C1["ProviderCore.version<br/>0.10.0"]:::old
    C2["changelog.d<br/>20 pending fragments<br/>one says GLM serves logprobs"]:::warn
    C3["CHANGELOG.md<br/>v0.10.0 marked unpublished"]:::warn
    C4["provider-release.md<br/>prepared as 0.10.0"]:::old
  end
  subgraph AFTER["After"]
    direction TB
    D1["ProviderCore.version 0.10.1<br/>check-release-version.sh<br/>accepts tag v0.10.1"]:::new
    D2["changelog.d<br/>20 rendered and removed"]:::ok
    D3["CHANGELOG.md<br/>v0.10.1 candidate, logprobs deferred<br/>v0.10.0 published 2026-10-23"]:::ok
    D4["provider-release.md<br/>platform PR 411 before tagging<br/>no catalog logprobs"]:::new
  end
  C1 -- "version bump" --> D1
  C2 -- "changelog.py render" --> D2
  C3 -- "tag evidence" --> D3
  C4 -- "runbook" --> D4
  classDef old fill:#eceff1,stroke:#546e7a,color:#263238
  classDef new fill:#e3f2fd,stroke:#1565c0,color:#0d47a1
  classDef ok fill:#e8f5e9,stroke:#2e7d32,color:#1b5e20
  classDef warn fill:#fff3e0,stroke:#e65100,color:#bf360c
Loading

Validation

On this tree (origin/master e483dcc3, generated by regen.py on 2026-10-23; scope: #1561 merged at 09d72c8a (scoped aad44243 + 1 pin-only commit(s)); #1560 merged at a86de72c (scoped a86de72c)):

  • ./scripts/check-release-version.sh v0.10.1 gives release version integrity: 0.10.1. It also accepts -dev.N and -staging.N suffixes and refuses v0.10.0.
  • make changelog-check gives changelog: 0 valid fragment(s) (left pending: none). make changelog-preview and python3 scripts/test-changelog.py pass.
  • make docs-check gives docs-check: 195 file(s) OK after the desktop update, with libs/mlx-swift-lm initialized as in CI Docs Lint.
  • make docs-impact-check on the committed tree:
    • BASE=HEAD~1 (this commit alone): docs-impact: 16 changed file(s), canonical documentation coverage OK;
    • BASE=origin/master: docs-impact: 16 changed file(s), canonical documentation coverage OK before the desktop update; 22 changed file(s) after it, and 23 changed file(s), canonical documentation coverage OK after the Autopilot update.
  • Desktop update (97f906ee): feat(desktop): Darkbloom macOS desktop app (Electron) backed by the Swift CLI #1518 merged to master (09692e53) after the first render. A signed merge of master (no conflicts) plus one signed commit renders its six fragments verbatim, removes them, adds the desktop rollout note and updates the runbook. Rechecked: release version, changelog-check (0 pending), preview, test-changelog.py, docs lint and docs impact.
  • Autopilot update (f3d14af7): provider(autopilot): serve every downloaded build, download on the operator's behalf, keep placements, report busy reasons #1565 merged to master (2902b026). A signed merge of master (no conflicts; it does not touch the version, changelog or runbook) plus one signed commit renders its fragment with the startup correction, adds three rollout notes and updates the runbook. Rechecked the same set: all pass, docs lint 195 files.
  • Content from v0.10.0's ### Upgrade and rollout notes through all older history in CHANGELOG.md is byte-identical; only v0.10.0's heading and publication line change.
  • The rendered notes contain no logprobs serving claim (regen.py guard).
  • SDK commits included: 6148b6da fix(glm5next): sample variable-frame-rate video at the track's average rate (#340).

Pre-merge simulation, 2026-10-23:

Both Mermaid figures render with mmdc 11.17.0 (2026-10-23).

Not run: the full provider suite (only the version string changed in Swift; CI covers the rest).

Refactor Pass

A dedicated refactor subagent reviewed the first version: the commit (ProviderCore.version, the v0.10.1 CHANGELOG.md entry, provider-release.md), this body and regen.py. It checked them against the #1561 and #1560 fragments, the provider's native-engine refusal, darkbloom-platform#411 and #1557. It made these text-only edits, all in the regeneration kit, so regen.py reproduces them after the merges:

Reviewed without change: the release scope and fragment selection, the other corrections, the logprobs wording guard, the v0.10.0 history, the runbook narrative, the commit message and the figures. It rechecked #411 at 1692564a (LogprobsNeedCatalogCapability covers mimo_v2, nemotron_h_omni and GLM5-Next), the v0.10.0 release time and tag, and the PR heads. The checks above are from the regenerated tree.

Final dedicated post-merge refactor pass on d4e88078a (2026-10-23): no tracked source changes warranted. Reviewed the full commit, this body and the regeneration kit, including the three additional verbatim fragments (#1505, #1493 and #1482), the installer upgrade note and the platform snapshot's scripts/install.sh delta. Corrected only this body and its template: rollout step 2 deploys the already-merged #411, and the history/limitations wording distinguishes recording v0.10.0's publication from publishing v0.10.1. Re-ran docs lint (192 files), docs-impact (16 files), changelog check/preview and 14 changelog tests, release/dev/staging version checks and old-version rejection; verified the local commit signature with allowed_signers_darkbloom. No Swift builds or tests, live qualification, or new Mermaid rendering were performed in this final pass; the figures are unchanged. No new source commit was needed.

Limitations

  • provider(autopilot): serve every downloaded build, download on the operator's behalf, keep placements, report busy reasons #1565 follow-ups (non-blocking, from today's reviews): opted-in Macs on scheduled windows re-hash every model at each window boundary, and every start re-hashes extra cached builds before its one reconnect (reuse VerifiedWeightHashStore); revoking consent does not cancel a download in flight; a corrupt autopilot-downloads.json resets the download caps; untracking a stalled preload also drops its preload busy reason and shutdown handle, which the docs understate; agree the hold policy (explicit clear, pause) before the coordinator sends hold_seconds.

  • This PR records v0.10.0's existing publication; it does not publish v0.10.1 or activate any model, catalog or coordinator change.

  • The rollout notes cite darkbloom-platform#411 at reviewed head 1692564a, now merged as fa4d5214. Verify its deployment before tagging.

  • OpenRouter readiness itself isn't verified live. Rerun the GLM and Super capability tests after providers converge on 0.10.1.

Components touched

  • provider-swift (version constant only)
  • CI / provider release (runbook)
  • docs

Protocol/interface: no changes. Changelog: explicitly authorized release-history update.

Merge Danger

Door: Two-way before tagging; publication and rollout are separate approvals.

Blast Radius: Release identity and documentation. This PR changes only the Swift version constant, release notes and runbook, and removes the rendered fragments.

Set ProviderCore.version to 0.10.1 and render the v0.10.1 changelog
entry from the 13 fragments added since v0.10.0: the GLM-5.3-Flash and
Nemotron 3.5 Super OpenRouter readiness work (#1561, #1560) and the
many-file download progress display (#1558), plus already-merged
installer, sign-in and release-note fixes (#1505, #1493, #1482). Order
the entries by theme behind an upgrade and rollout section. Logprobs are
deferred, so the native-engine entry keeps the typed refusal and calls
the GLM logprob code disabled groundwork. Drop the forced-tool-choice
refusal that the GLM JSON and forced-choice entry supersedes, and
clarify the GLM startup savings and the wired-limit notice.

Mark v0.10.0 as published on 2026-10-23. Record in the provider release
runbook that darkbloom-platform#411 must be deployed before tagging,
that no catalog row gains the logprobs capability for 0.10.1, and that
#1561 re-pins mlx-swift-lm to the #340 squash commit before it merges.
No tag, registration, upload or deployment is performed.
@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
d-inference Ready Ready Preview Oct 23, 2026 10:39pm UTC
d-inference-console-ui-dev Ready Ready Preview Oct 23, 2026 10:39pm UTC
d-inference-landing Ready Ready Preview Oct 23, 2026 10:39pm UTC
darkbloom-status Ready Ready Preview Oct 23, 2026 10:39pm UTC
eigen-homepages-darkbloom Ready Ready Preview Oct 23, 2026 10:39pm UTC

Request Review

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Threat model review — advisory

Reviewed head f3d14af797cc against base 2902b026a278.

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

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: 34/94 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: 11 request(s), 503607 uncached + 0 cache-read + 0 cache-write input / 8247 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: 15 native request(s), including one shared response repair; 500 emergency ceiling. Selected depth and integration rounds are admitted as their scope becomes known.

The desktop app (#1518) merged to master after this preparation was rendered, so its six changelog fragments were still pending. Render them verbatim into the v0.10.1 entry and remove them: the desktop control API and hardware report ship in the provider CLI. Note in the rollout notes and the runbook that the provider release does not build, sign or publish the Electron desktop app, whose public distribution still needs a signed, notarized build and an update feed.
@Gajesh2007

Copy link
Copy Markdown
Member

Heads-up for 0.10.1: I'd like #1565 to go out in this release. It covers Autopilot serving every downloaded build, downloads on the operator's behalf (on by default with consent; operators can cap storage and model count or turn them off), per-model placement holds, and busy reasons plus the transition watchdog.

Autopilot placements, downloads and busy reasons (#1565) merged to master after the desktop update. Render its fragment into the v0.10.1 entry and remove it, correcting "startup is not slower": with consent, start first fetches the catalog, waiting up to 10 s. Add rollout notes: changes apply only to Macs with saved consent; the wider selected_models also counts toward reward qualification, approval counts and operation victims on the current coordinator; one reconnect after start; holds, adopted routing and downloads need darkbloom-platform#439.
@Gajesh2007
Gajesh2007 merged commit fb99bcf into master Oct 23, 2026
23 of 24 checks passed
@Gajesh2007

Copy link
Copy Markdown
Member

Step 2 is done: the production coordinator now runs platform master 0ee2ad185 (#411 + #425 + #438 + #439), image sha256:26db1e59656f302ebeec52406ef417dc5c39b7bc1506300c0a3a7bb3c60cafe3, swapped per coordinator-deploy.md at 23:00:36 UTC.

  • Gates:
    • /health build_commit matches.
    • The 0.10.0 fleet keeps serving: 1,121 providers reconnected, all 13 models are ready with routable capacity at or near baseline, and traffic was back to baseline (~4.4k selected routes/min) by 23:06 UTC.
    • Still to run: the GLM logprobs: true → 400 param: logprobs probe. It needs an authorized API request, so I didn't send one.
  • Swap: drain at 22:58:48, graceful stop (exit 0), new coordinator ready at 23:00:38.
  • Unchanged: cache controls and the env file are byte-identical, the sidecar is ready with 0 restarts, and there were no migrations.
  • New code inert: long-prompt routing logged enabled=false percent=0; the fix(coordinator): cap per-box concurrency at quality_concurrency; keep dedicated pool warm #439 paths stay inert until providers report the new capabilities.
  • Rollback: sha256:92c37efe… (f512258) is preserved as coordinator_fallback_20261023-225243, with rollback state and deploy.log in /var/lib/darkbloom-deploy/rollout-20261023-0ee2ad1/.

This branch was successfully deployed

5 active deployments
Preview – d-inference-console-ui-dev — f3d14af7 Deployed Oct 23, 2026 by vercel[bot]
Preview – d-inference — f3d14af7 Deployed Oct 23, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — f3d14af7 Deployed Oct 23, 2026 by vercel[bot]
Preview – d-inference-landing — f3d14af7 Deployed Oct 23, 2026 by vercel[bot]
Preview – darkbloom-status — f3d14af7 Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants