devbox/internal
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
..
chunk feat(device): --json output, streaming chunker, pause --for, per-mount exclude, rescan knob ✨ 2026-06-30 12:29:02 -05:00
config feat(cli): doctor --json, conflicts --rm, status sync-age, opt-in default ignores 🧰🙈 2026-06-30 13:26:24 -05:00
control round4-client: surface last sync error per mount in status 2026-06-30 14:23:42 -05:00
daemon round4-client: surface last sync error per mount in status 2026-06-30 14:23:42 -05:00
hooks refactor(M7): cmp.Or for editor env, share hooks.Executable (ponytail) ♻️ 2026-06-23 01:32:22 -05:00
hub perf(hub): drop SSE streams on shutdown so redeploys don't eat the 10s drain 🛑⚡ 2026-06-30 17:57:55 -05:00
identity feat(M2): wire protocol foundation 🔌 2026-06-22 23:30:01 -05:00
ignore feat(cli): doctor --json, conflicts --rm, status sync-age, opt-in default ignores 🧰🙈 2026-06-30 13:26:24 -05:00
manifest feat(device): --json output, streaming chunker, pause --for, per-mount exclude, rescan knob ✨ 2026-06-30 12:29:02 -05:00
secret chore: prep for public release — MIT license + github.com module path 🌍⚖️ 2026-06-23 19:19:09 -05:00
syncer feat(transfer): harden the WAN sync path — timeouts, retry, parallel I/O, download gzip 🌐⚡ 2026-06-30 13:15:17 -05:00
transport fix(transport): SSE Events reuses c.hc so a hung connect can't wedge the daemon 🔌 2026-06-30 17:27:00 -05:00
watch fix: foundation hardening from review pass 🛡️ 2026-06-22 23:24:55 -05:00