You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Server reads one resolved listen address instead of the raw host string (prefactor + Seam 1 harness) #3
Spec: #1 — Exposure as a set of listen interfaces (bind-hosts lane).
What to build
A behaviour-preserving prefactor that makes the later change easy, plus the test harness the rest of the lane will reuse.
Prefactor. The server derives a single "resolved listen address" exactly once at startup from today's host-string logic (default loopback, explicit IP, wildcard). Every reader consumes that value instead of re-interpreting the raw string: the HTTP server layer's bind, the remote-reachable auth-policy predicate and session-cookie naming, runtime state, and startup output/telemetry. Nothing observable changes.
Seam 1 harness. An in-process harness that starts the server with a given config and an injectable network-interface map, probes real TCP connects to an address:port and observes accept vs. refuse, and reads the auth policy from the public environment descriptor. Its first cases characterize current behaviour so the harness is trusted before any behaviour changes; later tickets only add cases.
Acceptance criteria
Exactly one place derives the listen address from config; the readers above consume it. No raw-host string interpretation remains outside that place and CLI parsing.
Zero behaviour change: all existing server, CLI, and desktop suites pass without modification.
Seam 1 harness exists and is reusable by later tickets (start server + interface map → connect → observe; read descriptor auth policy).
Activity
t3 serve --host tailnetbinds the tailnet address only #5Merge pull request #10 from Khang5687/feat/resolved-listen-address
Khang5687 commentedon Sep 6, 2026
Merged into fork-main via #10