perf(client-runtime): halve server config bootstrap traffic (#8367)

Reuse one server config subscription for session bootstrap and live updates.

Preserve environment theme opt-in, replay, deletion, slow subscriber recovery, and config stream failure handling.

Co-authored-by: Adamulek123 <[email protected]>
This commit is contained in:
Adamulek123 authored and GitHub committed 2026-09-01 04:23:50 -07:00
1 parent e86604d337
commit b883fc066e
20 files changed
+1053 -151

No files matched your search

@@ -50,6 +50,7 @@ function session(client: WsRpcProtocolClient): RpcSession {
return {
client,
initialConfig: Effect.never,
subscribeServerConfig: (input) => client.subscribeServerConfig(input),
ready: Effect.void,
probe: Effect.void,
closed: Effect.never,