Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
799 changes: 797 additions & 2 deletions CHANGELOG.md

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions changelog.d/cli-download-progress-line.md

This file was deleted.

10 changes: 10 additions & 0 deletions changelog.d/cluster-auto-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### Pair Macs set up with `darkbloom cluster` update themselves

- A Mac set up with `darkbloom cluster` now updates itself, as a single Mac does: with `auto_update` on (the default) and without `DARKBLOOM_NO_UPDATE_CHECK`, its cluster service checks the coordinator's latest release every 30 minutes, at the pair's update slot, which both Macs derive from their pairing's cluster ID.
- Each Mac downloads, verifies and stages the release while the pair serves. Only once both Macs have it does the pair stop taking new requests; the Mac that serves the pair finishes its accepted requests (at most 120 seconds, never cancelling one), then both Macs install the release and restart their cluster services, and the cluster sets itself up again for the new release with no command run.
- A pair under constant traffic updates too: once it takes no new requests, the accepted ones finish. A pair still running a request at the bound takes requests again and tries at the next slot. A release one Mac cannot download or verify is installed on neither Mac; both try again at the next slot.
- An installed release is promoted once its cluster service has stayed healthy for 10 minutes; three starts of its service that end on their own restore the previous release and quarantine the new one, as the watchdog does for a single Mac.
- Before a Mac restarts into an installed release, its cluster service runs the new `darkbloom --version` once (at most 30 seconds). A release that does not answer with its version is never restarted into: the Mac restores the previous release at once, quarantines the new one and starts its cluster service again, so a release that cannot start no longer leaves the Mac with nothing to roll it back.
- `darkbloom update` on a cluster Mac installs the release and then restarts the cluster service into it together with the other Mac, after the pair drained; logging out and back in is no longer needed. Run it on both Macs (or let the other Mac update at the next slot); the first Mac waits up to 15 minutes for the second, also when automatic updates are off. A Mac whose partner has automatic updates off downloads nothing at the slot.
- A pair that serves on the leader's local API, or a Mac that serves alone, is not drained for an update yet: it does not update while it serves, and a cluster set to serve locally (`darkbloom cluster local`) or a Mac serving alone downloads nothing at the slot.
- A cluster service started by an earlier release does none of this: to reach this release, run `darkbloom update` on both Macs, then log out and back in on both (or restart them) once.
3 changes: 0 additions & 3 deletions changelog.d/cluster-balanced-equal-cut.md

This file was deleted.

4 changes: 0 additions & 4 deletions changelog.d/cluster-bonsai-residual-and-gate-pressure.md

This file was deleted.

7 changes: 0 additions & 7 deletions changelog.d/cluster-capability-honesty.md

This file was deleted.

4 changes: 0 additions & 4 deletions changelog.d/cluster-cdn-manifest-pins.md

This file was deleted.

13 changes: 0 additions & 13 deletions changelog.d/cluster-control-leader-failover.md

This file was deleted.

6 changes: 0 additions & 6 deletions changelog.d/cluster-coordinator-paired-approval.md

This file was deleted.

5 changes: 0 additions & 5 deletions changelog.d/cluster-degraded-mode-admission.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/cluster-dev-install-model-ref.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/cluster-glm-lane-prefill-slices.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/cluster-glm-pair-parity.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/cluster-glm-tp-load-setup.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/cluster-glm-tp-media.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/cluster-glm-tp-prefill-8k-micro-batches.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/cluster-glm-tp-prefill-levers.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/cluster-glm-tp-ssd-prefix-tier.md

This file was deleted.

Loading
Loading