flake: Update slop-broker
Update docs / update (push) Canceled after 0s
CI / Check, build and cache nixfiles (push) Canceled after 1m24s

`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 <noreply@anthropic.com>
This commit was merged in pull request #1.
This commit is contained in:
jackos1998andClaude Opus 5.5 authored and Jack O'Sullivan committed 2026-11-26 14:18:45 +00:00
1 parent cca27d60b0
commit bc7c2e36b9
2 files changed
+13 -4

No files matched your search

+9
View File
@@ -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`,
Generated
+4 -4
View File
@@ -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"
},