rehearsal drive red at ports-honest #609
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#609
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
20260820T021653Zred atports-honest: `[Nmexpect([Nm[Nmlocator[Nm[Nm).[NmtoBeVisible[Nm([Nm[Nm)[Nm failedLocator: locator('[data-port="N"][data-status="dropped"]')
Expected: visible
Timeout: Nms
Error: element(s) not found
Call log:
[Nm - Expect "toBeVisible" with timeout Nms[Nm
[Nm - waiting for locator('[data-port="N"][data-status="dropped"]')[Nm
evidence:test-results/…/20260820T021653Z/` on matou-workstation (legs.json, droplet-journal.txt, trace) — a representative screenshot is attached here if one was captured (#596)Diagnosed off the live evidence at
/home/dev/swarm/Matou/ourcloud/test-results/drive-selfhosted/20260820T021653Z(matou-workstation) —artifacts/verdict.json,artifacts/legs.json,state/founding-state.json,artifacts/journey.selfhosted-.../error-context.md.Not a #608 regression. #608's fix (landed
042d515, 02:14:14) made the reachability auto-probe reactive; this drive (started 02:18:02, after the fix) proves it worked —state/founding-state.json'sstandup.reachis populated (reachable: false, detail: "There's no gateway address to probe from outside yet.", name_wired: false), notnullthe way #608's own drive (20260820T012307Z) left it. The probe ran; it just had nothing to dial.Root cause.
internal/reachability/prober.go:142-151honestly refuses to probe an empty IP.st.GatewayIP(internal/founding/standup.go,knownGatewayIP) only ever had two sources: the Access choice's known IP (empty for self-hosted — the whole point) and the pair probe'sNetworkFacts.Address— whichinternal/hostprobe.Prober.Networknever fills for a DHCP host (spike #12 §6 explicitly punts address capture to the full-install path). Sost.GatewayIPhas been""for every self-hosted relay-carrier founding, always — this drive is the first to reach S10 far enough (thanks to #608) to expose it honestly instead of hanging.Fix landed:
ce94770—knownGatewayIPfalls back, self-hosted only, toOrchestrator.selfHostedBoxIP(#594'sWithSelfHostedBoxAddress, read from the drive-onlyOC_E2E_DROPLET_IPenv — "the drive greens without a UX change" per #594's own ADR 0174 ruling). This is a value the app already holds (to open the SSH relay forward) and is entirely separate fromTakeover.Network, which still builds off the box's own probe alone — the takeover's static-vs-DHCP config choice is unaffected, proven by the new test's explicit assertion.Considered and rejected: reusing
internal/dns.PublicIP(ADR 0136's OpenDNS reflection, already proven for the post-founding address heartbeat, #330) to fill the probe's ownNetworkFacts.Addressinstead. That field also feedsclan.BuildNodeConfig's STATIC takeover network config (MatchMAC,Gateway, CIDRAddresstogether) — a bare reflected IP with no CIDR/gateway/MAC would bake a broken static config (emptyMatchMAC, no default route) and could brick a real self-hosted takeover on reboot. That's a genuine design question (how to safely learn a real operator's box address without touching the takeover contract) already flagged open indocs/research/2026-08-07-home-gateway-reachability-scope.md§4 item 4 — correctly out of scope for a two-way-door session fix, and NOT needed for this ticket's actual failure (the drive's box address is already known via the carrier).Proof:
internal/founding/selfhostedcarrier_test.go's newTestSelfHostedRelay_GatewayIPFallsBackToCarrierAddressWhenBoxReportsNone— scripts the box's probe reporting DNS only (the realhostprobeshape), reds onmain, greens on the fix; assertsGatewayIPtakes the carrier's address ANDTakeover.Network.Addressstays empty.go build/go vet/go test ./.../gofmt/golangci-lint(vianix develop) green tree-wide. The live droplet re-run is the downstream rehearsal-183 proof (same posture as #608's own residual).Secondary finding, filed separately (not fixed here): this ticket's own body was unreadable —
[NmANSI garbage, port/timeout redacted toN— because.sandcastle/rehearsal-report.shruns the dedup-signature fold (normalize_error_line) over the human-facing evidence line, contradicting its own header comment. Filed as #610 (bug,ready-for-session) rather than fixed here:rehearsal-report.sh/heal-lib.share vendored byte-identical fromMatou/dev-factory(ADR 0180), and dev-factory'smainhas drifted from this repo's pinnedFACTORY_REFin a way that would regress the #596 screenshot-attach feature if re-vendored blind — needs its own session to reconcile, not a blind port riding this ticket.Ruled by agent under ADR 0174 — veto anytime: a two-way-door bug fix, provable by the new red-before-green unit test.