catalogue: deploy-routing — the gateway front-door public route for helper-placed ports (fleet-wide union, the S5x→S5 closer) #1172
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.
Dependencies
No dependencies set.
Reference
Matou/idss#1172
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?
Parent
Feature #1073 / spec #1116. Filed from #1168 (deploy-routing) as its named remaining frontier.
What to build
#1168 made the shipped forward-auth ports (community-archive #1145, document-archive #1146, newsletters #1147, whakapapa #1148, video #1149, surveys #1150) and data-collections (Grist #1166) deploy through their REAL render onto a helper (no more phantom, P4-S2 gate lifted). But a helper-placed port has no public front-door route yet: the gateway front door only ever routes the single
filesservice today (attachMemberFilesPlacement/memberFrontDoorLiveSetpass[]clan.LiveService{files}). So a routed port's deploy-time health check — which reaches it through the derived public door (https://<slug>.<apex>, e.g.surveyshealth.go) — has no route to hit and the service stands at the honest S5x ("active — a service failed") until this lands.Wire the gateway front-door PUBLIC ROUTE for helper-placed forward-auth ports so a deployed port goes green (S5), reachable at
<slug>.<apex>exactly asfilesis:AttachPort+ComposeMemberModulesfor a member-device port placement (seeprovision.attachRoutablePort), driveAttachFrontDoorwith the port'sLiveService—MeshTarget = <device-mesh-addr>:<servePort>(each port declares its wt0 serve port:surveysServePort=8083,videoServePort=9000,archiveServePort=8086,dataCollectionsServePort=8087,paperlessServePort=28981, whakapapa/newsletters likewise),ExemptPaths= the port's exported<Port>ExemptPaths(ADR 0074).AttachFrontDoorwhole-rewritesfront-door.nixfrom the passedServices, so a single-service call would DROP every other route. The route set must be the fleet-wide union of every routable deployed service (files on its node + every port on every helper) with each one's correct mesh target — assembled from fleet state + a per-slug (servePort, exemptPaths) lookup the clan package exposes. ReproducememberFrontDoorLiveSet's identity-path / mesh / kanidm facts (the #557/#529 stale-flag class) so the whole-rewrite reverts nothing.memberFilesGateway/selectionTouchesFiles/placementApplyNodesbeyond files to any routable port.X-Idss-Identityon a header-trusting service's exempt paths — data-collections is the first to make it matter; keep that green when the route lands.Acceptance criteria
<slug>.<apex>front-door route to its mesh serve port on deploy, and its public-door health check now PASSES → S5 active (not S5x)X-Idss-Identityis stripped inbound on the exempt paths of a header-trusting port once its route is public (#1167 stays green)Blocked by
None — #1168 landed the render routing this builds the public reachability on top of.
swarm-claim host=elitebook-distributed-server-03 run=16667
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1172 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope