Skip to content

CI: dev and master workflows, each tree tested once, fewer Mac jobs, every build and test routed to Darkbloom - #1787

Merged
davidtai merged 35 commits into
devfrom
ci/sandbox-lanes
Nov 5, 2026
Merged

davidtai merged 35 commits into
devfrom
ci/sandbox-lanes

Conversation

@davidtai

@davidtai davidtai commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Do not merge on your own: David orders merges into dev.

Based on #1773 (Gajesh: master sync with #1752 and #1771), and dev is merged in up to #1808. Until #1773 merges, this diff also shows #1773's commits. Design: work/d-inference-ci-on-sandboxes.md (operator workspace).

Summary

One unit of work: d-inference CI runs once per change, on fewer and smaller machines, and every job that builds or tests asks Darkbloom first.

  1. CI (dev) and CI (master) (David, 2026-11-04).

    • ci-dev.yml runs for pull requests into any branch but master (dev and stacked branches) and pushes to dev.
    • ci-master.yml runs for master.
    • Both run one plan (provider-plan.yml) and the same tests (provider-tests.yml). CI (master) adds Release Integrity and Docs Lint.
    • ci.yml is deleted. Docs Impact and Commit Signatures run only for pull requests into master.
  2. Each change is tested once (scripts/ci-tested-tree.py).

    • A passing run's gate records its change: artifact ci-tested-<tree>-<base>-<head>-p?c?m? (tree; the event's base and head, or push and the commit; the components that ran).
    • A later run skips its test jobs only on a record of its own change that covers every component it selects, from a completed, successful run of the same workflow file, event and head commit in this repository.
    • A pull request looks up its own base and head. A push of merge commit S looks up S's tree with S's two parents (the merged pull request), or an earlier run of the same push. A squash or rebase merge has one parent and runs again.
    • Pull requests and pushes run the same jobs. On dev the diff selects the components; pushes to master and pull requests into master select all of them. Only pushes save caches.
  3. Fewer, fuller Mac jobs.

    • 2 provider shards, each building once and running 3 selections at the same time.
    • 2 cluster runtime shards: base then the share probe, each alone; the other selections run as 2 ordered groups.
    • No Mac job only audits: the Summary is folded into the shards, and Cluster Metadata Checks into Cluster Focused Checks.
    • The Provider SDK Tests lane is removed.
  4. Routing.

    • Every job that builds or tests reads its lane of the run's one route request, with a per-lane Blacksmith fallback.
    • DARKBLOOM_MACOS_LANES caps the macOS lanes.
    • The Darkbloom watchdog rescues stranded routed runs.
  5. Build cache. Three nested restore tiers:

    • recipe;
    • dependencies;
    • toolchain + MLX pins only.

    CI (master) restores only the first tier (strict-cache).

    Also: one cold rebuild after a failed loose restore, a day-bucket save key on Darkbloom hosts, and a SHA-256-addressed MiMo metadata cache.

Mac jobs per run

Run Before (dev at 3ac8dd7) After
Provider-only PR 4 (3 shards + Summary), 5 with an SDK input 2
Cluster PR 11 7 (2 provider, 2 runtime, focused + metadata, 2 GPU)
Push of a PR's merge commit, dev unmoved 12 0 test jobs + 1 build-only cache refresh
Merged cluster PR (PR runs + merge push) about 23 (11 + 12) 8 (7 + 1)

A merged PR with 2 PR revisions was about 34 Mac jobs before and 15 after. A rebase is a new change (new head) and runs again; only the merge push of a tested pull request, or a repeat run of a tested push, skips.

What changes

Workflows

  • provider-plan.yml (new, workflow_call):
    • the classifier;
    • tested: finds a successful earlier run of this tree;
    • components: the classifier's components, or none when the tree passed already;
    • route: one request, the caller's Linux lanes included.
    • The tested, components and route-selector jobs run on GitHub-hosted ubuntu-24.04; they run no tests.
  • provider-tests.yml (new, workflow_call, inputs from the plan):
    • the provider shards, the cluster runtime shards, Cluster GPU Tests (report only), Cluster Focused Checks and the Provider Tests gate;
    • Refresh build caches: only on the push of a tested tree, and only for the components the push changed.
    • The gate runs on ubuntu-24.04. It checks the CI plans on every run (cluster-test-plan.py audit and the self-tests of the shard plans, the classifier, the lookup, the route and the workflow pins), uploads the tested-change record when it tested something, and passes a skipped run citing the earlier run.
  • ci-dev.yml: jobs plan and tests; pull requests into every base but master/main.
  • ci-master.yml: plan (with the Linux lanes release-integrity and docs), tests (with strict_cache: true), and the top-level Release Integrity and Docs Lint. Each reads its lane of the plan's route; the check name stays Release Integrity (master's ruleset 26462794).
  • docs-impact.yml: pull requests into master only.
  • darkbloom-watchdog.yml (new): darkbloom-sandbox's GitHub-side watchdog (public/darkbloom-actions/.github/workflows/watchdog.yml at 31236c54), copied unchanged.
    • Every 10 min it cancels a run whose Darkbloom-labelled job waited DARKBLOOM_WATCHDOG_MINUTES with no runner, then re-runs its route job and dependents on the fallback, once per run.
    • Token: actions: write and checks: write, this repository only. No secrets, no actions.
    • Release and signing workflows carry no Darkbloom label, so it never touches them (pinned by test-darkbloom-route.py).
    • Evidence that it is needed: run 41957288305's Release Integrity waited 61 min on a granted lane (darkbloom-sandbox fix(payments): use len(prompt) as universal token upper bound, add overage charge before clamp #215).
  • darkbloom-route.yml: DARKBLOOM_MACOS_LANES (0 to 99) caps the macOS jobs one run asks for, in lane order. Over the cap means fallback without asking; a malformed value asks for none.
  • Pull requests and pushes select components the same way. A push diffs against the branch's previous commit; with no previous commit, everything runs. Pushes to master and pull requests into master run everything. Cluster GPU Tests run whenever the cluster jobs run.

Provider shards (scripts/run-provider-tests.sh, scripts/provider-test-shards.py)

  • PROVIDER_TEST_PROCESSES=3: shard K of 2 runs selections 3K-2 to 3K of 6 at the same time.
    • Each process runs serially, with its own TMPDIR and provider state files, and uses swift test --skip-build --ignore-lock.
    • The isolated processes and native gates run after them, alone. Prompt Parity runs in shard 1.
    • The processes start 15 s apart (PROVIDER_TEST_START_GAP). Run 41970825476 showed why: two processes' SwiftPM startups met on build.db ("database is locked"), and SwiftPM exited 1 after all tests passed. Such a selection runs once more only when its log proves every test passed (scripts/swift_test_lock_retry.py); attempt 1's log and xUnit report are kept and uploaded. The grouped cluster selections follow the same rule.
  • The plan is job-aware: Prompt Parity's and the isolated processes' seconds load every selection of their job.
  • Without PROVIDER_TEST_PROCESSES (release qualification), nothing changes.
  • Audit per shard (audit-job): each shard checks its own selections against swift test list of its own build, plus Prompt Parity in shard 1. The last shard also checks that the plans cover the list once. Each shard writes its own coverage report (provider-coverage-<shard>); the merged total is gone.

Cluster (scripts/cluster-test-plan.py)

  • Shard 1: base alone, then the share probe alone. The probe times each rank's share against a 1.5 s budget; right after the concurrent GPU groups it failed (run 41973436945), and on dev's layout it passed in each of the last 6 dev runs.
  • Shard 2: group 1 (batch-session, GLM paged-KV, invariance and census, TF32, Gemma) beside group 2 (the Qwen GPU chain and glm53-prefix-ssd). Each group runs in plan order with its own TMPDIR and --ignore-lock.
  • Cluster Focused Checks runs the metadata runners first, with their retained release build, then the focused runners. This makes the metadata runners part of the Provider Tests gate, which they were not before.

Build cache (scripts/provider-ci-cache.py, provider-ci-build)

  • Keys nest (v3): swift-mlx-prefix (toolchain, checkout path, MLX gitlinks), then swift-loose-prefix (+ dependency manifests and pins), then swift-prefix (+ CI recipe), then the commit, or day-<UTC date> on Darkbloom hosts.
  • Restore order: strict, loose, MLX. CI (master) restores strict only.
  • After a failed build over a looser entry, scripts/provider-ci-cold-retry.sh deletes the restored builds, and the step builds once from nothing.
  • scripts/verified_download_cache.py: the MiMo prompt and image metadata downloads, cached by their pinned SHA-256.

Darkbloom watchdog (darkbloom-watchdog.yml)

Scope: every 10 minutes, the workflow runs of this repository from the last 24 hours. It acts only on a run with a job whose labels are self-hosted plus a darkbloom-* label, and only when that job has waited queued, with no runner, for DARKBLOOM_WATCHDOG_MINUTES (set: 15) while Darkbloom made no progress on the run. It then cancels the run and re-runs the route job and its dependents once. The route job then falls back, because the plane answers run_fallback_forced or is unreachable. A run stranded again is only cancelled. A run that Darkbloom's own watchdog marked with a Darkbloom watchdog check run is left alone for 20 minutes. Permissions: the workflow has permissions: {}; its one job has actions: write (cancel and re-run) and checks: write (the marker check run), with this repository's GITHUB_TOKEN only, no secrets and no checkout. Route job: DARKBLOOM_ROUTE_JOB stays unset, so it is Select Runners. The watchdog matches a job named Select Runners or ending in / Select Runners, so it finds this repository's plan / route / Select Runners. Release and signing workflows carry no Darkbloom label, so it never acts on them. DARKBLOOM_WATCHDOG=off turns it off.

Provider SDK Tests lane removed (David, 2026-11-04)

What the lane covered:

  • 15 steps of libs/mlx-swift-lm suites, on every push and on pull requests that changed an SDK input;
  • notify only, not part of the gate;
  • the only run of the SDK suites under the provider's SDK 27 toolchain.

226 of its 236 test seconds repeat the SDK's own Fork Tests.

The rest is MiMoV26NativeMediaDeadlineTests (about 10 s), which Fork Tests skips.

  • It imports only the SDK, so no provider shard can run it.
  • For the SDK to un-skip in Fork Tests: MIMO_V26_SERIAL_NATIVE_TESTS=1, MIMO_V26_NATIVE_MEDIA_DEADLINE_TESTS=1, and MIMO_V26_SERIAL_LOAD_FIXTURES set to the fixture that scripts/prepare-mimo-provider-fixtures.py --output DIR writes.

Release qualification still builds the provider, with the SDK compiled in, and tests it under SDK 27.

Release Integrity on dev is dropped (David's ruling)

On dev it ran:

These now run only for pull requests into master; on dev, the dev release lane (release-dev-branch.yml) is the first place they break. Exception: the CI plan checks (the cluster plan audit and the self-tests of the shard plans, classifier, lookup, route and workflow pins) run in the Provider Tests gate on every run, dev included. No CI job checks dev's plain-build default now. This PR's own script tests ran on master in the check copy #1788 (closed): run 41967483858 passed Release Integrity and Docs Lint, with this PR's CI files at 7b984ef. The later commits are the dev merges and the watchdog.

For #1773 (Gajesh): conflicts with dev and their resolution

  • changelog.d/cluster-pair-follows-rollback.md and changelog.d/cluster-service-follows-repair.md (released in 0.10.7, edited on dev by ff26d5a): keep both deletions, and apply the edit (darkbloom cluster stop → darkbloom cluster stop --service) to their two lines in CHANGELOG.md.
  • changelog.d/cluster-pair-equal-tensor-shares.md (edited on dev later): keep the deletion; apply "press m and choose the model again" → "choose the model again there" in CHANGELOG.md.

This branch applied both in its dev merges. Nothing was pushed to #1773.

Literal runners left in the workflows this PR touches

None is Blacksmith. GitHub-hosted ubuntu-24.04, because they build nothing and run no Swift test (the gate runs only the Python CI-plan checks):

  • the classifier (it must run before the route request);
  • the tree lookup;
  • the component choice;
  • the route selector;
  • the Provider Tests gate;
  • the watchdog.

Prerequisites (David's settings)

None blocks the merge; with them unset, every lane falls back to Blacksmith.

  1. DARKBLOOM_MACOS_LANES=0 (set 2026-11-05). dev builds with SDK 27.0 and the macOS sandbox image ships Xcode 27.2. When the SDK 27.2 port lands on dev, unset DARKBLOOM_MACOS_LANES to route macOS again. The Linux lanes stay routed.
  2. DARKBLOOM_WATCHDOG_MINUTES=15 (set). Leave DARKBLOOM_WATCHDOG, DARKBLOOM_ROUTE_JOB and DARKBLOOM_APP_SLUG unset.
  3. Approval shapes: macOS 8 vCPU / 16 GiB, Linux 4 vCPU / 16 GiB. The route request has no shape field; the approval sets one shape per profile.
  4. Grant concurrency: DBX_MAX_ACTIVE at least the macOS reservation cap + the Linux cap (for example max_reserved_units {"macos_arm64": 8, "linux_arm64": 4}, DBX_MAX_ACTIVE=12).
  5. Plane watchdog: DBX_CI_WATCHDOG=on, queued_seconds 300, rerun_runs on, every lane below in rerun_lanes.
  6. Network floor: DBX_NETWORK_FLOOR 1 MB/s for macOS lanes; prefer US hosts.
  7. Approval lanes (DBX_LANES): test-provider-1, test-provider-2, test-cluster-1, test-cluster-2, test-cluster-focused, test-cluster-gpu-1, test-cluster-gpu-2, refresh-caches, release-integrity, docs. Admit dev pull requests and pushes.
  8. Known plane issues:

Refactor pass

An independent reviewer found two bugs, both fixed in 37fbaba:

  1. BASH_REMATCH was read after a second match had replaced it, so every sharded run would have stopped.
  2. The cluster groups would have taken turns on SwiftPM's lock.

Its other findings were applied in the same commit.

A second independent review blocked on 6 items, all fixed in 4242896:

  1. Master pushes and pull requests into master select every component; a record names the components it covered, and only a superset skips.
  2. The cluster plan audit and the plan self-tests run on dev (in the gate).
  3. CI (dev) covers pull requests into stacked branches.
  4. A record binds to its change: tree, base and head, and the recording run's head commit and event; a merge push matches through its parents.
  5. Master restores only the strict cache tier.
  6. This body and the changelog fragments match the code.

Tests: test-ci-component-paths.py (master selection, the pull-request bases of both workflows, the lookup's needs), test-ci-tested-tree.py (binding, supersets, the shared record name), test-provider-ci-workflow.py (strict tier, the gate's plan checks and record conditions).

A third review blocked the build-database retry: a test that failed only under contention could pass on the second attempt. Now a selection runs again only when its first log shows the lock and proves every test passed (scripts/swift_test_lock_retry.py), and the first attempt's log and xUnit report are kept and uploaded beside the second's (provider: attempt-1-shard-*; cluster: printed before the second log). Tests: test-provider-test-shards.py (lock + passed → one retry, files kept; lock + failed test → no retry, fail; the log check's cases) and test-cluster-test-plan.py (the same for grouped selections).

Validation

  • No tests ran on the laptop (owner rule). actionlint is clean for every workflow.
  • Release Integrity (all script tests) passed on master in run 41967483858.
  • Blacksmith runs of this PR: Cluster Focused Checks with the folded metadata runners passed (run 41965437361, 23.4 min), and Cluster GPU Tests shards 1 and 2 passed. The full run on this head: see the checks.

🤖 Generated with Claude Code

Gajesh2007 and others added 12 commits November 2, 2026 22:16
… Mac and offers new slot counts (#1735)

* feat(provider): sandbox setup re-checks the add-on's plan on a Mac that is set up and offers new slot counts

* fix(provider): sandbox setup's free-space line counts the planned Linux jobs, and exit 4 says the installer refuses

- "A macOS job needs about N GB more" now counts the disk the plan's slots take (diskShortfall: floor + the plan's slots + one more job - free). A Mac planned for 3 Linux jobs and no macOS job (the feedback's) gets a number instead of none. With no job planned it is unchanged.
- The free-space line uses the agreed text and prints for the add-on's plan only: an unchanged plan on a set-up Mac and the fallback estimate keep today's output.
- The offer asks "This Mac now fits <L> Linux + <M> macOS (installed: <l> Linux + <m> macOS). If a job is running, the installer refuses and changes nothing. Apply? [Y/n]", with no unverified pay claim.
- On the installer's exit status 4: a job is running, so nothing changed; run setup again when it finishes; setup never passes the installer's --force, which would stop running jobs, unpaid.
- Tests: the 3-Linux-slots shortfall, the unchanged report for the same disk-limited plan, and an apply refused with exit 4.

* docs(provider): sandbox setup's free-space line, its macOS shortfall and the exit 4 refusal as built

The CLI reference and the sandboxes guide give the agreed free-space text and N (the disk a macOS job needs beside the plan's slots, in GiB written as GB), the offer's prompt, that an unchanged plan keeps today's report, that a platform missing from status counts as 0, and that the installer refuses rather than waits while a job runs (exit 4), with setup never passing its --force. The changelog fragment follows.

* refactor(provider): name the planned-disk rule beside its siblings and let setup's re-check say it reports first
dev at 0f99ddb, plus master's #1735, plus the commit that keeps master's plain-build default (prod). Squash per David (2026-11-03), so no dev commit enters master's history.
Version 0.10.7; the 39 changelog.d fragments rendered into CHANGELOG.md; v0.10.6 marked published; the 0.10.7 section of docs/operations/provider-release.md; operator upgrade notes. Refactor pass done (689bb720e). Tree fa6610a = the reviewed tree.
…es (#1752)

* ci: check out over a .git cached by master pushes, falling back to a cold checkout

* ci: cache SwiftPM repository clones per lane and runner layout in provider-ci-build

* ci: only master pushes save build, Metal, MiMo and cluster caches; cluster key ignores git describe

* docs: describe CI caching, the master-only save policy and the cold checkout fallback

* ci: save caches from master and dev pushes; key .git by UTC day so each branch saves it once a day

* ci: skip evidence archives and landing videos in checkouts; fetch docs history without file contents

* docs: push runs route like pull requests; the plane admits pushed branches

* test: the cluster test plan allows continue-on-error only on the cached checkout

* ci: drop continue-on-error from checkouts; fsck the restored .git and delete it if damaged

* ci: use the CMake in the Darkbloom image's tool cache; download it only elsewhere

* ci: skip all of docs/reports/evidence and landing/public/media in checkouts (415 MB)

* ci: fetch the 1.87 GB MiMo audio codec only when the audio gate's inputs change

* ci: keep the evidence manifests the provider CI cache hashes; skip only evidence tarballs

* ci: the MiMo audio gate also runs when the provider fixture generator it calls changes
Brings master's #1735 (sandbox setup re-checks the add-on's plan), #1754's
release squash, #1756 (prepare provider 0.10.7) and #1752 (.git and SwiftPM
caches, lighter checkouts, master/dev-only cache saves) into dev.

Eight CI files conflicted: provider-ci-build/action.yml, ci.yml,
component-changes.yml, ci-component-paths.py, test-ci-component-paths.py,
test-provider-ci-workflow.py, docs/developer/build.md and test.md. dev's
version of each equals the #1754 snapshot of dev, so master's version is
dev's plus #1752; each takes master's version.

dev keeps its DevNet plain-build default (Package.swift and
BuildEnvironmentTests.swift merge to dev's side).
The master merge kept 37 fragments that dev added after the last sync and
that #1756 rendered into CHANGELOG.md's v0.10.7 section and deleted on
master. Each fragment's text appears verbatim in that section; keeping them
pending would list them again in the next release.
…ack)

Reverses only part 1 of #1733, which pinned the macOS jobs of ci.yml to
blacksmith-12vcpu-macos-27. The route job again requests a Darkbloom lane
for each macOS job that will run, and each job runs on its lane's decision:

- test-provider-1..3 (one per shard), test-provider-summary
- test-provider-sdk
- test-cluster-checks, test-cluster-1..3, test-cluster-gpu-1..2,
  test-cluster-focused

This is dev's wiring from just before #1733 (per-shard lanes from #1691,
cluster lanes from #1737) with today's matrices and conditions: 3 provider
shards (#1749) and the cluster component gate. The fallback label, the
shard matrices, SAVE_CACHES and #1752's .git and SwiftPM caches are
unchanged. A lane that the plane does not grant, including one missing from
its approval, keeps Blacksmith.

#1733's reasons were slow sandbox checkouts, a full Actions cache and
shards that never got a runner. #1752's lighter checkouts and master/dev-only
cache saves, the images' zstd and CONNECT retry, and the add-on's local
cache address them.

The route, provider CI, cluster plan and component-path tests pin the lane
lines to each job's matrix and condition again; build.md and test.md
describe the routed macOS jobs.
…two wraps

Comment and Markdown wrapping only; no workflow behaviour changes. The
test-provider comment called its lane test-provider-K, while
scripts/test-darkbloom-route.py and build.md write <job>-<shard>; the
test.md paragraph kept a one-phrase line from the routing-link edit.
…rding)

Brings in #1771's e8e817e: comment and Markdown wording only.
… workflow

The test jobs (component classifier, route, provider shards and summary, SDK
lane, cluster jobs, Provider Tests gate) move unchanged into
.github/workflows/provider-tests.yml (workflow_call). CI (dev) runs it for
pull requests into and pushes to dev, and nothing else. CI (master) runs it
for master, plus Release Integrity and Docs Lint as top-level jobs, so the
check that master's ruleset requires keeps the name Release Integrity.

Release Integrity and Docs Lint keep their former fallback label: the plane
routes a run attempt once, and the test workflow's route job holds that
request. docs-impact.yml (Contribution Policy) runs only for pull requests
into master. ci.yml is removed; the scripts, tests and docs that read it name
the new files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Provider Unit Tests: 2 shards instead of 3. Each shard builds once and
  runs PROVIDER_TEST_PROCESSES=3 selections of the 6-selection plan at the
  same time, each serial in its own process with its own TMPDIR and
  provider state files (scripts/run-provider-tests.sh). The isolated
  processes and native gates still run after them, alone; Prompt Parity
  moves to shard 1, the shard of selection PARITY_SHARD. Without
  PROVIDER_TEST_PROCESSES (release qualification) nothing changes.
- Cluster Runtime Tests: 2 shards instead of 3. Shard 1 runs `base` alone;
  shard 2 runs two ordered groups at once (batch-session + GLM/TF32/Gemma;
  the Qwen GPU chain), then the share probe alone, after
  qwen-tp-batch-gpu (scripts/cluster-test-plan.py `group`).
- Cluster GPU Tests (report only) run on pushes only.
- CI (dev): pushes share one concurrency group (one running, newest
  waiting).
- Route: DARKBLOOM_MACOS_LANES caps the macOS jobs one run asks for, in
  the caller's lane order; provider-tests.yml lists the critical path first.
- Swift build cache: a loose restore tier without the CI recipe, one cold
  rebuild after a failed loose restore (scripts/provider-ci-cold-retry.sh),
  and one saved build per lane and UTC day on Darkbloom hosts.
- MiMo metadata downloads are cached by their pinned SHA-256.

No test, selector, KEPT_APART pair, order constraint, audit or gate
condition is removed. The shard weights file is unchanged.

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

vercel Bot commented Nov 4, 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 5, 2026 6:31am UTC
d-inference-console-ui-dev Error Error Nov 5, 2026 6:31am UTC
d-inference-landing Ready Ready Preview Nov 5, 2026 6:31am UTC
darkbloom-status Ready Ready Preview Nov 5, 2026 6:31am UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 5, 2026 6:31am UTC

Request Review

Resolves #1773's conflict with dev ff26d5a as #1773 should: the two
released fragments (changelog.d/cluster-pair-follows-rollback.md,
changelog.d/cluster-service-follows-repair.md) stay deleted, and their
dev correction, `darkbloom cluster stop --service`, goes into the two
released lines of CHANGELOG.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
davidtai and others added 2 commits November 4, 2026 11:05
- run-provider-tests.sh: read K and N before the process-count match
  replaces BASH_REMATCH (every sharded run failed with an unbound
  BASH_REMATCH[1] under set -u).
- cluster-test-plan.py: grouped selections pass --ignore-lock, so the
  groups of shard 2 run at the same time instead of taking turns on
  SwiftPM's .build lock.
- ci-component-paths.py: pushes to dev run every component, as pushes to
  master do; CI (dev) cancels waiting push runs, so a dev push run stands
  in for them.
- provider-test-shards.py: PROVIDER_TEST_PROCESSES makes the plan
  job-aware: Prompt Parity's and the isolated processes' seconds load
  every selection of the job that runs them after its processes. Reports
  record the process count and the audit plans with it. One process per
  job (release qualification) plans as before.
- The diagnostics artifact keeps each process's whole output.
- verified_download_cache.py: the MiMo fixture scripts share one
  content-addressed cache; the image script's cache has a test.
- A test counts the new metadata cache restore; Docs Lint's cited path
  names ci-master.yml; the GLM group wording is exact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev's one ci.yml change, Release Integrity's new
scripts/test-provider-release-notes.py, goes into ci-master.yml, where
Release Integrity now runs; provider-tests.yml keeps this branch's lanes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
davidtai and others added 2 commits November 4, 2026 22:53
… copied unchanged

From darkbloom-sandbox public/darkbloom-actions/.github/workflows/watchdog.yml
at 31236c54. Every 10 minutes it cancels a run of this repository whose
Darkbloom-labelled job waited DARKBLOOM_WATCHDOG_MINUTES with no runner,
then re-runs its route job and dependents on the fallback, once per run.
Token: actions: write and checks: write, this repository only; no secrets,
no actions, no checkout. Release and signing workflows carry no Darkbloom
label, so it never touches them (pinned by test-darkbloom-route.py).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev's #1805 drops the KEPT_APART pin (its root cause is fixed); the
job-aware planner here keeps that change. test.md keeps this branch's
per-shard audit text without the KEPT_APART note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
davidtai and others added 2 commits November 4, 2026 23:05
… dev

- A tested-change record names its tree, the event's base and head and the
  components that ran. A run skips only on a record of its own change that
  covers every component it selects, from a successful run of that head; a
  merge push finds the pull request's record through its two parents.
- Pushes to master and pull requests into master select every component.
- CI (dev) runs for pull requests into any branch but master.
- The Provider Tests gate audits the cluster plan and runs the CI plan
  self-tests on every run.
- CI (master) restores only the strict build-cache tier.
- Docs and changelog fragments match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run 41970825476: provider selections 1 and 5 passed every test but exited 1
with "unable to attach DB: ... database is locked": SwiftPM's startup in one
process met another's on the build database. The provider processes now
start PROVIDER_TEST_START_GAP (15) seconds apart, and a provider or grouped
cluster selection that reports the locked database runs once more.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
davidtai and others added 3 commits November 4, 2026 23:26
A test that fails only under contention fails in the attempt that also
printed SwiftPM's lock message; a second attempt could pass and overwrite
the evidence. A provider selection or grouped cluster selection now runs
again only when its first log shows the lock and proves every test passed
(scripts/swift_test_lock_retry.py: a passing Swift Testing summary, XCTest
summaries with 0 failures, no failed test, issue or tripwire). The first
attempt's log and xUnit report stay beside the second's
(attempt-1-shard-<selection>.*, uploaded); the cluster job log prints both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run 41973436945's gate stopped at its requirement step, so the plan checks
never ran. They now run unless the run was cancelled; the record steps keep
their implicit success().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
davidtai and others added 3 commits November 4, 2026 23:49
…ttempt-1 reports

The share probe times each rank's share against a 1.5 s budget. Right after
the concurrent GPU groups of shard 2 it failed (run 41973436945); on dev's
layout it passed in each of the last 6 dev runs. It now runs in shard 1,
after base, alone, and a plan test keeps it out of any shard with groups.

measured_weights ignores attempt-1-shard-*.xml, the kept first attempt of a
retried selection, so a retried selection never counts twice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The text match in test_every_pull_request_runs_exactly_one_ci_workflow took
ci-dev.yml's push filter (branches: [dev]) for a pull_request filter and
failed run 41977316006's plan checks. The test now reads each on: block
event by event: CI (dev)'s pull_request has only branches-ignore
[master, main], CI (master)'s only branches [master, main].

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

- test-ci-component-paths: only the plan and tests jobs must not read
  github.base_ref; Release Integrity reads it for the build default.
- test-provider-ci-workflow: provider-tests.yml has 7 CHECKOUT_SPARSE
  checkouts now, the gate's among them.

All 7 plan-check commands pass on refactor-gobox (Python 3.12, Linux).

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

This branch had an error being deployed

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

3 participants