rehearsal drive red at ports-honest #625
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#625
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
20260821T010253Zred atports-honest:expect(locator).toBeVisible() failed Locator: locator('[data-status="reachable"]') Expected: visible Timeout: 600000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 600000mevidence:
test-results/…/20260821T010253Z/on matou-workstation (legs.json, droplet-journal.txt, trace) — a representative screenshot is attached here if one was captured (#596)Head-start (evidence
test-results/drive-selfhosted/20260821T010253Z, one101413b/ served pind2c56b6) — the PRODUCT passed the whole honesty tooth; the spec's last assertion looks for an element the success path folds away. Spec-only, same class as #624, one assertion later.state/founding-state.jsonreachability events, in order:"the probe to port 443 was dropped, not refused (open: none)"— #624's early drop landed first; the fault was detected honestly (and the leg'sdropped+ guidance + no-false-reachableassertions passed).undrop+recheck-ports:"answers — the knock reaches your machine on ports 80, 443 (nothing is serving yet; the gateway deploy comes next)"→reachable: true(DDR 0188).name-wiring: "rehearsal-b.idss.nz now points at 134.199.147.194"→step: deploying.The red is
journey.selfhosted.spec.tsportsHonest's final line:expect([data-status="reachable"]).toBeVisible()after the re-check.FoundingReachability.vue:10renders that element only while the stand-up is on the reachability step; on successRunReachabilitywires the name and flipssteptodeployingin the same commit, so the S10 section folds andFoundingDeployGateway.vue(data-status="deploy-gateway"/"deploying") replaces it — the element is gone before Playwright can see it.Fix: mirror what leg 9 (
point) already does — it waits onwired.or(deployStarted).first(). Theports-honestclosing assertion should bereachable.or(deploy-gateway).first()(selectors[data-status="reachable"],[data-status="deploy-gateway"]), since "advanced past S10" is the proof the door answered. Optionally also assert the state file's last reachability event containsreaches your machine, so the leg still proves the re-probe produced a changed verdict (dropped → reachable), not just that the step moved. No app/DDR change.Ruled by agent under ADR 0174 — veto anytime
Ruling: two-way-door test-driver fix, no app/DDR change. Revertible by commit (
aa9de31b), provable against the run dir's own evidence (test-results/drive-selfhosted/20260821T010253Z/) plus a source-level read ofinternal/founding/standup.go'sRunReachabilityandFoundingStandup.vue/FoundingReachability.vue's mount conditions — independently confirming Ben's head-start comment above. Not on the one-way-door list: no credentials, no security-posture widening, no trust-surface accept, no data destruction, no hardware.Diagnosis (matches the head-start exactly)
state/founding-state.jsonshows the honesty tooth fully worked: dropped (not refused) → guidance rendered → undrop → recheck →reachable: true("reaches your machine on ports 80, 443") → name-wiring (rehearsal-b.idss.nz now points at 134.199.147.194) →step: deploying.RunReachability(standup.go:774-786) wires the name and flipsSteptoStandupDeployingin the SAME response as the reachable read — atomic, not staged (ADR 0049).FoundingStandup.vuemountsFoundingReachability(owner of[data-status="reachable"]) only whilestep === 'reachability'(line 110) and swaps toFoundingDeployGateway([data-status="deploy-gateway"]) the same Vue tickstepbecomes'deploying'(line 122) — so the reachable element structurally never exists in the DOM for a subdomain-addressed self-hosted community. Leg 9 (point) already documents and handles this exact fold (wired.or(deployStarted)); leg 8's own closing assertion was the one spot that never got the same treatment. DDR 0188/#624's fix worked exactly as designed — this is one assertion later, same class.Fix
app/tests/e2e/journey.selfhosted.spec.ts(aa9de31b): the closing assertion now accepts[data-status="reachable"]OR[data-status="deploy-gateway"]— reaching the deploy view is itself proof the probe passed, since the app cannot reachdeployingwithoutReachablehaving just been true. Added a positive check reading the state file for a "reaches your machine" event on the re-probe, so the leg still proves a genuine dropped→reachable transition rather than just "the step moved for some other reason." No app code, DDR, or gate semantics touched.Proof
vue-tsc -p tsconfig.json --noEmitclean.eslint app/tests/e2e/journey.selfhosted.spec.tsclean.fixtures/selfhosted.test.ts(17/17, the fault-injection-ordering unit contract) green, unaffected.vitest run: 906/906 green.go test ./...: green.scripts/rehearsal-cycle.shgrabs/tmp/matou-session-runner.lockexclusively (all-or-nothing) before driving, and this session holds that lock for its own duration. The next unattendedselfhostedre-drive is the live proof, same closure path #608/#609/#622/#623/#624 all took.New finding along the way — filed separately as #626, NOT fixed here
This same drive is the first in the whole #622→#623→#624→#625 chain to ever reach
deploy-takeoverlive — and it genuinely reds there, for real: amissing_varclan eval failure (gateway'ssops.defaultGroups/secretUploadDirectorynever generated), despite ADR 0126/#398's generate-before-eval guard ininternal/clan/enrollment.go. Different subsystem (clan/nix secrets generation, not a Playwright assertion), needs its own root-cause pass before a ruling — out of scope for this ticket per ADR 0174 sequencing. #626 carries the full evidence and a node-id-vs-flake-machine-name hypothesis worth checking first. Once this ticket's fix lands, the next drive to get pastports-honestwill very likely hit #626's red next.Advances #625; commit
aa9de31b,STATUS.mdupdated in the same commit.