Files
t3code/apps/server/src
Chukwudi Nwobodo c6dc7c6524 perf: run provider health checks in background, notify clients on ready
The ProviderHealth layer blocked server startup with two sequential CLI
spawns (codex --version + codex login status), each with a 4-second
timeout, delaying startup by up to 8 seconds.

Run health checks in the background via Effect.runPromise so the layer
resolves immediately with a placeholder status. Add an onReady callback
to ProviderHealthShape so wsServer can push the resolved statuses to
connected clients once checks complete, preventing early-connecting
clients from showing "Checking..." indefinitely.
2026-03-08 06:22:26 +00:00
..
2026-03-05 23:40:49 -08:00
2026-03-05 23:40:49 -08:00
2026-03-05 23:40:49 -08:00
fmt
2026-02-14 23:35:48 -08:00
2026-02-26 13:20:36 -08:00
2026-02-26 13:20:36 -08:00
2026-02-26 13:20:36 -08:00