wallet-records-spaces: heartbeat-repoint greens off DNS cache, leaves apex mis-pointed #1656
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#1656
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?
The failure
Leg 40 of 40,
wallet-records-spaces, is the only red (39 green, 0 skip). It died insideopenHeadlessWalletat the wallet's second hop —client.connect()— not at the door and not on the credential. The descriptor read one line earlier succeeded, so the community's public face answered fine.The real cause, which Playwright's bare
TypeError: fetch failedhides, is a TCP connect timeout tokeria.rehearsal-f.idss.nz:443— a blackhole. That blackhole is the TEST-NET-3 mis-point the previous leg installed and never took back.Evidence
artifacts/verdict.json:artifacts/legs.json— the red and the leg immediately before it:trace.zip→test.trace, the cause behind the bare message:A connect timeout — not refusal, not TLS, not a 404: the name resolved and nothing answered. The leg's own
10883 ms≈signify.ready()+ undici's 10 000 ms connect ceiling.Live box (134.199.166.118) — ssh accepted, read-only. The product side is healthy:
systemctl --failed --no-legend→ empty.-k),--resolved straight at the droplet: apex/api/client-confighttp=200,keria.rehearsal-f.idss.nzhttp=401,keria-boot.…http=403. The door the wallet wanted answers when you reach the box by address."admin_url": "https://keria.rehearsal-f.idss.nz"— the exact name that timed out.The box's own journal proves the heartbeat never re-pointed in that window (
journalctl -u idss-control-plane):Last successful re-point 06:20:05, interval 5 m, next tick 06:30:05 — and that one failed. The leg mis-pointed at ~06:27:03 and went green at ~06:27:14. No correction ran in between. The green is a read of the resolver cache.
The poll that produced it —
heartbeatRepoint(app/tests/e2e/journey.idip.spec.ts:1397) andapp/tests/e2e/fixtures/selfhosted.ts:So: the mis-point POSTs 2xx (the leg throws on non-2xx and did not), the zone record becomes
203.0.113.250,dig +shortkeeps serving the cached droplet answer for the record's TTL, the loop breaks on its first poll, green. Thenwallet-records-spaces— the first Node-side, by-name caller after it — resolveskeria.rehearsal-f.idss.nzfresh (the apex was already warm in that process, which is exactly why the descriptor fetch atheadlessWallet.ts:88still got its 200), lands on TEST-NET-3, and burns the 10 s timeout.Today, all
rehearsal-fnames answer143.198.134.168from 1.1.1.1 — neither the droplet (whose only public address iswan0 134.199.166.118) nor the mis-point. Something re-claimed the host after the run; the broker's 06:30 refusal says this community's claim is gone. Not attributable from this run directory.Absent
artifacts/wallet-records-spaces.jsonwas never written — the evidence write sits afteropenHeadlessWallet, so the leg died before its own artifact existed. No challenge/post record to read.logs/broker-journal.txtis only a refusal:dev@100.98.48.68: Permission denied (publickey)— the broker's side of the mis-point and of the claim lapse is unreadable from here.legs.json(skip: 0), andpairis green (4699 ms). The own-VPS pairing carrier frontier named in the brief is not in play — this is a fresh red, not the known one.logs/guest-*.logare private-path collectors and are inapplicable on the VPS path (Unit idss-guest.service could not be found);host.json'sqemu: spawn qemu-system-x86_64 ENOENTagrees.Suspected layer
Harness — the drive's own
heartbeat-repointleg. Two defects, one root:MISPOINT_IP, and only then start the clock on the correction. As written, a cached pre-mis-point answer satisfies the success predicate instantly — which is the most likely way for this leg to pass, not an edge case.digShortasks the system resolver, so it cannot see the zone it is asserting about.The consequence reaches past the false green: the leg leaves the community's DNS pointed at a blackhole and every later leg inherits it.
wallet-records-spacesis the victim only because it sits immediately after and is the one leg that resolves by name from Node — no browser--host-resolver-rules, the non-browser caller GOTCHAS #281 describes.Secondary, and not settled here: the 06:30:05 tick failed with
host is not a claimed subdomain of this zone. Even a correctly-waiting leg would have red at its 15-minute ceiling, because the gateway could no longer re-point at all. Whether that claim lapse is teardown, a broker TTL reap (ADR 0189), or a slot hand-off (#663 / ADR 0003) needs the broker journal this run could not harvest — a human or a broker-side read, not a code change.What plugging it needs
heartbeatRepoint(app/tests/e2e/journey.idip.spec.ts:1397): after the 2xx mis-point, poll until the record answersMISPOINT_IPunder its own short ceiling; only then begin polling for the droplet. Red distinctly if the mis-point never lands — that is a broker gap, not a heartbeat one.digShortan@nsargument (dig +short @andy.ns.cloudflare.com <host>) or+trace, so no cache can answer for the zone.ipitself in afinallyrather than leave the community's DNS broken for the legs behind it and rely on a 5-minute heartbeat to repair it. This alone de-coupleswallet-records-spacesfrom this leg.openHeadlessWalletfolderr.causeinto its throw.TypeError: fetch failedcost a trace extraction to becomeConnectTimeoutError … keria.rehearsal-f.idss.nz:443.Legs 1–39 are honest and the gateway is healthy; only the tail needs re-driving once (1)–(3) land.
drive
20260920T060311Zred atwallet-records-spaces:fetch failedevidence:
/home/swarm/session-runner/idss/test-results/drive-idip/20260920T060311Zon 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=28148
(automated multi-host claim — lowest live claim id works this ticket)
Note from Ben's session (author of the
wallet-records-spacesleg): the ordering half is already landed —e47c1ce7moves the wallet leg to just BEFOREheartbeat-repoint, with the reason in the spec comment. Keep it there: nothing that dials the community's names from the drive host may run after the mis-point. This ticket is therefore only theheartbeat-repointfalse green itself — (1) gate on first OBSERVINGMISPOINT_IPat the authoritative NS before starting the correction clock, (2) poll the record (dig @<authoritative NS>), never the system resolver's cache. The 06:30:05host is not a claimed subdomainerror in the box journal is after the drive's own teardown offboarded the slug (offboard rehearsal-f.idss.nz: 204) — expected, not a product fault.close-report for #1656 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope