get.idss.nz's seeded agent build predates #599's dial-retry fix — consent leg reproduces the identical pre-fix race #603
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.
Blocks
Reference
Matou/idss#603
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?
Failure
Drive
20260819T220305Zreds at theconsentleg with the exact #599 signature:dial unix /run/ourcloud/enroll-relay.sock: connect: no such file or directory(error-context.md;legs.jsonlegconsent).Evidence this is a stale-artifact problem, not a code regression
ec89a8c(committed 2026-08-19 21:58:50Z) addeddialRelay/dialRelayWithininagent/cmd/agent/wiring_prod.go:150-192: a bounded retry of ENOENT/ECONNREFUSED, 250ms backoff, 30s budget, specifically so the box-endagent enrollone-shot redeem rides the relay carrier's bind gap.consentleg failed after 409ms (legs.json:"leg":"consent","status":"red","ms":409). A binary built fromec89a8ccannot fail in 409ms against a 30s retry budget — this is the pre-#599 single-shot dial behaviour.droplet-journal.txt:1113-1126shows the relay carrier's ownssh -Rbind failing twice 2s apart (sshd: cannot bind to path /run/ourcloud/enroll-relay.sock), thenourcloud-agent.servicestarting at 22:04:22 (droplet-journal.txt:1142,join socket listening path=/run/ourcloud/agent.sock) — yet the terminalagent enrollstill dies almost immediately after, with no sign of riding out the gap.bootstrap/cmd/bootstrap/main.go:1-11,90-113documents thatget.idss.nzis "Matou-hosted and seeded by the release pipeline": it serves a pinnedagent-<arch>binary +RELEASEfile from a seeded artifacts dir, never built live frommain. No workflow in.forgejo/workflows/or.sandcastle/reseeds that dir on push to main.This drive ran ~5 minutes after
ec89a8clanded — not enough time (or no trigger at all) for the release pipeline to rebuild and reseedget.idss.nz's artifacts dir, so the droplet installed the old agent binary and reproduced the exact race #599 already fixed in source.Suspected layer
Release/deploy infra outside this checkout — the artifact-seeding step for
get.idss.nz(referenced as "the release pipeline" inbootstrap/cmd/bootstrap/main.go), not the agent source.What plugging it needs
get.idss.nzexists and runs automatically on merges tomain, or is manually triggered — nothing in this repo shows the trigger.get.idss.nz's artifacts dir now from currentmain(which carriesec89a8c) and re-fire the standing #523 drive to confirm green.This needs someone with access to the
get.idss.nzrelease/seed process — a swarm worker cannot trigger or verify that reseed from this checkout.drive
20260819T220305Zred atconsent:the terminal join exited N --- transcript --- Warning: Permanently added 'N.N.N.N' (EDN) to the list of known hosts. time=N-N-NTN:N:N.NZ level=ERROR msg="enroll did not reach Pending" component=agent err="enrollwire: POST http://enroll-relay/api/vN/enroll/redeem: Post \"http://enroll-relay/api/vN/enroll/redeem\": di Connection to N.N.N.N closed.evidence:
test-results/…/20260819T220305Z/on matou-workstation (legs.json, droplet-journal.txt, trace)Ben's session: fresh
bootstrap+agent-x86_64are built fromb8c9778(includesec89a8c, the #599 dial-retry fix) and queued for Ben's classifier-gated!re-stage on the mail droplet — happening now. This ticket closes once the stage servesb8c9778(verified via RELEASE) and the next drive's consent leg moves past the dial error.Ruled by agent under ADR 0174 — veto anytime.
Independently re-confirmed this ticket's diagnosis live this session:
curl -sI https://get.idss.nz/get?arch=x86_64answersX-OurCloud-Release: e67d774ce778ad926723e510b1b7739947c75837, andgit rev-list --count e67d774..origin/main(agent-affecting paths) shows 1 —ec89a8c(#599's dial-retry fix) is the missing commit. Confirmed no in-repo release pipeline seedsget.idss.nz(checked every.forgejo/workflows/*.yml,scripts/,.sandcastle/). Attempted SSH toget.idss.nzto reseed it directly — timed out on port 22 from this workstation, the identical wall #597/#598 hit; this session has no door to the mail droplet either.This is the same root cause as #597 → #598's ghost, not a new bug. While this session was diagnosing it, a concurrent swarm run landed #600 — a bootstrap-staleness gate (
scripts/lib/bootstrap-staleness-lib.sh, wired intoscripts/smoke-private-path.sh's selfhosted preflight, commitebbbd2b, closed) thatdie_host()s with an exit-3 preflight refusal (no leg-red ticket filed) wheneverget.idss.nz's served pin predates an agent-affecting commit. I ran it live against the current real pin to prove it now catches exactly this ticket's scenario:So the failure mode this ticket names — a drive burning a droplet and reproducing an already-fixed bug against a stale seed — is now structurally closed: the next selfhosted drive parks in preflight instead of red-ing at
consent.scripts/tests/bootstrap-staleness-test.sh(8 cases) andscripts/tests/swarm-identity-test.sh(7 cases) both green.The deeper ask this ticket's "What plugging it needs" raised — an automated reseed pipeline + a pin-policy ADR, and reseeding
get.idss.nzright now — is already tracked and correctly routed at #601 (ready-for-human), which names the exact same SSH wall this session independently hit and asks for Ben's ruling on pin policy (A/B/C) plus his hands on the mail droplet once. No new residue to add there.Closing #603 as resolved by #600 (duplicate root cause, landed fix verified live against this ticket's exact pin) — #601 remains open and owns the remaining infra work. Nothing further for a swarm/session worker to do here.
Re-staged (Ben via
!): get.idss.nz now servesb8c9778— RELEASE updated,ourcloud-bootstraprestarted and active. The seeded agent now carriesec89a8c(the #599 dial-retry fix). Closing; the re-fired drive is the proof — if consent reds again it is a new cause.