Repository navigation
transport: an unanswered hello goes again after 1 s; the goodbye goes three times - #103
Merged
Merged
Conversation
lucas-romanenko
force-pushed
the
transport/commands-too-big
branch
from
November 23, 2026 22:59
ee368d6 to
ef0d5e8
Compare
lucas-romanenko
force-pushed
the
transport/hello-retry
branch
2 times, most recently
from
November 24, 2026 18:19
d854a9a to
fa96b56
Compare
lucas-romanenko
force-pushed
the
transport/commands-too-big
branch
from
November 24, 2026 18:19
ef0d5e8 to
8ce437f
Compare
It gave every session the same id (a mask on an odd number), so a client that re-handshook got a session with its old id and rightly dropped its packets as the old session's. The units number sessions upward. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… three times The hello went only on the silence tick, every 5 s: a hello or its answer lost cost 5 s, and after a pulled cable or a reboot the session came back up to 5 s after the switcher could answer. Now it goes again after HELLO_RETRY (1 s), then every HELLO_RETRY_MAX (2 s). An 8 s cut: back after 8.5 s instead of 10.0 (15.2 once at 5 % loss). The goodbye was one datagram, and one lost left the session on the switcher until it reaped it (1 in 3 of five connect/disconnects at 5 % loss); it now goes GOODBYES (3) times. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WebATEM #63's link: 80 ms, datagrams over 1,280 bytes (IP) dropped towards the switcher, and the switcher sending every 0.5 s instead of a Constellation's 40 ms (the fake's tick, now a setting). bmdwire 1.14.8 never finished a still upload over it (#100). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lucas-romanenko
force-pushed
the
transport/hello-retry
branch
from
November 24, 2026 18:25
fa96b56 to
53bdf1d
Compare
lucas-romanenko
changed the base branch from
transport/commands-too-big
to
main
November 24, 2026 18:44
This was referenced Nov 24, 2026
Merged
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.
Stacked on #102. Merge the stack below first.
What. An unanswered hello goes again after
HELLO_RETRY(1 s), then everyHELLO_RETRY_MAX(2 s). It is the same hello, and the silence window is not moved. The goodbye now goesGOODBYES(3) times. The fake switcher in the matrix also gets a fix: it gave every session the same id.Why. The hello went only on the silence tick, every 5 s. A lost hello or a lost answer on a lossy link cost 5 s, and two in a row failed a connect. After a pulled cable or a reboot, the session came back up to 5 s after the switcher could answer. The goodbye was one datagram, and one lost left the session on the switcher until it reaped it, which takes one of its five sessions.
Before / after (network matrix, 3 runs, seconds):
Tests.
test_hello_again.pyhas 4 tests; the hello-again and three-goodbyes tests fail with the change taken out. The existing goodbye-count assertions now useGOODBYES. Full suite: 1916 passed.SURFACE §5.4 item 69.
🤖 Generated with Claude Code