Repository navigation
Conversation
Contributor
[Medium impact] Safe to merge within the reviewed scope; local-transport checks confirmed matching-response selection and preservation of the existing event limit. Summary
Reviews (1) · Last reviewed commit: "fix: wait for matching history response" · Reviewed by Greptile |
Contributor
Author
|
Hi, following up on this fix for a swarm status event arriving before the requested history response. The PR includes a transport regression test for the interleaved events. Is there anything else needed to help review it? Thanks! |
xenking
added a commit
to xenking/jcode
that referenced
this pull request
Nov 22, 2026
Port 1jehuang#2007. Co-authored-by: Aafimalek <[email protected]>
xenking
added a commit
to xenking/jcode
that referenced
this pull request
Nov 22, 2026
Upstream-PR: 1jehuang#1357 Upstream-PR-Commit: 1jehuang#1357 0da5e81 Upstream-PR: 1jehuang#1362 Upstream-PR-Commit: 1jehuang#1362 5962058 Upstream-PR: 1jehuang#1486 Upstream-PR-Commit: 1jehuang#1486 fadc624 Upstream-PR: 1jehuang#1733 Upstream-PR-Commit: 1jehuang#1733 01f3415 Upstream-PR: 1jehuang#1750 Upstream-PR-Commit: 1jehuang#1750 1ac0c82 Upstream-PR: 1jehuang#1822 Upstream-PR-Commit: 1jehuang#1822 73f85fc Upstream-PR: 1jehuang#1912 Upstream-PR-Commit: 1jehuang#1912 36d7682 Upstream-PR: 1jehuang#1978 Upstream-PR-Commit: 1jehuang#1978 0f55643 Upstream-PR: 1jehuang#2007 Upstream-PR-Commit: 1jehuang#2007 638f87c Upstream-PR: 1jehuang#2213 Upstream-PR-Commit: 1jehuang#2213 c5e1487 Upstream-PR: 1jehuang#2234 Upstream-PR-Commit: 1jehuang#2234 0d4d5d4 Upstream-PR: 1jehuang#2266 Upstream-PR-Commit: 1jehuang#2266 217ddc2 Upstream-PR: 1jehuang#2267 Upstream-PR-Commit: 1jehuang#2267 e98c40b
This branch has not been deployed
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.
Closes #731
A swarm status broadcast can arrive before the reply to
GetHistory, causing the client to return that broadcast instead of the requested history. Wait for a matching history or error response within the existing ten-event limit.The regression test exercises the real local transport with an interleaved swarm status, a stale history response, the matching history, and a matching error. It failed before the change with
unexpected response: SwarmStatusand passed afterward on Windows.Validation:
cargo test -p jcode-app-core --lib history_request_ignores_interleaved_status --locked;cargo fmt --all --check.