Repository navigation
Release dev into master: provider 0.10.12 - #2039
Conversation
…ndoned `handleCancellation` records when the coordinator cancels an accepted request (`coordinatorCancelledAt`; a disconnect's cancel-all is not recorded). The drain's count (`coordinatorRequestsInFlight`, hence `lifecycleRemaining`) still includes it for `orphanedRequestGrace` (30 s), the time a cancelled task that ends needs to send its terminal; after that its answer has nobody to go to, so a task that never ends no longer holds the drain until its deadline. - The entry leaves with the acceptance (`finishInflightRequest`, the handler's early exits; their two `defer` branches are now one). - `hasInflightWork` still counts the request until its task ends, so eviction and memory reclaim are unchanged, and a native MiMo owner still retires only after its consumers. - A request nobody cancelled is never truncated by a graceful drain. On 11-10 `darkbloom stop` waited 600 s on 20 such requests on a MiMo M3 Ultra: the coordinator had ended and cancelled all 20; their tasks were stuck behind an engine that stopped stepping. Tests: the red `OrphanedRequestDrainTests` pass. CPU-only local run with the companion fixes: 55 tests in 11 suites pass (update drain awareness, owner pause, lifecycle barrier among them). Docs: cli-reference.md (`stop`). Changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tive checkpoints (red) Tests only. On the 0.10.12 candidate they fail: auto still enables Nemotron Lightning's embedded MTP head, and its complete checkpoints default to balanced rows once served without that head. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lightning's embedded MTP head speculates for one request only: beside a second request every step became a hidden-returning step, and production decode fell from 111 to 54 tok/s (11-09, served requests by rows running at selection). It also charges about 45 KB of head state per context token, so the slot's token budget is about an eighth of its KV: at 16:30Z on 11-10, 28 of 61 eligible Lightning slots could not admit one request with the default 32,768 output tokens, and 8 % of attempts were refused request_exceeds_node_budget. Under auto Lightning now decodes without the head; explicit on keeps it. The SDK pin moves to mlx-swift-lm #378 merged with main 093563be: plain Nemotron 3.5 decode commits by operation count, and its complete checkpoints stay native, as beside the head, so a cache hit's output does not move. Measured on d-inference #1714 (same change on master, M3 Ultra): +11 % at one row, +54 % per stream at four, same outputs at temperature 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s used (red) The heartbeat's committed bytes move into EngineV2Bridge.heartbeatCommittedBytes, unchanged: a native engine reports max(held requests, engine reserved). For GLM the engine's reserved bytes keep the paged pool's retained segments after every request retires (AdmissionV2.chargedLedgerBytes counts the physical floor), so an idle slot reads as full while the slot gate (glm5NextCommittedBytes) would admit. Production 11-10: idle GLM slots at 241,719 of 257,599 tokens, about 90 % of OpenRouter's GLM requests turned away. Red: glmHeartbeatReportsTheRequestsItsGateHolds (2 of 4 expectations). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 3c5375c)
…e holds EngineV2Bridge.heartbeatCommittedBytes reports, for GLM, the bytes the slot gate charges (glm5NextCommittedBytes: held requests at their reserved tokens plus gate reservations), not max(held, engine reserved). The engine's reserved bytes keep the paged pool's retained segments after every request retires and the engine reuses them; reporting them read an idle production GLM slot as 90-99 % full, so the coordinator's free-memory gate refused most GLM requests while the provider's own gate would have admitted them. Other native engines and ordinary engines are unchanged. Green: glmHeartbeatReportsTheRequestsItsGateHolds. Docs (inference.md, GLM slot gate) and a changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 2901bc1)
…ce (red) glm5NextCommittedBytes sums the gate reservations and every request in active. A request enters active when the engine accepts it, but its gate reservation goes only when submitTokenized returns, which a streamed local request does once the engine starts it (holdHeadUntilAdmitted). So while it waits behind another's prefill it counts twice. M5U window 3 (11-10, a 256 GB M5 Ultra, 57k/16k requests at 116,066 tokens each): two waiting requests read 464,263 tokens and the third was refused token_budget_exhausted in all three orderings, with room for it in memory. The sum moves, unchanged, into a static glm5NextCommittedBytes(gateReservations: heldBytes:). Red: aWaitingGLMRequestIsChargedOnce (two waiting read 464,263, want 232,132; the third is refused; an id in both maps counts twice). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 5e525a5)
glm5NextCommittedBytes(gateReservations:heldBytes:) counts each request id once, at the larger of its gate reservation and its admitted charge (prompt plus max_tokens beside its fixed bytes): its full projected need, never twice. A request reserved at the gate but not yet in active, and one in active whose reservation is released, each count once. The heartbeat reports the same sum. Only a streamed request on this Mac's own API holds its gate reservation across a suspension after the engine accepts it (holdHeadUntilAdmitted); the coordinator path returns, and drops the reservation, without suspending. Nothing else over-admits: the gate still refuses a request beside held ones that would pass the slot's admissible bytes (slot_capacity_committed, typed, before any stream), and the engine ledger and the process-memory owner are unchanged. On window 3's figures two waiting requests now read 232,132 tokens, a third fits (348,198 of 387,586) and a fourth is refused. Green: aWaitingGLMRequestIsChargedOnce. Docs (inference.md, GLM slot gate) and the changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit bcd381e)
…t-mtp (0.10.12 candidate c; head ca8697d)
…line diagnostics CI (`ModelCalibrationTests`, "calibration retirement preserves the original deadline and cancellation diagnostics", cancel case) caught that a request cancelled while it waited for the probe left without the profile's `.cancelled` deadline decision and before-generation cancel record that `checkBeforeServiceAdmission` writes after a completed wait. Both early exits from `admitForeground` now run `checkBeforeServiceAdmission` first: a cancelled request records `.cancelled` exactly as before, an overdue one whose deadline already expired records `.expiredBeforeSubmit`, and only a live request gets the capacity refusal. The test now also waits for the preempted probe to retire before checking that nothing stayed held, since a cancelled request no longer waits for that retirement. Local, CPU only: 77 tests in 11 suites pass, `ModelCalibrationTests` among them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ot a pair symbol The refactor pass found that #1714's pair sentence cited a symbol the 0.10.12 tree no longer has. The serving slot resolves the checkpoint precision with the model type (EngineV2SlotFactory); a pair's record precision is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ding After a request's last token, the provider publishes the prompt's complete checkpoint before the terminal. At the default `balanced` checkpoint precision that export read its attention rows one row at a time and coded each on one core; under GLM-5.3-Flash's native profile each read also revalidated the native binding. On an M5 Ultra (0.10.12 candidate #1958 + #1964) the stream stayed open 63.0 s after a 200k-token prompt's last token and 17.3 s after a 57k-token one, at ~28 us per latent row, with the slot charged throughout. Production on 0.10.11 (12 h, request_profiles: terminal_built_us - last_delta_us): Gemma 4 26B 4-8k / 8-32k prompts p50 1.24 / 1.62 s, GPT-OSS 20B 8-32k p50 1.65 s, GLM-5.3-Flash >= 128k p50 51 s; for OpenRouter requests with prompts >= 4k the tail is 28 % of Gemma's generation time (p50 101.5 -> 68.3 tok/s) and 17 % of GLM's. SDK pin 67110e7b -> bca3aa05 (mlx-swift-lm branch fix/checkpoint-export-batched-row-reads, on SDK main 093563be, so the pin also carries 093563be's merges, as #1671, #1944 and #1614 do): - afe380af test (red): a native-bound export reads coded rows in batches; the row-by-row reference oracle at segment sizes 1 to whole. - 2eb747f3 fix: read a head's consecutive rows in batches of up to 256 KiB. - bca3aa05 perf: code a batch on up to four cores (a quarter of the active ones), rotate eight lanes at a time; identical bytes and first refusal. The checkpoint bytes are unchanged, so restores and answers are exactly as before. Docs: inference.md (donor publication), ssd-kv-cache.md (conversion row); changelog fragment checkpoint-export-batched-rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#1965 lands after #1961 in 0.10.12 candidate (c) (#1970, which merged #1961 at ca8697d). Merging it here lets #1965 correct the #1961 statements it makes false (the review's A-G, next commit). Conflict: docs/architecture/prefix-cache.md invariant 9 and its failure-mode row; #1965's text is kept (a penalty row now records history and donates). Everything else merged cleanly; the SDK pin stays #1965's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the read's share The 25 us per-row read cost is inferred (a 28 us per-row tail against 3 us of measured coding); the paragraph now states the measured figures only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…orrections; a restored card row's own donation - libs/mlx-swift-lm: 56ab2e15 -> ef028fbe, mlx-swift-lm#398's merge commit on main. Its tree equals 56ab2e15's, so the library is unchanged. - #1961 statements this change makes false (the review's A-G): a penalty row does not speculate but still stages prefix checkpoints (EngineV2SamplingDefaults.swift header and the 9B defaults' doc, #1961's changelog, inference.md). Tense fix in #1961's changelog. - Changelog: Qwen3.8-27B (same embedded head) and Nemotron Super also start saving checkpoints for stop, logprobs, penalty, logit_bias and constrained requests; "almost no" cache holders; the pin by commit. - inference.md names Qwen3.8-27B under the Qwen 3.5 head and scopes the decode bit-equality beside a recording prompt to the SDK's tests. - Qwen35CardDefaultDonationTests: a restored card request donates the chunk end above its restore point, and the next turn restores that donation and answers as its cold run (the multi-turn agent case). - Live test (GPU validation S1): turn 3 restores the restored second turn's own donation; a ~32K-token card prompt under production's complete- checkpoint stage caps (Qwen35CheckpointRetentionFixture.makeStore takes the caps); the stream tail after the last token per run; an informational check of a card decode beside a card prompt with the cache on and off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…code and SDK On a runner whose default developer directory is the command-line tools (Blacksmith, 11-10 run 42864979302, both attempts), xcrun resolved the missing CLT SDK and the step failed before compiling. run.sh now exports DEVELOPER_DIR and SDKROOT from the toolchain step's PROVIDER_SDKROOT when it names an Xcode's SDK; local runs are unchanged. Local run with PROVIDER_SDKROOT set: 80 tests, 0 failures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cted-sdk (0.10.12 candidate c; head 634a9e7)
…be (#398) SDK main moved to ef028fbe (#398: non-speculating rows save prefix checkpoints). A pin after it must contain it, so the fix branch merged main (signed merge 67cf895d, no file in common) and this PR pins the merge. This PR therefore also carries #398's SDK change: merge it with or after #1965, which documents that change, and repin to SDK main once the fix branch is merged there. #398's new donors: Qwen 3.5/3.6 checkpoints keep native storage (the MTP history forces it), so they never take the coded path this fix changes and their end-of-stream wait is the native file write; Nemotron 3.5 Super's coded attention rows do take it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ghtning-plain-decode-0112 No conflicts; the SDK pin is unchanged by (c). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t (0.10.12 candidate c; head e93d368)
…(0.10.12 candidate c; head c13fbe1)
…rged, with #398) SDK_MAIN3: #378's merge commit on main. Its tree equals the tested #378 head 746e5048 (main ef028fbe merged in first), so this adds #398 and the SDK test of the native checkpoint rule to the previous pin 2b522f5b. #1965 pins the same commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review of the queue-stall rule (`earnings/review-1966-1968.md`): in 7 days of production its exact condition (waiting, nothing running, no step) held a minute or more about 360 times on 11 models and ~140 Macs, and two minutes or more 139 times (125 Bonsai, 7 Super), almost always ending by itself. Healthy causes: vision encoding counted as waiting, plans with nothing to assign that take no step. On MiMo it held once, during the incident. `QueueStallSlotStateTests` now pins: - the queue rule on a native MiMo slot (the bridge marked as a native MiMo load transaction marks it), unchanged; - the same frozen queue on any other slot: never "crashed", never a confirmed wedge, even after 20 minutes; - a sealed native fault (`EngineV2.nativeCompletionFault`: native work failed, the engine never steps again) reads "crashed" at once and is a confirmed wedge, on any slot. `SealedNativeFaultReporting` (EngineV2 conforms through `nativeCompletionFault`) is the seam the fake engine implements; nothing reads it yet. Red on `45666c908b`: 6 issues (the ordinary slot reads crashed and recovers; the fault is ignored in both cases). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…acity, 503 Review of #1966 (`earnings/review-1966-1968.md` §6.2): the bound test checked only the refusal's message prefix. This pins the mapping the inference handler applies at stream start: `token_budget_exhausted: the idle calibration probe did not retire` becomes code `capacity`, HTTP 503, reason `tokenBudgetExhausted`, which the coordinator classifies as transient capacity and fails over to another Mac. Passes on this branch (a pin of existing behavior, not a fix). CPU-only local run with #1967 and #1968: 120 tests in 14 suites pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the drain waiting Review of #1968 (`earnings/review-1966-1968.md`, mutant M7): no test held that only a coordinator cancel starts the grace. A disconnect's cancel-all (`receivedFromCoordinator: false`) is not the client leaving, so the request must keep holding the drain until its task ends. The new control fails with mutant M7 applied (the grace stamped on any cancel: `lifecycleRemaining` reads 0 instead of 1 after 300 ms) and passes on this branch. CPU-only local run with #1966 and #1967: 120 tests in 14 suites pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ault, or a stalled native MiMo queue
`EngineV2Bridge.engineStopped(queueStalledFor:now:)` replaces the fleet-wide
queue rule. It is true when:
- the engine reports a sealed native fault (`EngineV2.nativeCompletionFault`,
through `SealedNativeFaultReporting`), on any slot. Once native work fails
the SDK seals the native shutdown state `incomplete` and the step loop never
runs again (`EngineLoopV2.engineStep`'s `mayExecute` / `beginCommit`
guards), so there is no false-positive class: the slot reads "crashed" at
once and is a confirmed wedge at the next recovery tick;
- or the slot is native MiMo (`nativeTransactionID`) and its queue has held
work with nothing running and no step for 30 s ("crashed") or 120 s
(confirmed wedge, retirement). This stays as the backstop because the fault
is the review's lead for the 11-10 stall, not yet confirmed on a Mac.
`WedgeMonitor.marksCrashed` is back to its dev form; every other model keeps
only the admit-streak rules. In 7 days of production the queue rule held a
minute or more ~360 times on 11 models, nearly always healthy (vision
encoding counted as waiting, plans with nothing to assign), and once on MiMo.
Pair engines are neither native MiMo nor fault-reporting, so the explicit
pair exclusion (the review's surviving mutant M6) is gone with it.
Tests: the red `QueueStallSlotStateTests` pass (6 issues → 0). CPU-only local
run with #1966 and #1968: 120 tests in 14 suites pass, and the four affected
suites pass 5 of 5 repeats. Docs: inference.md. Changelog fragment rewritten.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ry other model keeps its rule (red) The narrow fallback to #1973: only the catalog Gemma QAT build changes. absentKeys now expects exact for gemma-4-26b-qat-4bit, and gemmaQATDefaultsToExact pins exact for that id, typical for its 8-bit siblings, the 35B Qwen builds, Qwen 3.8, Lightning and GLM, exact for Qwen3.5-9B (#1961), and that a per-model or global "typical" still wins. On #1961's head (ca8697d) two tests fail, each on gemma-4-26b-qat-4bit resolving to typical. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
) SDK main 505e6bd8 is the merge commit of mlx-swift-lm#399 (this fix) onto a6599fd2 (#378, Nemotron 3.5 Lightning), which follows ef028fbe (#398). Its tree equals the fix branch head 781c3820's (61d17c0d), green on Fork Tests 42882853010 (all 10 shards). #1965, #1969 and candidate (c) move to the same commit; resolve each gitlink to it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, the stop during the wait (red) The independent review (review-2033.md S1-S3) found: - S1: a `start` part runs under the AppKit host, which has already taken SIGTERM and SIGINT (ProviderSignalHandler: ignored, read by dispatch sources) before Start.run(). So the service's stop does not end the part during the 20 s wait after the ask, as the comment claimed; it sleeps the whole wait, then carries on starting. - S2: the ask is made even when its 6 h record could not be written. - S3: four of the reviewer's mutants passed the PR's tests: a plain string comparison of the versions, the 6 h record keyed on the supervisor's release, the record written after the ask, and launchctl print of another job. New tests: - the releases' order decides, never the text's: DevNet build 99 -> 100 and 176 -> 177 (W1's morning case), 0.10.9 -> 0.10.10 and 0.10.12, 0.10.9-dev -> 0.10.12-dev, and the reverse and equal cases; - a newer installed release asks again within 6 h; - launchctl print asks for this build's label, and the record is on disk when launchd is asked; - a supervisor with no service running (before a re-exec) is left alone; - `kickstart -k` is what launchctl is asked, and its refusal is said; - an ask that can't be recorded is not made (red: S2); - in a child with SIGTERM and SIGINT taken as the AppKit host takes them, a SIGTERM during the wait ends the process (red: S1), and after the wait the handlers are back. Seams with today's behaviour: waitForStop(seconds:) is the plain sleep, and kickInBackground takes the launchctl runner. Red here: the S1 and S2 tests; the order, record and label tests pass, and fail on the reviewer's mutants (string order, M9, M12, M15, M17). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sk only once recorded The independent review (review-2033.md, S1 and S2): - S1: the 20 s wait after the ask did not end at the service's stop for a `start` part, as the earlier commit said it would. Rank 0, a coordinator-paired part and a solo server run under the AppKit host, which takes SIGTERM and SIGINT for the provider's own drain before Start.run() (ProviderSignalHandler: ignored, read by dispatch sources), so a SIGTERM was only noted: the part slept the whole wait, then carried on starting. Only `cluster link-follower` ended at once. waitForStop now gives SIGTERM and SIGINT their default action for the wait and then gives them back what they had (sigaction), so the stop ends every part at once and a part that nothing stopped starts as before. - S2: the ask is made only once its 6 h record is written. A record that can't be written means no restart, said in the part's log, so the no-loop property doesn't depend on launchctl. Docs: cluster-always-on (the coordinated update, step 4): the order is the releases', the parent check, the record before the ask, and the wait's signals. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t its first chunk Run 43182522534 (shard 2): `stackedImageWaitsForAStreamingImage` passed every wait, cancellation, one-waiter and serve check, but its M10 check compared the stacked image's reserved bytes at its first chunk with those sampled while the first image was held before its native terminal, when the first image's KV reservation was already gone. Both images are identical, so the reference is now the first image's own reserved bytes at its first chunk; a stacked image that reserved while the first's charges were still held would see both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…efill or a stale count, binding-only stacking on wider owners (red) From the #2035 review (S7, S8, S9): - S7: the owner's expected media first chunk, which bounds a coordinator request's stacked wait, must not run low: never below 6 s, and a slow first chunk counts for the last 64 media requests, so a run of fast ones (prefix-cache hits, small images) cannot shorten the wait a slow image needs. Red today: 2 s after samples of 2 s and 1 s; the 9 s sample drops out after 8. - S9: an owner serving more than one request leaves stacked waits to the image binding (its slot keeps text room); at the owner they end in a refusal there. Red today: the request waits. - S8: pins two rules that already hold. An image does not wait behind an image still before its first chunk (held at the bridge's pre-submit gate; mutant V4), and a media request finished mid-stream leaves no streaming count, so behind text an image is refused at once (V15). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e binding only on wider owners From the #2035 review: - S7: `Owner.expectedMediaFirstChunk`, which bounds how long a coordinator request's stacked image may wait, is now the longest of the last 64 media first chunks (was 8), and never below 6 s (`NemotronSuperServingPolicy.minimumExpectedMediaFirstChunk`, which also replaces the unmeasured default). A run of fast first chunks (prefix-cache hits, small images) can no longer pull it under what a slow image needs: an image that waits and then misses its first-chunk timer fails, where an immediate 429 would have been re-routed. With 9-12 s per-attempt budgets the 3 s cap still dominates (budget - 6.5 s >= 3 s from 9.5 s), so the floor shortens waits only on tight budgets or slow Macs. - S9: the owner-level stacked wait applies only to an owner serving one request at a time. A wider owner leaves stacking to the image binding, which keeps a slot free for text; at the owner such a wait mostly ended in that refusal anyway. The red tests turn green. Docs: inference.md's Super media section; changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…c8 2023@a4b05e92b6 2026@5a1a539711 2028@668c4af95a 2033@16b1a18bda 2029@109fbaec75 2035@df6a2553df (it is redone on top) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-0112 (0.10.12 final fold; head 3f83740)
….10.12 final fold; head d72808c)
…0112 (0.10.12 final fold; head a4b05e9)
…ttle (0.10.12 final fold; head 5a1a539)
…in (0.10.12 final fold; head 668c4af)
…rt (0.10.12 final fold; head 16b1a18)
…g-wait (0.10.12 final fold; head 109fbae)
…(0.10.12 final fold; head df6a255)
Version 0.10.12; the 68 changelog.d fragments rendered into CHANGELOG.md (scripts/changelog.py render --version 0.10.12 --date 2026-11-12, verbatim, in filename order) under the candidate heading, with the upgrade and rollout notes; v0.10.11 marked published (2026-11-09); the 0.10.12 section of docs/operations/provider-release.md. Base: master 6584269 (the 0.10.12 release branch's squash). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0.10.12 candidate d
…anged #2000 ported dev's CI and test changes to master on 2026-11-11; its other 22 files already match dev. Master's only other content: 5 CI changelog fragments that dev has rendered or superseded, a Cluster Release Build Checks row in docs/developer/build.md and Last updated lines in docs/developer/test.md and docs/operations/provider-release.md that dev has since changed. Dev wins, so the release tree stays the one tested on dev; master becomes an ancestor of the branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…der 0.10.12) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Threat model review — advisoryReviewed head Review not completed for this head. Previous findings are superseded, not confirmed resolved. 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: Coverage: 0/0 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. |
Release provider 0.10.12:
devintomaster. Merge with squash, as #1859, so nodevcommit enters master's history. Approver: Kydo (David's #1921 and #1922 commits are in it).What this is
devatdf36d81c3f(DEV_FINAL: the merge of #1970, tree1bbcdc4242) plus one signed commit restoring master'splain-build default (
Package.swift?? "prod",BuildEnvironmentTests.swift's default test). Tree5ff5639c6a.#1970 and the candidate-d PR (#2038) carried the release preparation into
dev: a signed merge ofmaster(0.10.11: #1859, #1938) and"Prepare provider 0.10.12" (
ProviderCore.version0.10.12; 68 fragments rendered intoCHANGELOG.mdwith the upgradenotes and two wording overrides;
docs/operations/provider-release.md's 0.10.12 section). So this one squash bringsmaster to 0.10.12, and
v0.10.12is tagged on it. No separate Prepare PR.Behaviour changes for production Macs (read first)
darkbloom startasks no serving question (feat(cli): 0.10.12 — darkbloom start serves Both (Darkbloom never paused) without a question; darkbloom local serves only you (stacked on #1970) #2008): a Mac with no saved choice serves Both (Darkbloom and its local API) and never pauses for its owner (me_first = falsesaved for new setups; saved choices are never rewritten, so "Both, me first" Macs keep pausing).darkbloom localserves only you. Scripts and the desktop app's Start without its local API get the same default where nothing is saved.darkbloom clusteris simpler (Cluster setup: the owner's simpler onboarding (0.10.12) #2007): no serving question (a pair serves through Darkbloom with the leading Mac's local API beside it); tensor parallel or pipeline chosen automatically for a new model (a pair's own model keeps its last mode); one short ending line on both Macs, details indarkbloom status; "Press Enter to exit." on a terminal.darkbloom cluster localstill asks, for a pair only you use.DARKBLOOM_TTFT_REFUSAL_PROBE=0disables it); no customer request is admitted without a time estimate.darkbloom statuslists answers in progress on a Mac that serves only you (0.10.12: status lists the answers in progress on a Mac that serves only you #2030; a local-only pair still lists none).darkbloom update(0.10.12: a pair's cluster service restarts into the installed release after an update #2033): one launchd restart of the build's own job, before it takes a request, at most once per release in 6 h.queue_fullbounce (0.10.12: a Super image arriving during the previous image's settlement waits for it instead of bouncing #2029); the slot serves up to 8 at once, images one at a time.media_memory_unavailable, notcapacity_busy(DO NOT MERGE: 0.10.12 fold B — Qwen3.5-9B takes 64 images; media gate refusal is media_memory_unavailable #2019). Its 64-image entry for Qwen3.5-9B is taken out (the 60-image check failed): the 9B keeps 16.darkbloom statusshows the answers in progress (Provider: darkbloom status shows the answers in progress #2017); a refusal'sinference_errorframe names its reason (refusal_reason,refusal_message; today's coordinator ignores both) (Provider: a refused request's inference_error frame names its reason #2016).pair_api_unavailablefrom the first request;unsupported_media;media_memory_unavailablefor media decode faults (no longer read as a full token budget).8ace9d99ac; CI was 20 KiB from a SIGBUS).crashed(fix(provider): a stopped engine reads crashed: a sealed native fault, or a stalled native MiMo queue #1967); a drain stops waiting for requests the coordinator abandoned (fix(provider): a drain stops waiting for requests the coordinator abandoned #1968).statuslists early ends by cause (fix(cli, provider): 0.10.12 — status says what stopped each early-ended request, and counts only real early ends #1980), Nemotron Super's prompt cache restores exactly (fix(provider): Nemotron Super saves native-precision prefix checkpoints, so a cache hit restores exactly #2002), Gemma 4 admits text beside a decoding image (SDK fix(coordinator): detach provider dispatch writes and add min-warm floors #402),tool_choice: autoreturns tool calls as generated (fix(provider): 0.10.12 — tool_choice auto returns calls as generated; strict checks the caller's schema; refusals name their check #2003), a verbatim loop stops early (Loop guard: end a verbatim-repeating answer as length #2005), GLM JSON with media on one Mac (fix(glm): one Mac serves a JSON response_format with image or video input #2009).DARKBLOOM_GEMMA4_NAX_ROW_MAP=0restores the old graph); Qwen 3.5-family first token −10–12 % under MTP for requests that sendpresence_penalty: 0(SDK APNs code-identity (v0.6.0): close the remaining attestation gaps — bind a fresh MDA per connection and enforce the SEP-signed SIP/Secure-Boot OIDs #302); nullable tool parameters takenull(fix(provider, sdk): 0.10.12 — a nullable tool parameter takes XML null (port of staging #49; SDK PR pending) #1944); opt-in early response before the checkpoint write, off by default (feat(provider): opt-in response before the checkpoint write finishes #1671).Pull requests in this release (61 rows: 64 PRs counting #1608, #1611 and #1922, which ride inside #1614 and #1962)
ecd761565c942effd91592d3669ae9cd4c529e5a118cdae448bc816cf268b58b276f4fb8d937a47de017ee8b0abc02629520c0d33913d0265f22f016548a04b16cca8a020def8f8ebb3721dd17f6d5508ace9d99ac0d6a80d09d52affdd1ab42d272a90432e8b50a73874b7a5dd6bb71a262b651b79686bcand #1611af3aed3cb3; the one SDK pin move to093563be11)bcd381e1105aec59f466634a9e764d2f8786153de87b65465bf8592667605e9f64ccf678ece7c13cmtp_mode = "auto"(SDK505e6bd87c; window 7)8140eed8d8f2e6d8179da18c9db2574793f5a15fin window 8b, then a behaviour-neutral refactor)92676de197c282675dfb, then a behaviour-neutral refactor)71cb993c83darkbloom statuslists early-ended requests by cause, paid or unpaid (exact once the coordinator sends the reason; platform #792 closes one gap)0d5dfdeeb9cfcd9c5903, then comment/changelog text)a5a0c71d42darkbloom models catalognames up to three not-downloaded models this Mac could select (print only;--jsonunchanged)76c052dc8368edb33d90, then text; the fold also fixes two (c)-only reference rows)2f62d5eed5(cherry-picked)ad8a5860e5(#402): Gemma 4 refuses deadline text beside an image row only while the image still has prompt work (window 12)7bd73180fftool_choice: autoreturns tool calls as generated; strict, required and named stay validated;tool_checknames a refusal's check (window 13; the fold adds the review's two must-fixes)fbe24b3cd9length(window 16)385a907f20response_formatwith image or video input on one Mac45860f5ebddarkbloom startserves Both without a question (never pausing, for a Mac with no saved choice);darkbloom localserves only youb250f13059darkbloom cluster: no serving question, tensor parallel or pipeline chosen automatically, a short ending, "Press Enter to exit."cbefdc6c81705041cdc937320cbf41inference_errorframe names its reason (refusal_reason,refusal_message)3ec9c41d6cdarkbloom statusshows the answers in progress (running_requests)f689fa5935f85f581616media_memory_unavailable; the fold takes out Qwen3.5-9B's 64-image entry (it keeps 16)5d5318fee98f6e190f3c44ab17555f(#403 paged page runs, #404 MTP shared-event leak) + #1961 re-applied as its top commit (Qwen3.5-9B: no default penalty, exact acceptance; 9B leak proof)83f49623513f83740a3ed72808c3c8darkbloom statuslists the answers in progress on a Mac that serves only you (0.10.12 W1)a4b05e92b65a1a539711668c4af95ab1c94d29c5); prompts and larger batches stay batched16b1a18bdadarkbloom update(launchdkickstart -k, once per release in 6 h; 0.10.12 W1)109fbaec75queue_full(SUPER-SLOT v1)df6a2553dfAlso in
devsince 0.10.11 and in this release: #1932 (the first D6 abort path, merged 11-09 after the 0.10.11 cut).Not in it (0.10.13 or later): #2004 (held), #1956 (as such; reworked as #2024, which is in), #1973 (exact acceptance for every model: held for 0.10.13 pending an A/B with production-like drafting), #1975 (CI-only requant workflow; lands on
masterafter the 0.10.12 promotion), #1946 (replaced by #1961), #1449, #1947, #1681, #1451, #1563, #1672.Pins:
libs/mlx72dffa2dunchanged,libs/mlx-swiftc633d221→b1c94d29c5(#70, #71, Swift only) (metallib5b97893c…expected unchanged);libs/mlx-swift-lm67110e7b55→44ab17555f(forkmain: SDK #372, #301, #395, #302, #364–#367, #378, #398, #399, #402, #403, #404). Fallback if the Qwen cache must go: mlx-swift-lm #400 (reverts #398), not merged.Checks on the head
Validation
dd17f6d550(window 2); C1 on DO NOT MERGE: 0.10.12 candidate (b) #1958's base + the D6 and C1 heads (GLM TP 6–8 lanes exact, Gemma TP 2 exact, Gemma pipeline 1-lane lookahead unchanged).DEV_FINALbuild: before the tag.Merge rules
Squash only; Release Integrity; signed commits; Kydo's approval (not the last pusher; not an author of the commits).
Master merge: master moved after 0.10.11 (#2000, the CI and test port).
bc2a90d9d3merges it with dev's tree unchanged (master's only other content was 5 CI changelog fragments and 3 doc lines dev has since changed), so squashing this PR gives exactly the tree tested on dev plus the prod-default commit.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.