Skip to content

Sync master 228d4b761 (PR 1637: staging-only master lane, dev-push signing gate) into dev - #1656

Merged
davidtai merged 10 commits into
devfrom
sync/master-into-dev-2026-10-28b
Oct 28, 2026
Merged

davidtai merged 10 commits into
devfrom
sync/master-into-dev-2026-10-28b

Conversation

@davidtai

@davidtai davidtai commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Merges master 228d4b761 into dev. It brings PR 1637 (the master release lane publishes staging only; the source gate admits a dev push for environment dev; the final app is checked with codesign -R against the self-updater's designated requirement), PR 1655 (Darkbloom sandbox CI jobs), PR 1629, PR 1644, PR 1652 and PR 1653.

This merge is the first signed dev build. It brings the thin caller (release-dev-branch.yml calls release-provider.yml with environment dev), so its push into dev starts "Release Dev-Branch Provider": Developer ID signing, notarization, X.Y.Z-dev.branch.N.

Conflicts (resolved as written in PR 1637's body)

  • .github/workflows/release-dev-branch.yml: the thin caller with dev's two cluster-helper paths (byte-identical to PR 1635's file).
  • .github/workflows/release-provider.yml: keep both. Dev's cluster-helper verify lines first, then APP_REQUIREMENT and the codesign --verify --deep --strict -R check.
  • docs/README.md: keep both index lines (dev's cluster-always-on page, master's sandboxes page).
    Built by work/cluster-lane/sync-dinference-master-into-dev.sh (operator workspace). It refuses any other conflict, a left marker, a changed pin, a drifted caller, or a missing trust-step RELEASE_ENVIRONMENT line or cluster-helper verify.

Pins

Unchanged: libs/mlx 72dffa2d, libs/mlx-swift c633d221, libs/mlx-swift-lm d5bd32b8. Master changed no libs/ pin.

Merge gate

Merge only after darkbloom-platform PR 551 (rank /v1/releases/latest by SemVer) is merged and deployed on DevNet, with /v1/releases/latest checked. Otherwise the first 0.10.4-dev.branch.N build registers, never becomes latest, and fails in await_latest.

🤖 Generated with Claude Code


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

jonathan308 and others added 10 commits October 28, 2026 11:34
#1625 deleted console-ui/ but left the pre-commit/pre-push hooks, the
Console UI Lint & Build CI lane, ui-* Make targets, the console Dependabot
entry and docs citations pointing at it. The pre-push hook failed any push
including the deletion, and docs-check failed on master (93 problems in CI).

Co-authored-by: Jonathan Spangler <5055076+jonathan308@users.noreply.github.com>
…tive pool (#1653)

"unloaded deletion blocks reopen and keeps the epoch and sequence" held
SSDCacheEpochStore's process-wide record lock on a cooperative-pool
thread until the test itself signalled a semaphore. Parallel suites
blocked on that lock can fill the pool, so the signal never ran and the
run hung (4 of 60 runs of the SSDCacheEpochStore filter on master).

The lock holder and the reopen now run on GCD, the holder releases the
lock after 50 ms on its own, and the reopen proves it waited for the
deletion. 0 of 60 runs hang.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…pling (#1652)

* fix(provider): stop Qwen3.5-9B looping to max_tokens on omitted sampling

Requests that omit sampling fields decoded Qwen3.5-9B greedily with no
presence penalty, and the model repeated itself until max_tokens (#1530).
The catalog build ships no generation_config.json, so omitted knobs now
take its model card's thinking-mode values: temperature 1.0, top_p 0.95,
top_k 20, presence_penalty 1.5. Explicit request values still win; every
other model keeps its defaults.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(provider): give the Qwen 3.5/3.6 35B builds the same card defaults

qwen3.5-35b-a3b and qwen3.6-35b-a3b-vl-mtp-mxfp8 loop the same way on
omitted sampling and their model cards recommend the same thinking-mode
values. A table of exact catalog builds, each bound to its model_type,
replaces the single 9B check and shares qwen35CardDefaults.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…hdog (#1644)

* test(provider): cut 75 s of serial updater and SSD test time

The Provider Unit Tests job runs its suites serially. Recent passing
runs took 884-887 s against the watchdog's 900 s deadline, and two PRs
failed at 901-902 s with every test passing.

The two signed self-updater tests spent most of their time gzipping
about 1.3 GB of copied debug binaries per fixture. The fixture now uses
a stored (level 0) gzip stream. It is the same format the updater
extracts with `tar xzf`, and the extracted tree is identical. The
updater's hash, code-signature and runtime-capability checks are
unchanged.

"a donation during whole-root maintenance is written" waited out its
barrier's 10 s timeout. The donation's index insert takes the removal
lock that maintenance holds, so awaiting the donation first could only
finish after the timeout. The test now starts the donation, waits until
it has published its file, lets it reach the held lock, then releases
maintenance. A mutation that refuses the index insert as busy while the
lock is held still fails the test.

Locally (M3 Ultra, debug build): the SelfUpdater suite took 22.31 s
instead of 86.95 s, and the write-recovery suite 0.58 s instead of
10.58 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(provider): say why the donation reaches the lock before maintenance ends

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: jonathan308 <5055076+jonathan308@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…arkbloom Sandbox CI jobs (#1655)

* feat(provider): darkbloom sandbox — set up, check, pause and remove Darkbloom Sandbox CI jobs

`darkbloom sandbox setup` checks whether this Mac can host Darkbloom Sandbox
jobs and how many at a time (the add-on installer's own slot rules: cores,
memory, disk, macOS 27, Apple silicon, desktop session; Wi-Fi, battery and
sleep warn), explains that inference pauses while a job runs and that each
job pays its price minus a 10% fee, and asks. It then downloads the add-on's
install.sh over HTTPS only (redirects too, 1 MiB cap read in a stream),
stages it owner-only and renders its --json-progress stages, approval link
and code included; an older installer runs with its own output and only the
slot options. Rerunning reports the state, continues an unfinished setup,
repairs or updates the add-on, or applies new slot counts.

`status` (and `--json`, the add-on's document unchanged), `pause`, `resume`,
`logs` and `uninstall` drive ~/DarkbloomSandbox/darkbloom-sandbox, with
bounded waits and a fallback for add-ons older than `status --json`.
`darkbloom status` prints one `Sandboxes:` line while the add-on is
installed, asked concurrently and abandoned after 2 seconds.

Docs: the CLI reference and configuration sections, a provider how-to,
threat model entries TB-013, A-019 and T-061, and a changelog fragment.

* fix(provider): follow the Darkbloom Sandbox add-on 1.0.1 command contract

The add-on shipped its side (darkbloom-sandbox #104): installer
--json-progress events are {"event":"stage","stage":<id>,"status":
"started|progress|done|failed","message":…} with stage fields, then one
{"event":"summary",…}; exit codes 2 (unsuitable), 3 (not enrolled),
4 (jobs running) and 130; `status --json` exits 1 when nothing is installed
and `pause`/`resume` exit 1 then.

Setup now renders those events: each stage's one-line results under its
check mark, the approval link and code from user_code/verification_uri*
(and whether the browser opened), the waitlist, --wait-ready download
progress; the summary shows the slots the installer chose and why, and each
exit status gets its own next step. `sandbox status` shows the add-on's own
detail where it is the most specific line (approval link, refusals, disk),
the image being downloaded, and the command that moves each state along;
pause/resume report "not set up" when the add-on says nothing is installed,
and an add-on's `error: ` prefix is dropped from the reasons shown.

The independent refactor pass consolidated the renderer's stage handling
(one `begin`, `done` and `failed` together) and removed an unused getter.
* ci: master release lane publishes staging only, no dev release

Ruling (David, 2026-10-28, option C): DevNet runs the d-inference dev
branch end to end. release-swift.yml routes a master push to the staging
lane only (still gated by STAGING_ENABLED). A tag still publishes prod.
The dispatch has no dev environment choice; validation_only runs the dev
lane as a signed validation build that is never published.
resolve-provider-release.sh refuses a dev publication and a branch push
routed to dev. Tests pin: a master push publishes staging only, a tag
publishes prod, no master path publishes dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: master source gate admits a dev push for environment dev only

Scope added under David's ruling (reuse master's signing path). The
master gate lets a d-inference dev push sign through release-provider.yml:
- verify_workflow_source accepts a GitHub-verified commit on dev ancestry
  for a push to refs/heads/dev with environment dev only. Tag, master push
  and dispatch checks are unchanged.
- resolve-provider-release.sh accepts a dev push for environment dev only
  and stamps X.Y.Z-dev.branch.N; other branches and environments fail.
- resolve-env passes the lane environment to the gate, which still runs
  from master.
- build-and-release checks the final archived app against the
  self-updater's designated requirement (DarkbloomCodeSignature).
Tests: gate rows for dev push accepted, staging/prod/none refused, other
branches and triggers refused, master and tag rows unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: drop the ad-hoc signing clause; pin the dev push stamp

release-provider.yml no longer says a separate lane self-signs: with the
dev caller of PR 1635 every lane signs with the Developer ID. The
resolution test pins -dev.branch.<run number> and its summary for a
refs/heads/dev push with environment dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: master carries the dev-branch thin caller; review fixes

Review of PR 1637 (orchestrator):
- Replace master's dispatchable release-dev-branch.yml with the thin
  caller of PR 1635. On master it is inert (its trigger is a push to dev),
  so no master path can publish an ad-hoc -dev.branch.N to DevNet. Its
  paths are master's release-swift.yml paths; the cluster-helper script
  paths come with the master-into-dev sync. Its test is PR 1635's test,
  unchanged.
- Take PR 1635's docs/developer/test.md paragraph, dev-branch runbook
  section, changelog fragment and pipeline-test comment verbatim, so the
  sync merges those hunks cleanly.
- Restate dev versions as -dev.branch.N (dev push) and -dev.N
  (validation build) in release-provider.yml, check-release-version.sh,
  test-provider-identity.py and provider-release.md.
- Pin both literal parts of DarkbloomCodeSignature.designatedRequirement
  and compare them to the shell requirement byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: refactor pass for the staging-only master lane

Behavior-preserving cleanup (Required Refactor Pass, independent):
- api.py verify_workflow_source reads the event, ref type and ref once;
  the branch-push and catch-all refusals name the dev push too.
- resolve-provider-release.sh: the flag is dev_push (true only for a
  refs/heads/dev push); the master-push refusal says "Master pushes
  publish staging only".
- release-provider.yml header names both callers (release-swift.yml and
  release-dev-branch.yml); stale "staging lane runs but is inert",
  "checked as before" and "master dev lane" comments restated.
- release-swift.yml: each trigger routes to at most one lane; the
  staging lane runs only with STAGING_ENABLED.
- Tests: one branch_push fixture in the resolution test; the resume test
  comment names the pull request row; message pins follow the new text.
- Docs and changelog: the gate runs from master and the resolver from the
  pushed commit; STAGING_ENABLED is `true`, not "set".

No gate decision, secret guard, trigger, concurrency group or version
stamp changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: report the offset of each secrets word, not of its expression

Addresses the code-quality thread: the inner loop variable was unused, so
every match in one expression yielded the same offset.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…h signing gate) into dev

Conflicts, resolved as written in PR 1637's body:
- .github/workflows/release-dev-branch.yml: the thin caller of release-provider.yml
  with dev's two cluster-helper paths (PR 1635's file).
- .github/workflows/release-provider.yml: keep both, dev's cluster-helper verify
  lines first, then APP_REQUIREMENT and the codesign -R check.
- docs/operations/provider-release.md: master's text (when it conflicts).
- docs/README.md: keep both index lines (dev's cluster-always-on page, master's sandboxes page).
The cluster MLX pins stay: libs/mlx 72dffa2d, libs/mlx-swift c633d221, libs/mlx-swift-lm d5bd32b8.
This merge brings the thin caller to dev, so its push into dev is the first
signed dev build (X.Y.Z-dev.branch.N).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 28, 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 Oct 28, 2026 9:56pm UTC
d-inference-console-ui-dev Error Error Oct 28, 2026 9:56pm UTC
d-inference-landing Ready Ready Preview Oct 28, 2026 9:56pm UTC
darkbloom-status Ready Ready Preview Oct 28, 2026 9:56pm UTC
eigen-homepages-darkbloom Ready Ready Preview Oct 28, 2026 9:56pm UTC

Request Review

This branch had an error being deployed

2 failed and 3 active deployments
Preview – d-inference-landing — 97f139d9 Deployed Oct 28, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — 97f139d9 Deployed Oct 28, 2026 by vercel[bot]
Preview – d-inference — 97f139d9 Deployed Oct 28, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — 97f139d9 Deployed Oct 28, 2026 by vercel[bot]
Preview – darkbloom-status — 97f139d9 Deployed Oct 28, 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.

4 participants