Repository navigation
fix(networking): tolerate UDP probe startup races - #3
Merged
Zendevve merged 2 commits intoAug 24, 2026
Merged
Conversation
This was referenced Aug 24, 2026
ovasylenko
force-pushed
the
feat/two-node-lan-match-runner-opencade
branch
from
August 24, 2026 01:14
d7b37e4 to
003bea5
Compare
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
ConnectionRefusedandConnectionResetas one typed, retryable peer-startup conditionWSAECONNRESETbehavior already merged inda5c6e5without relying on OS error-message stringsstd::io::ErrorKindvariantsWhy
The LAN runner is already merged into
OpenCade:main. A Linux CI run then exposedECONNREFUSEDwhen one connected UDP process sent before the other process bound its port. Stress testing also exposed an occasional frame-59 timeout when a shared runner delayed one process beyond the original 250 ms completion grace.These errors represent transient ICMP feedback during peer startup, not permanent transport failure. Other UDP errors remain fatal, and the normal match deadline remains bounded.
Validation
da5c6e5Scope
The functional change is limited to
packages/networking/src/lib.rsandpackages/networking/src/probe.rs. The remaining changed files are mechanical formatting ofcommitted generated protocol bindings required by the existing CI drift gate.
OpenFight carries the equivalent fix in ovasylenko#2.