devbox/cmd
shoemoney 73c3f309a5
Some checks are pending
CI / vet-build-test (push) Waiting to run
perf(hub): drop SSE streams on shutdown so redeploys don't eat the 10s drain 🛑⚡
Every connected client daemon holds a long-lived /v1/events SSE stream, and
http.Server.Shutdown waits for connections to go idle — which these never do —
so a graceful shutdown always burned the full 10s drain timeout (felt on every
hub redeploy with clients connected). RegisterOnShutdown now signals the broker
to return every active /v1/events handler, so shutdown completes near-instantly.

Test: TestCloseEventStreams (live stream returns promptly after the hook).
Round 8 was 0 GO — the codebase is mined out; this is the reversed no-go.
2026-06-30 17:57:55 -05:00
..
devbox round6-client: restore HTTP_PROXY support (transport regression) + status flags daemon-not-running 2026-06-30 16:25:06 -05:00
devbox-hub perf(hub): drop SSE streams on shutdown so redeploys don't eat the 10s drain 🛑⚡ 2026-06-30 17:57:55 -05:00