devbox/internal/hub
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
..
blobstore round5-hub: fsck (at-rest blob integrity) + share ls 2026-06-30 15:28:02 -05:00
dashboard feat(hub): gc --dry-run, dashboard token auth, /healthz + /readyz 🛡️🧹 2026-06-30 12:14:54 -05:00
meta feat(hub): fsck also detects dangling snapshots (manifest refs a missing blob) 2026-06-30 16:25:06 -05:00
audit_test.go feat(M8a): adversarial auth audit — close +s escalation + add invite revocation 🛡️ 2026-06-23 20:27:12 -05:00
blob_traversal_test.go chore: prep for public release — MIT license + github.com module path 🌍⚖️ 2026-06-23 19:19:09 -05:00
events.go perf(hub): drop SSE streams on shutdown so redeploys don't eat the 10s drain 🛑⚡ 2026-06-30 17:57:55 -05:00
events_test.go perf(hub): drop SSE streams on shutdown so redeploys don't eat the 10s drain 🛑⚡ 2026-06-30 17:57:55 -05:00
join_pop_test.go chore: prep for public release — MIT license + github.com module path 🌍⚖️ 2026-06-23 19:19:09 -05:00
limits_test.go chore: prep for public release — MIT license + github.com module path 🌍⚖️ 2026-06-23 19:19:09 -05:00
server.go fix(hub): derive push chunk set from the manifest, not client-supplied req.Chunks 2026-06-30 15:28:02 -05:00
server_test.go fix(hub): derive push chunk set from the manifest, not client-supplied req.Chunks 2026-06-30 15:28:02 -05:00
sharename.go fix(M7): review fixes — pidfile O_EXCL, publish race, backoff reset 🐛 2026-06-23 01:37:58 -05:00
sharename_test.go fix(M7): review fixes — pidfile O_EXCL, publish race, backoff reset 🐛 2026-06-23 01:37:58 -05:00