aboutsummaryrefslogtreecommitdiff
path: root/inbox/.gitkeep
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-08-19 15:02:32 -0700
committerCraig Jennings <c@cjennings.net>2026-08-19 15:02:32 -0700
commit62a7fbf695405d8804220c1cf1b280ee8d612082 (patch)
tree66f5c4123b512fcdb2422b335a7e14d5e5446167 /inbox/.gitkeep
parent10d4e3b17dddbe8df47a80444688d13be15dc016 (diff)
downloadrulesets-62a7fbf695405d8804220c1cf1b280ee8d612082.tar.gz
rulesets-62a7fbf695405d8804220c1cf1b280ee8d612082.zip
fix(agent-text): relay through a host that holds the account
The relay target was hardcoded to velox, and velox's reinstall wiped its signal-cli registration. A send from velox then relayed to itself, and any machine without a local account relayed into the same dead end. Only ratio still worked, because it holds the account as a linked device and sends directly. The old failure text blamed velox for being down. It was up, just unregistered. The target is now an ordered list, overridable per invocation, and the loop skips any candidate matching this machine's name. The skip is the actual fix. Reaching the relay branch means the account isn't local, so relaying to ourselves can't work whatever the list order. Both sides of that comparison are domain-stripped, or an FQDN nodename would silently disable the guard. A relay host that is reachable but unregistered exits 1, not 0, so the loop advances instead of reporting a delivery that never happened. I checked that rather than assume it. Silent non-delivery is the worst failure this tool has, and a test pins it. The failure message now names which branch failed, so a local send failure no longer sends anyone chasing the tailnet. protocols.org and the pager runbook both asserted the topology the reinstall destroyed. They now say how to derive which machine holds the account instead of naming one. The snapshot form is what rotted. The runbook's linking recipe is marked impossible for now, since the primary's keys are gone and a linked device can't authorize another.
Diffstat (limited to 'inbox/.gitkeep')
0 files changed, 0 insertions, 0 deletions