rehearsal drive red at ports-honest #622
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#622
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?
(headless diagnosis unparseable — raw stdout saved to logs/reporter-claude.out)
drive
20260820T205437Zred atports-honest:expect(locator).toBeVisible() failed Locator: locator('[data-port="443"][data-status="dropped"]') Expected: visible Timeout: 600000ms Error: element(s) not found Call log: - Expect "toBeVisible" withevidence:
test-results/…/20260820T205437Z/on matou-workstation (legs.json, droplet-journal.txt, trace) — a representative screenshot is attached here if one was captured (#596)Head-start from the live evidence (
test-results/drive-selfhosted/20260820T205437Z, matou-workstation) — not a #609 regression, the next fault behind it.ce94770) took:state/founding-state.json→standup.reachnow has an IP and a real probe result:"Probed from outside: 170.64.151.28 answered but ports 80, 443 closed — nothing is listening (open: none)", both port rowsverdict: "refused".journey.selfhosted.spec.tsportsHonest) runsiptables -I INPUT -p tcp --dport 443 -j DROPon the droplet then waits up to 10 min for[data-port="443"][data-status="dropped"].refused/refused.FoundingReachability.vuerenders that single snapshot (:data-status="row.verdict"); nothing re-probes afterwards, sodroppedcan never appear and the leg times out. Drive ran 10.2 m, 7/8 legs green, first redports-honest.Candidates (pick by the wireframe/story-20 contract,
p1-s10-reachability-and-name.html): (a) the spec drives the walkthrough's own retry after dropping 443 (story 20 says "then retry" — if the button exists, the spec should press it, and the assertion becomes meaningful); (b) if no retry affordance exists in the UI, that's the product gap — the walkthrough must offer re-probe; (c) alternatively sequence the drop before S10 entry, but then the drive never proves a changed verdict, which was the point ofports-honest.Related: the prober vocabulary is
open|refused|dropped(internal/founding/standup.go:136-143), sodroppedIS a real verdict — the question is only when it's probed.Ruled by agent under ADR 0174 — veto anytime.
Root cause confirmed off the run dir's own evidence (
test-results/drive-selfhosted/20260820T205437Z) plus a source read — matches Ben's head-start comment above exactly:FoundingStandup.vue'sreachabilityPendingwatch (#608's own fix,{ immediate: true }) firesonProbeexactly once, the instantstandup.stepflips toreachability, and never re-polls on its own — DDR 0175's re-check is a deliberate operator click, not a timer.spec-gate-passrenders sub-second (853ms in this run) and the step transition follows right behind it — faster than the SSH round-tripportsHonestneeds to landiptables -I INPUT -p tcp --dport 443 -j DROPon the droplet. So the one lone probe reliably wins the race and captures the pre-drop truth:host.json'sss -tlnpshows only port 22 listening on the fresh droplet, andfounding-state.log's single captured snapshot shows both port rowsrefused— neverdropped, because nothing ever looked again.Fix (
app/tests/e2e/journey.selfhosted.spec.ts,272273a7): took Ben's preferred candidate (a) over (c). Sequencing the drop before the leg starts (c) would dodge the race but only prove a static already-dropped snapshot on first paint — not the leg's actual point, that the app detects a changed verdict on re-probe. Instead, after the SSH drop,portsHonestnow waits for the walkthrough's own existing "Re-check the doors" button (data-action="recheck-ports", confirmed wired to the sameonProbe/client.runReachability()seam call the auto-probe uses —FoundingStandup.vue:82,112) and clicks it before asserting[data-status="dropped"]. This forces a fresh probe that lands after the rule is armed regardless of which side of the race the SSH round-trip fell on, while still genuinely exercising the re-probe-detects-a-change path.Proof:
pnpm exec tsc --noEmit/pnpm exec eslintclean on the touched file (only pre-existing, unrelatedAppUpdateSurfaceerrors elsewhere).selfhosted.test.ts(the offline fixture suite for this journey's pure sequencing logic) — 17/17 green, unaffected by this change.rehearsal-cycle.sh's host-capacity semaphore (ADR 0184/#577) excludes a drive from running alongside an active session-runner tick, and this session holdsmatou-session-runner.lockfor its own duration. Closing this ticket unblocks #523 (blocked_by#622, native dependency) for the standing executor's own next tick, which re-drivesselfhostedunattended and is the live proof. A fresh red there — a different leg, or this fix being wrong — mints its own new ticket via the same reporter/dedup path #608/#609/#622 all came through.STATUS.mdupdated in the same commit. Advances #523.