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
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1315
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?
Drive
20260908T035208Z(private-path, targetbrands) red atdeploy-whakapapaafter the full 4500 s ceiling. This red is already diagnosed and fixed onmain— HEAD729d81benames this drive verbatim in its commit body. Filing only as the loop's record; the action is verify-and-close against #1313, not new work.The failure
artifacts/legs.json(leg 16):deploy-whakapapa,ms: 4503815—deploy did not reach active within 4500s — deploy bar: state=running current=deploy-services percent=download:0 install:0; wire /api/v1/fleet: probe failed: Failed to fetch.artifacts/verdict.json: 15 green / 1 red,firstRedLeg: deploy-whakapapa,commit: 3a2645a2798560166d28bdaa8b9f04c63c0a4f49— two commits behind currentmain.Evidence
The NixOS switch was not slow; activation blocked on the whakapapa containers.
logs/guest-caddy.log:18-21—Reloading Caddy... / Reloaded Caddyat04:09:03–04:09:04, ~35 s after the deploy began. The switch reached activation almost immediately.logs/guest-resources.log—clan machines update gateway --flake git+file:///srv/idss/config?rev=67344b6b… --build-host localhost(PID 11900) started04:08, still running at harvest05:25with only0:06CPU time. Blocked, not building.logs/guest-caddy.log:22-35— every ~5 min from04:13:36to05:21:36, the control-plane whakapapa health probe (POST /api/token/,Go-http-client/2.0) got502/dial tcp 127.0.0.1:8085: connect: connection refused. Gramps Web never served for 68 consecutive minutes.logs/guest-failed-units.log—grampsweb-admin.service loaded failed failed("Bootstrap the Gramps Web owner service identity from a clan var (whakapapa port, ADR 0062)").logs/guest-grampsweb.log— the crash loop, both containers, one cycle apart on the sharedusers.sqlite:05:25:40 grampsweb[93969]—Running upgrade a8e57fe0d82e -> 2082445b0769, add oidc_accounts table…→sqlite3.OperationalError: table oidc_accounts already exists→alembic upgrade headreturned exit status 1.05:25:43 grampsweb-celery[94080]— the identical traceback;podman-grampsweb-celery.service: Failed with result 'exit-code'.05:25:39/05:25:43 whakapapa-brand-start—curl: (7) Failed to connect to 127.0.0.1 port 8085, a retry loop against a port that never opened.Suspected layer — confirmed
internal/clan/whakapapa.go(the whakapapa port renderer), two defects:renderGrampsWebAdmin's readiness gate renderedcurl -s -o /dev/null -w '%{http_code}' … || echo 000. On a refused connection curl prints000and exits non-zero, so both halves ran and the gate read"000000", which!= 000— the gate passed on the first tick and the owneruser addraced the image entrypoint'salembic upgrade head.renderGrampsWebContainersgavegrampsweb-celeryonlydependsOn = [ "grampsweb-redis" ]. The worker runs the image's same entrypoint, i.e. the same migration chain, against the same SQLite. Two migrators, non-transactional DDL →oidc_accountscreated by one with the other'salembic_versionbehind it, poisoning the DB for every subsequent restart.switch-to-configurationthen waited on a unit that could never reach active, which is the 75-minute hang.Why no heal was landed here
HEAD
729d81be(internal/clan/whakapapa.go:340-373,:472-486) is exactly this fix:probe()captures curl's output and normalises viacase … [0-9][0-9][0-9]with no echo-on-failure fallback;grampsweb-celerygainsdependsOn = [ "grampsweb-redis" "grampsweb" ]plus alib.mkAfterExecStartPrethat waits up to 300 s forGET /api/metadata/to answer before starting a second migrator. GOTCHAS #188. There is nothing left in this red to repair.The fix will reach the next drive:
railKey()(app/tests/e2e/fixtures/snapshotRail.ts:162-171) hashesHEAD:internal, so theinternal/clan/change invalidates snapshot key32f70af1fdcdaf7f(recorded@ 3a2645a2,artifacts/legs.jsonleg 1) and the drive re-founds in full, baking the corrected control-plane.Verified at HEAD:
go test ./internal/clan/→ ok (18.5 s). Working tree clean — no edits made.Noted, not filed (deliberately out of scope)
The same human diagnosis that produced
729d81behad this evidence and chose to fix the root cause only. Recording two observations so they are not lost, neither claimed as a defect to act on:clan machines updateblocked ~75 min on a crash-looping podman unit with no start-limit. Any future crash-loop burns the whole ceiling again instead of failing loudly. Changing that alters what a deploy does on failure — a design call, not a heal.logs/guest-system-journal.logholds 500 lines, all from05:25:40–05:25:44; the entire 75-minute window and the first failure are gone. The timeline above had to be reconstructed fromguest-caddy.log's sparse 5-minute probe errors. Worth deepening the harvest window for hang-shaped reds.Evidence absent by construction
This is a VM-mode private-path drive (ADR 0056, qemu guest on the workstation), not a droplet drive: there is no
droplet-journal.txtand noerror-context.mdin the run directory.founding-state.log(15 KB) andstate/clan-config(HEADd6a7e67a) are present;logs/state-logs.logrecordsno state logs directory … ENOENT.drive
20260908T035208Zred atdeploy-whakapapa:deploy did not reach active within 4500s — deploy bar: state=running current=deploy-services percent=download:0 install:0; wire /api/v1/fleet: probe failed: Failed to fetchevidence:
/home/swarm/swarm/Matou/idss/test-results/private-path/20260908T035208Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=matou-dev-server-01 run=19861
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1315 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope