mirror of
https://github.com/block/buzz.git
synced 2026-11-08 02:11:36 +00:00
Capture channel and huddle generation before dialing and carry that identity into disconnect recovery. Cancel pending recovery on leave, reset or a new huddle; keep transcription generations independent. Bound each complete dial to ten seconds and the remaining sixty-second recovery window, including backoff. Preserve stale/cancelled returned-socket fences. Unify encoder, sender, receiver and cancellation exits in one supervisor. Close the queue, abort all children, join only still-unjoined handles, then clear this connection's remote-human floor. Scope remote ownership by socket so old cleanup cannot erase a replacement or the local microphone floor. Log non-cancellation sibling JoinErrors during teardown. Retain checked roster parsing after publisher deferral. Add production-bound regressions for hung dials, cancellation boundaries, stale callbacks, task panics, joined child destruction and replacement-order cleanup; deliberate mutations demonstrate the guards fail closed. Keep routing behavior unchanged. Co-authored-by: Meli <5aaa86bce934fc3445fc254aab560a40923f10252f92107e665073dede0e04d3@buzz.block.builderlab.xyz> Signed-off-by: Meli <5aaa86bce934fc3445fc254aab560a40923f10252f92107e665073dede0e04d3@buzz.block.builderlab.xyz>