Repository navigation
quest: drop refresh_joins_coalesce_upstream, fixed by #9510 - #9542
Merged
Merged
Conversation
Quest-Claim: 5bd9e8cb83927c99
The flake was the join tick moving between joins, so each join asked upstream again. #9510 stopped sending an update that restates what is live; reverting that guard alone fails the test deterministically. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
kixelated
marked this pull request as ready for review
November 24, 2026 19:30
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 1 minute. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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.
Finishes quest/m0/test-flakes-3/refresh-joins-coalesce.md by deleting it: the flake it describes is already fixed on
mainby moq-dev/moq#9510.Summary
The quest's suspect was right in effect but not a test bug: the process-wide
JOIN_TICKmoving between two joins made each join's probe look new, so the subscriber sent a SUBSCRIBE_UPDATE per join instead of coalescing ([1, 1, ...]instead of[1]). In production many tracks answer joins concurrently, so it was a code bug. #9510 stopped sending an update that restates what is live, and its test now steps the tick between every join withanswer_elsewhere(), so the test no longer depends on other tests' ticks. The quest was re-filed (#9528) from a measurement taken on 2026-11-23, before #9510 landed (2026-11-24); #9510 had already deleted the earlier quest for the same[1, 1]failure.Dropped: no code change; this PR only deletes the stale quest.
Public API
None. No wire change.
Validation
rs/moq-net/src/lite/subscriber.rs(test untouched):refresh_joins_coalesce_upstreamfails every time withleft: [1, 1, 1, 1, 1, 1, 1, 1] right: [1]. Restored; it passes. That is the mechanism the quest named, reproduced on demand.answer_elsewhere()in a loop beside it (3000 runs), and 0 to 3 extra ticks injected at each of 4 points per join (16 combinations). No failures.cargo test --lib --features async(14 runs, 8 of them--all-featureswithKIO_DENY_HOST_TIMERS=1),cargo nextest run -p moq-net -p moq-relay -p moq-net-tests(4 runs),cargo test -p moq-net -p moq-relay -p moq-net-tests(6 runs), and 5 full lib runs beside 48 busy loops: the test never failed. Unrelated:moq-relayhandoff::a_new_relay_takes_over_while_the_old_one_drainsfailed once in one of those runs.quest check --base origin/main: 510 documents ok.Models
Size: S
Implementer: Claude Code, claude-sonnet-5-5, unknown effort
Review
Rewritten by
quest reviewafter each round.The change only deletes one quest plan file (quest/m0/test-flakes-3/refresh-joins-coalesce.md), which nothing a consumer or peer relies on reads, and a revert restores it fully, so nothing user-facing or deployed can break.a45ef401-55a3-402c-8e8c-d3fc0dd6cb5b