From bc7c2e36b9e6954a85263db1407bf3c953e1e980 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Wed, 25 Nov 2026 10:17:23 +0000 Subject: [PATCH] flake: Update slop-broker `slop ssh` sends its stdin with the request so approvers see it, which bumps the protocol version; activations finish when their connection drops, and switching no longer restarts the broker. Document restarting it after deploying `palace`. Co-Authored-By: Claude Opus 5.5 --- docs/slop-broker.md | 9 +++++++++ flake.lock | 8 ++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/slop-broker.md b/docs/slop-broker.md index beef050..69da46b 100644 --- a/docs/slop-broker.md +++ b/docs/slop-broker.md @@ -25,6 +25,15 @@ the requesters, the `agent` policy they share, the secrets, and the web app sett targets are the deploy-rs nodes on `master`, which the builder reads there, so a new box is a target once it's merged. +### Updating the broker + +- **Deploying `palace` doesn't restart the broker** (`restartIfChanged = false`), so it can see a + deploy of its own box through. Afterwards, restart it for a new version or configuration to take + effect: `doas systemctl --no-block restart slop-broker` on `palace`. A restart drops pending + requests and leases. +- **Deploy every requester with it** when `slop`'s protocol version changes, or their requests fail + with a protocol version error: `slop-cannon`, and `castle` over SSH. + ## In this flake - **Input:** `slop-broker` in [`flake.nix`](../flake.nix). Its overlay provides `pkgs.slop-broker`, diff --git a/flake.lock b/flake.lock index 6823c8e..cb640c7 100644 --- a/flake.lock +++ b/flake.lock @@ -1249,11 +1249,11 @@ ] }, "locked": { - "lastModified": 1795563488, - "narHash": "sha256-fTRKZn95BBANQpEGkhrmHSoPb9yTl59ZfvfzVbXeo5g=", + "lastModified": 1795600052, + "narHash": "sha256-avuH9QR7kQ9SDeQMAJBk56W1Yh7bEHkAHyfFStHYnBo=", "ref": "main", - "rev": "21c2d4715ec3bcf4a90b41c16125db75c599b8b7", - "revCount": 26, + "rev": "ebf22a932d8bdad7f005ccb976e8bd1543bf9489", + "revCount": 28, "type": "git", "url": "https://git.nul.ie/dev/slop-broker" },