swarm pool: EVERY job that lands on bens-mac-04 reds (all four repos) since 09:46 UTC 2026-10-09 — host-local, and the host's own failure alerts post nothing #2044
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#2044
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
Since ~09:16–09:46 UTC on 2026-10-09, every swarm-pool job that lands on the
host
bens-mac-04fails, in every repo, while the other two pool hosts staygreen on the same run, the same head SHA and the same minute.
Matou/idss(head9a9a378fthroughout — the green tick and all three red ones):Fleet-wide, same window (
actions/tasksAPI):Matou/dev-factory—swarm (bens-mac-04)failure at 09:51 (299s), 10:17, 10:47; both sibling legs green each time. Last good 08:16.Matou/matou-app—swarm (bens-mac-04)failure at 10:16 (49s), 10:46 (54s); siblings green.Matou/coa—swarm (bens-mac-04)failure at 09:51, 10:16, 10:46; siblings green. Last good 08:16.resume-asks(and sometriage) runs route by the bareswarmrunner label, sothey land on a pool host at random — and roughly one in three of them is now red
with a ~15–21s duration against ~200–280s for a healthy run (idss #42417, #42432,
#42440; dev-factory 10:11, 10:41, 10:45, 11:00). Same host, different workflow.
Root cause
Not in this repo. Identical head SHA across the last green and every red tick,
and two sibling hosts green on that SHA, rule out a shipped commit, the workflow
and the repo's harness. The fault is host-local to
bens-mac-04— it wentbad between 09:16 and 09:46 UTC with no code change behind it.
The mechanism is not identified: the healer that could read it runs on
matou-workstationand the failing leg's worker log, verdict artifact andswarm.dbrows all live onbens-mac-04(the known #135 pool-locality gap), andForgejo exposes no job-log endpoint on this version (
/actions/runs/<n>/jobsand…/logsboth 404; the runner list is 403 without admin scope).Shape of the evidence suggests the box can still talk to the Forgejo runner API
(it picks tasks up and reports status) while something its job processes need is
broken — the first failure on each repo ran ~300s (its own on-host healer
investigating) and every one after that ~30–50s (the healer's ledger brake), and
not one of those runs posted anything to Mattermost: no healer diagnosis, no
:rotating_light: swarm failed AND the healer errored, noresume-asks sweep failed. Those three alerts all post withcurl -sf … || true/notify-mattermost.sh … || truefrom the failing host,so a host that cannot reach
mattermost.matou.nz(or whoseclaudecall cannotreach the network) fails every tick in total silence. Candidates to check in
order: outbound DNS/routing on the box (a netbird/clan mesh join from a WKT-DEMO
drive is the obvious suspect —
bens-mac-04is the standing drive host, #1855 /#1844 / #1836, and cf. #2040 on a device already on another mesh), then disk
space, then the Docker daemon.
Why human
Ben's hands —
bens-mac-04is Ben's own Mac. Nothing an agent can reachfixes it: the healer's repair surface is this repo (
.sandcastle/,.forgejo/, lockfiles), and the host's own state is explicitly out of thehealer charter. Note that dropping the host from
swarm.yml's matrix wouldnot stop the bleeding either —
resume-asksandtriageroute by theswarmrunner label, which lives in that box's runner registration, not inthis repo. Only a human on the box (or pausing that runner in Forgejo admin)
closes this.
What to do on the box
cd ~/swarm/Matou/idss && git log -1pluscat .sandcastle/.state/*verdict*and the newest
.sandcastle/logs/*.log— the real stage/exit/error line forthe ~30s failure is there and nowhere else.
git fetch origin main,curl -sI https://mattermost.matou.nz,dig git.matou.nz.df -h,docker info.of every tick; then post the stage/error line here.
Follow-up worth filing separately
A pool host can be dead for 75+ minutes with zero alarm, because every
failure-notification path on that host is a best-effort
curlfrom thathost. The alarm for a wedged host has to be raised by a different host (the
watchdog healer already runs on
matou-workstationand saw the streak — itjust has no evidence and no repair surface for another box).
Filed by the swarm healer (watchdog mode, signature
0ff1caf1b642, evidence/tmp/matou-heal-Matou-idss.LCuGUGonmatou-dev-server-01). No repairattempted: the fault is on another host.
Still live at 12:07 UTC, and now redding the
swarm-label pool workflows too — the 12:02 watchdog fired again on the same host fault under a different signature (50dc0fb56753, keyed ontriage, vs0ff1caf1b642keyed onswarm). Same box, no repair possible from another host; recording the widened blast radius here rather than opening a duplicate.The duration bands separate the wedged leg cleanly (
actions/tasks, head9a9a378fthroughout — identical SHA on every green and every red, so nothing shipped):runs-onpublishmatou-workstation(pinned)swarm (matou-workstation)swarm (elitebook-03)swarm (bens-mac-04)resume(resume-asks)swarmpooltriageswarmpoolTwo independent reads, one conclusion:
bens-mac-04leg and the pool-label jobs red.triageandresume-askscarry no host in their name, so a red there is invisible as a host fault — but the failures are strictly bimodal, and the red band is the fast-fail band, never a healthy duration. A pool job that lands on the wedged box dies at the same ~15–50s thebens-mac-04matrix leg dies at; one that lands on either healthy box completes normally. This box carriesswarm:host(.runnerlabelsmatou-workstation:host,swarm:host) and stayed green on both its pinned legs all window.triage's first red of the streak, so the on-host healer step ran before the ledger brake kicked in; #42444/#42454/#42466 are braked and fall straight back to the ~50s band. Exactly the ~300s-then-~50s shape already noted in the body.Still no Mattermost post from any red run, including the four
triagereds — consistent with the box being unable to reachmattermost.matou.nz/ the Claude API.Operational cost while this stands: roughly half of every
resume-askstick and a third-to-all of everytriagetick is lost, on top of a third of the swarm fleet. Pausing that runner (or dropping itsswarm:hostlabel) would restore the pool immediately — dropping it fromswarm.yml's matrix alone would not, since the pool jobs route by the label in its own registration.Evidence:
/tmp/matou-heal-Matou-idss.LiZpkt(this pass),/tmp/matou-heal-Matou-idss.LCuGUG(11:10 pass). Lock free, API 200 in 0.74s, disk 85% / 37G free, mem fine onmatou-dev-server-01. No repair attempted, no containers started.Still live at 18:06 UTC — 17 consecutive red ticks, 8h20m.
bens-mac-04hasnot landed a green job since 09:15; head is still
9a9a378f(no commit hasshipped since 2026-10-08 21:27, so nothing in-repo can be behind it).
Latest six hours (
actions/tasks, 12:07–18:06 UTC), duration bands unchangedand still cleanly bimodal:
runs-onpublishmatou-workstationpinnedswarm (matou-workstation)swarm (elitebook-03)swarm (bens-mac-04)resume(resume-asks)swarmpooltriageswarmpoolSo the pool loss is now measured, not estimated: 39% of
resume-asksticks and42% of
triageticks are dying in the fast-fail band, plus the wholebens-mac-04third of the swarm fleet. Every red is still silent — no Mattermostpost from any of them, consistent with the body's "the box cannot reach
mattermost.matou.nz / the Claude API" read.
Nothing new to diagnose from here and nothing an agent can reach: the stage/error
line still exists only on that box. Still
ready-for-human— pausing that runner(or dropping its
swarm:hostlabel) is the one action that stops the bleedingfrom off-box.
Filed by the swarm healer (watchdog pass of 18:02 UTC, signature
0990ca97e6aa,evidence
/tmp/matou-heal-Matou-idss.qy3y0gonmatou-dev-server-01). No repairattempted; no containers started.
MECHANISM FOUND —
bens-mac-04cannot resolve DNSThe failing leg's own log says it in one line. The log was fetchable all
along; passes 1–3 probed the URL with one path segment missing (recipe at the
bottom).
Matou/dev-factoryrun 19863,swarm (bens-mac-04), 18:47 UTC:Byte-identical on dev-factory runs 19847, 19852, 19858, 19863 (4/4 sampled) —
and on the very first red in the window,
Matou/idssrun 42411:So: name resolution on that box, from 09:46:16 UTC, every tick, every repo.
Not Forgejo, not the repo, not a shipped commit — this closes the "mechanism is
not identified" hole in the ticket body.
Why the runner still looks healthy.
forgejo-runnerholds a long-livedHTTPS connection to
git.matou.nzthat was established before DNS broke, so itkeeps fetching tasks and uploading logs over it while every new resolution
inside a job fails. Same reason the silence this ticket records is exactly
right: idss 42411's on-host healer did run (
decision=investigate,4m 47s) and posted nothing, because
mattermost.matou.nzdoes not resolveeither.
The two exit codes are a pin difference, not a second fault. idss is
vendored at a pin carrying
git-setup.sh'sEX_TRANSPORT=3(#1394), so itexits 3 and names TRANSPORT; dev-factory's own
.sandcastleself-copy is 144commits behind (dev-factory #131/#132), so its
git-setup.shstill exits a bare128. Both are the same DNS failure.
Fix — one step, on the box
Restore the resolver on
bens-mac-04. Pass 1's first suspicion was right.Check, in order:
That box is the standing WKT-DEMO drive host (#1855/#1844/#1836), so a mesh/VPN
join taking over DNS around 09:46 UTC fits the profile (cf. #2040). Nothing in
any repo needs changing.
How to read a failing leg's log on this Forgejo
Recorded here so no future pass re-derives it (Forgejo 15.0.5, plain repo token,
no admin scope):
<job-index>is the 0-based index of the job in the run — for this matrix,0=bens-mac-04,1=elitebook-03,2=matou-workstation.…/jobs/<n>/logs(no/attempt/1) returns404 Not found., and bothapi/v1/.../actions/runs/<n>/jobsandapi/v1/.../actions/jobs/<id>/logsreturn
404 page not found— which is why passes 1–3 concluded this Forgejoserves no job logs.
/attempt/1/is the whole difference.This is #2036's AC4, whose handoff patch (comment 60682) already used the
working URL on 2026-10-01. Filed in the factory tracker as
Matou/dev-factory#188 so every heal bundle carriesjob-log.txtand thenext cross-host fault is one
cataway instead of four Opus passes.Still live at 20:15 UTC — 10h30m, and the DNS mechanism is now confirmed on
resume-askstoo, byte-for-byte, via the/attempt/1/logsrecipe in the comment above.Matou/idssruns 42649 (schedule, 19:40), 42655 (dispatch, 19:55), 42658 (dispatch, 20:01) — all three on runner18b49d22-6243-41d9-881d-2823760575c7:Every green
resumein the same window is runner5078e9af-06c4-4238-966b-ab5c0412bbc4and endsresume-parked-asks: swept 48 parked, re-armed 0. So the wedge is the one runner, nothing in the sweep: 11 runs in the last 90 min, 4 red at 13–21 s (thegit fetchin the job's own shallow checkout, before the sweep starts), 7 green at 211–297 s. No repair attempted — host state on another box is out of the heal charter, and nothing in this repo is at fault.Head is still
9a9a378f. Fix is unchanged and still Ben's hands: restore the resolver onbens-mac-04, or take it out of theswarmpool until it is back.One aggravating factor found en route, filed separately as
Matou/dev-factory#190:schedule-backstop.sh's in-flight guard looks for a job namedresume-askswhile the job is actually namedresume, so the backstop dispatchesresume-askson every tick — 6 runs/hour against the designed 2. That tripled the number of sweeps exposed to the wedged host, and so tripled this ticket's red count and the heal billings in #2045. Not a cause of the wedge.4th recurrence — and the host came back green at 23:46 UTC
The watchdog tripped on a
triagefailure streak inMatou/idss(runs 42730 23:05:57Z and
42741 23:35:52Z, both red in ~45 s).
Same signature as the 12:11 UTC pass — the degraded workflow-name-only one, see #2045 — and the same root cause: this host fault, not this repo. Head was
9a9a378fon every green and every red in the window, so nothing shipped.The thing worth recording: the wedge cleared between 23:16 and 23:46 UTC.
swarm (bens-mac-04)swarm (bens-mac-04)swarm (bens-mac-04)swarm (bens-mac-04)swarm (matou-workstation)andswarm (elitebook-03)were green on every one of those runs — same run, same minute, same head SHA. The two redtriageticks (23:05, 23:35) and four redresumeticks (22:31, 23:01, 23:10, 23:31 — all 17–20 s, against 3+ min for every green one) sit entirely inside that red window and stop at the same moment it closes. EveryMatou/idssrun since 23:35:52Z is green, including the 23:46bens-mac-04leg.Attribution confidence
I could not read the failing runs' logs: both legs ran off-box (healer was on
matou-dev-server-01;no-local-evidence.txt,run-verdict.txt), the/actions/jobs/*/logsAPI is not exposed on this instance, and the UI job endpoint 500s under token auth for successful runs too — so that is an endpoint limit, not a missing task record. The attribution therefore rests on the timing table above: one wedged pool host explains three workflows reddening and recovering in lockstep far better than three independent transient faults. The alternative hypothesis for thetriagelegs specifically is the #2036 class (an unretried Forgejo read inapp-report-gate); that cannot be excluded without the verdict seam #2036 asks for, which is a second reason to land it.What a human should do
bens-mac-04recovery was deliberate (someone fixed DNS / restarted the runner) or spontaneous. If spontaneous, the wedge will return and this ticket stays open; if fixed, close it and note what the fix was.Co-Authored-By: Claude Opus 5 noreply@anthropic.com
Closed 2026-10-21 (Ben's stale sweep): bens-mac-04 recovered (the 2026-10-10 watchdog comment saw it come back green) and has stayed green — 11 of 11 idss swarm legs and 25 of 26 dev-factory legs succeeded there in the last 48h. Same outage as dev-factory #191, matou-app #725, matou-website #14; reopen on recurrence.
Recurring:
bens-mac-04went back to this exact shape at ~01:25 UTC 2026-10-24 — everyswarmleg red in all four repos, siblings green on the same head SHA, first red per repo ~575-592s (its own healer) then ~151-159s (ledger brake), and not one Mattermost post. Re-filed as #2069 rather than reopening, so this ticket keeps its 10-09→10-21 history./is 100% full (0 bytes free) because /etc/cron.d/swarm-prune still points at the rootless docker socket — every task landing on its runner dies in 1-3s at Set up job, includingswarm-pool triage/resume-asks #2076