Repository navigation
Closed
Description
Parent: Deliver Galactic Worker with Local and Fabric delivery for tenant services
Deliverable
A Fabric module for remote endpoints and shards, with independent forward and return readiness, built on the existing SRv6 and routing contracts. It satisfies the Fabric half of the "Local and Fabric resolve mixed destinations correctly" phase exit.
References:
- Encapsulator:
internal/plumbing/ebpf/prog/usid.c(usid_egress,usid_ingress, mapslocator_table,egress_route_table,vrf_table). - Attach and kernel routes:
internal/plumbing/ebpf/attach(AttachEgress) andinternal/plumbing/srv6/egress.go(RouteEgressAdd,EgressDefaultRouteAdd). - Locators:
internal/cloud/fabricidentity(Claim) andinternal/plumbing/ebpf/usidmap/locator.go. - Tenant routing stays in galactic-router (
internal/runtime/gobgp) and underlay routing in FRR (cmd/fabric-config-agent,cmd/fabric-router-controller).
Work items
- Map a resolved remote SID and tenant context to the existing encapsulator and a next hop of the right address family. Use current route, interface and neighbor state. Keep decapsulation at the destination into the correct tenant table. Assign responsibility for route updates and withdrawal.
- Route off-host resolution through the same Worker contract. Track route changes and neighbor loss per destination. Preserve dedicated placement. Keep a miss on the node's own locator pending locally, and prevent routing loops and cross-VPC fallback.
Dependencies
Blocked by #1431, #1433 and #1434. Remote fixtures can be prepared on #1432 before then.
Acceptance
In the #1432 two-worker topology:
- Captures show the outer SID and underlay egress, inner delivery on the correct TAP, policy enforcement and the return path.
- After reachability is withdrawn and restored, readiness changes only for the affected destinations and then recovers.
- With local and remote destinations active at once, unrelated VPCs keep passing traffic.
- The existing lab checks
verify:srv6andverify:evpnstill pass, as do privileged unit tests undertask test:unit-root. - The delivering PR targets
integration/galactic-worker, carries this evidence and saysFixes datum-cloud/galactic#1436. GitHub does not auto-close from a non-default base, so close this issue explicitly when the PR merges and record the PR and merged SHA.
Activity
privateip commentedon Nov 19, 2026
Triage and approved plan
Verdict: valid. On
integration/galactic-workerat a639f63, Worker registers no delivery module (cmd/galactic-worker/root.go,modules()returns nil), sofabric.srv6reportsModuleNotRunning. #1431, #1433 and #1434 have merged.Approach
internal/worker/fabric. A Worker delivery module forMODE_FABRIC. It owns theegress_route_tablerows in each VPC scope Worker owns, writing them inside the scope's fence commit.egressroutemapresolution, which requires an SRv6 uplink and refuses a match on only a default route. Decapsulation at the destination is unchanged.galactic.worker.v1alpha1.Routes/SyncRPC on the Worker socket. The RPC sits behind a new allowlisted capability,fabric.routes, granted only to the galactic-router ServiceAccount. For a scope Worker does not own, the router writes withownership.Exclusive(transfer step 1). Its existingpendingretry covers Worker downtime. The installer'sRefreshsweep and repair fill refuse Worker-owned scopes.forward_readyandreturn_ready;Readyrequires both. These are additiveDestinationStatusfields.VPCAttachment.specaddresses, and the underlay route and next-hop neighbor are usable.vrf_tablerows decapsulate into the VPC's table, and the handoff attachment's advertisement exists.ForwardRouteMissing,RouteWithdrawn,UnderlayUnreachable,NeighborUnresolved,ReturnPathNotProgrammed,RouteMismatchandDestinationAddressUnknown. A guest that manages its own addressing reportsDestinationAddressUnknown.Tests
Risk
privateip commentedon Nov 19, 2026
Delivered by #1453, merged into
integration/galactic-workeras ee75981.The lab evidence and every check are in #1453 (comment). Claim readiness across two workers is not shown in the lab, because the fixture's workers are in different clusters. Unit and real-kernel tests cover it, and that gap is tracked separately.
feat(worker): Implement Worker reconciliation and its service
feat(worker): Implement Worker reconciliation and its service
feat(worker): Implement Worker reconciliation and its service