connect-dial-in: drive awaits the enroll PTY's exit before clicking Continue — deadlock against ADR 0209's AwaitAndLand #1634
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#1634
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
connect-dial-inred after 304545 ms;verdict.jsonnames itfirstRedLeg, at commit4091563e. The leg killed anssh -ttPTY that was blocked waiting for an operator decision the drive had not yet made — while the operator screen was sitting on that very decision with the button unclicked.This is not the KNOWN frontier.
legs.jsonrecords"skip": 0and carries no skip reasons at all; the named own-VPS carrier issue ("pairing never flips") is not what stopped this drive. Pairing did flip — the screen has the machine's real probed facts. The drive died on the self-hosted dial-in carrier, before reaching anything the frontier covers.The evidence
The device transcript (
artifacts/legs.json,journey.json) ends exactly at the await:The Playwright page snapshot at that same moment (
artifacts/journey.idip-*/error-context.md) shows the product did its whole job:The request landed, the pre-checks ran on the box and passed, and Continue was rendered and never clicked.
Why it can never be clicked
idss-agent enroll <code>no longer exits at Pending —agent/cmd/agent/main.go:589-601runsRunTerminaland then blocks inAwaitAndLand(ADR 0209, landed by0ca9192cfor #939):But the drive waits for that process to exit before it will touch the screen.
app/tests/e2e/journey.idip.spec.ts:322-327, inside therunOnBoxcallback:and
app/tests/e2e/fixtures/wizard.tsonly approves after that callback returns:PTY exit requires the decision; the decision requires the click; the click is gated on PTY exit.
CEILING.consent(300 000 ms) expires,child.kill('SIGKILL')fires atfixtures/droplet.ts:427, leg reds.The live box corroborates
SSH to 209.38.26.32 answered;
systemctl --failedis empty andidss-agent.serviceis active — no product or infra fault. Its journal shows the request still un-decided, with the standing service retrying only because thessh -Rrelay socket died with the killed session:Those resets are at 14:46:43/14:47:13 — after the 14:45:38 kill. They are the consequence, not the cause.
logs/droplet-units.txtanddroplet-stall.txtshow a healthy, un-wiped box (correct — the wipe runs at first deploy).Suspected layer
Harness. The spec was left behind by ADR 0209's product change. The correct pattern already exists in this repo —
journey.device.spec.ts:744-797holds the PTY open and polls the local accumulator for the frontier rather than awaiting exit:and
fixtures/droplet.ts:352-359documentspeek()/settled()as existing precisely for a session "held open across legs (the join→approve walk)".What plugging it needs
journey.idip.spec.ts:322, stop awaiting.doneinsiderunOnBox. Spawn the session, hold it, pollsession.peek()until/waiting for the operator/(failing fast onsession.settled(), as the device spec does), then return so the wizard body can run the pre-checks and click Continue.s4dConnectSelfHostedDialIn(fixtures/wizard.ts:408) a way to hand the held session back — either return it, or take an after-Continue hook — so the leg canawait session.done, assertrc === 0, and still writeconnect-dial-in-transcript.txt(absent from this run dir: the callback threw before reaching the write at line 330).journey.idip.spec.ts:454,journey.selfhosted.spec.ts:296and:407. Fix them together or the next drive reds identically.Secondary — not the red, worth its own ticket
The community name renders blank twice in the transcript:
idss-agent unknown · joiningand✓ connection request sent to. Both areresp.Community.Name(internal/join/cli.go:170and:227) coming back empty from redeem over the self-hosted relay, where the app knows the community as "E2E Drive" (snapshot:Community info → E2E Drive).unknownis likewise a blankt.Release. Cosmetic against ADR 0100's "every ✓ names a fact", and it did not cause this failure.Absent from the run directory
artifacts/connect-dial-in-transcript.txt— never written; the callback threw first.logs/broker-journal.txt— harvest denied (dev@100.98.48.68: Permission denied (publickey)), off-mesh by design per ADR 0208/#681; verdict does not depend on it.logs/state-logs.log,clan-config-snapshot.log— both record ENOENT: the drive never built a clan config or state-log dir, expected for a drive that stopped at Connect.logs/helper.logholds only GLX/EGL noise from headless Electron — no signal.drive
20260919T143924Zred atconnect-dial-in:ssh -tt root@209.38.26.32 timed out after 300000ms: idss-agent enroll 3P7L-R6SC-ADZ5-UVTK-6EJC --- transcript so far --- Warning: Permanently added '209.38.26.32' (ED25519) to the list of known hosts.evidence:
/home/swarm/session-runner/idss/test-results/drive-idip/20260919T143924Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=bens-mac-04 run=27582
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1634 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope