Expand description
Broker serve-mode wiring for registered and launch-backed backends.
Phase 4 grows the long-lived daemon incrementally. This module connects the existing service-definition loader, broker instance routing, backend registry, backend launch coordination, and framed local-socket accept loop. Tests can still request bounded runs while the CLI defaults to accepting until process exit.
Structs§
- Broker
Launch Serve Config - Configuration for serve mode that launches backends on Hello miss.
- Broker
Serve Config - Configuration for a bounded broker serve-mode run.
Enums§
- Broker
Serve Error - Errors raised while wiring or serving the bounded broker.
Functions§
- build_
hello_ handler - Build a Hello handler from one service definition and backend endpoint.
- serve_
launching_ backends - Serve a bounded number of broker Hello connections, launching backends on verified registry misses.
- serve_
launching_ backends_ with_ launcher - Testable launch-backed serve mode with an injected launcher.
- serve_
registered_ backend - Serve a bounded number of broker Hello connections.