Repository navigation
Validate asynchronous resolver and peer recovery ordering - #12
Merged
Merged
Conversation
This was referenced Nov 7, 2026
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.
The collection CI exposed timing assumptions in two tests. A WASIp3 localhost lookup can finish during the first
poll_one(), before cancellation or context destruction. A Trystero peer can report its own recovery before the other side completes the handshake. Both valid orderings previously produced false failures.Update Asio to distinguish already delivered results from pending operations, with a deterministic immediate-result regression and the existing pending cancellation, shutdown and allocation controls. Update the Trystero relay-fault setup to require fresh, currently joined peers on both sides within the unchanged deadline, followed by the existing fresh round trip. A controlled one-way handshake delay exercises the previous failure on both backends. Production library headers, Boost and SDK code are unchanged.
Local validation reproduced each test failure before correction. Resolver validation passed 20 executions across WASIp2/P3, exception modes and cooperative threads, 11 affected clang-tidy profiles and strict documentation. Fresh full interoperability suites passed 26 browser and 30 native scenarios. Changed-file checks and independent reviews passed. Asio's own remote run passed all 29 XML lanes. The final collection run 42427424028 passed all 133 audited XML lanes, lint, tool tests, documentation and site assembly.
The separate native two-room OperationError from run 42414092998 remains under investigation. Trystero fixtures now retain RTCError fields while preserving fatal console errors; the diagnostics and passing local repeats are not claimed as a fix. On 2026-11-08 the owner explicitly approved merging and publishing this green candidate with that investigation still open. The intermittent error is not claimed as fixed.
Library changes: webcpporg/asio#2 and webcpporg/trystero#3.