CI twin for PR #26 (r2)
Closed
UA
3mo ago+537+537+012345678901234567890123456789-14-14-01234567890123456789
Twin at e9cdca5 post-#23 rebase (mergeable verified).
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.
Summary by cubic
Introduce a control-plane route census to enumerate live consumers per module or daemon-wide. Previously there was no way to inspect route ownership; now supervisor.routes reports consumer identity, age, and draining state without contacting modules, making restarts safer.
- Add
supervisor.routestosubc-controlrequests and responses. Responses include modules with routes, each route’s consumer (reserved { module_id }ordirect { connection_id }),age_ms, anddraining. - Retain
principalandbound_aton each route binding insubc-coreforwarding; implementroute_censusandendpoint_routesthat read under a single table lock. - Extend the operator CLI with
ck routes [<module-id>], with--jsonsupport. - Update golden tests and thin-core op catalogs; add coverage for draining census and consumer classification.
- Version bumps:
subc-controlto0.3.0,subc-coreto0.5.0. - Migration: clients depending on
subc-controlmust bump to0.3and update exhaustiveClientControlRequest/ClientControlResponsematches to handleSupervisorRoutes.