Repository navigation
rc.54: pin the relay image to 0.8.0-rc.54 - #261
Merged
Merged
Conversation
added 8 commits
November 10, 2026 22:02
The zap ranking cache refreshes in the background, so its totals can change with no new commit; the stats publisher now also rebuilds when they differ from the last ones it published.
nmilat closes events and done together on EOSE; selecting on done could return before the kind 0 still buffered in events was read.
A browser stopping its camera only detaches the track, so to everyone
else the picture just stops -- indistinguishable from packet loss. A
hang-up and a dropped connection looked the same too. Clients had to
guess from silence, and showed "Reconnecting" for both.
Clients now say what they mean over signalling, and the relay fans it
out at once:
- client -> {"type":"media","kind":"mic|camera|screen","state":"live|off"}
is relayed to the room with the publisher's pubkey and a per-session
seq, and each peer's media is listed on "joined" for late joiners.
- client -> {"type":"leave"} before hanging up; "left" now carries
reason leave, evicted or dropped.
- "joined" lists features so a client can tell this relay from an
older one. Everything is additive; no protocol version bump.
This also fixes WebRTC peers never receiving room control at all: the
SFU built its RTP sink without OnControl, so other peers' joined/left
were discarded for browsers, and membership eviction never closed an
RTC session. Control is queued without blocking the room lock and
written behind the peer's own "joined".
Covered by unit tests in huddle/sfu and four new docker scenarios
(StoppedCameraIsAnnounced, MicStateRoundTrip, LeaveVersusDrop,
LateJoinerSeesMediaState).
naliyi
marked this pull request as ready for review
November 10, 2026 23:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked: merge #258, #260, #253 (after its branch is replaced with the cleaned commits, see #253), then this; only the pin commit is new here.
Test plan
NCLI_RELEASE_VERSION=0.8.0-rc.54 go test ./deploy/go vet ./...,go test -short -race ./..., climatrixTestRelayStatsEvent/TestIndexLifecycle_KilledMidRebuildResumesx2