Skip to content

quest: drop refresh_joins_coalesce_upstream, fixed by #9510 - #9542

Merged
kixelated merged 2 commits into
mainfrom
quest/m0/test-flakes-3/refresh-joins-coalesce
Nov 24, 2026
Merged

kixelated merged 2 commits into
mainfrom
quest/m0/test-flakes-3/refresh-joins-coalesce

Conversation

@kixelated

@kixelated kixelated commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Finishes quest/m0/test-flakes-3/refresh-joins-coalesce.md by deleting it: the flake it describes is already fixed on main by moq-dev/moq#9510.

Summary

The quest's suspect was right in effect but not a test bug: the process-wide JOIN_TICK moving 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 with answer_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

  • Reverted only fix(net): a SUBSCRIBE_UPDATE restating what is live is not sent #9510's guard in rs/moq-net/src/lite/subscriber.rs (test untouched): refresh_joins_coalesce_upstream fails every time with left: [1, 1, 1, 1, 1, 1, 1, 1] right: [1]. Restored; it passes. That is the mechanism the quest named, reproduced on demand.
  • Tried to break the fixed test with foreign ticks: a thread calling 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.
  • 9600 isolated runs (64 parallel by 150) of the test binary: 0 failures.
  • Full cargo test --lib --features async (14 runs, 8 of them --all-features with KIO_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-relay handoff::a_new_relay_takes_over_while_the_old_one_drains failed once in one of those runs.
  • Not run: the wild/mold linked builds from the report (no clang on this host); the quest judged the linker split timing noise.
  • quest check --base origin/main: 510 documents ok.

Models

Size: S
Implementer: Claude Code, claude-sonnet-5-5, unknown effort

Review

Rewritten by quest review after each round.

  • Head: bce3863
  • Base: origin/main at 43702a4
  • Risk: low, 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.
  • Classified: low by Claude Code, claude-haiku-5-5, low effort, session a45ef401-55a3-402c-8e8c-d3fc0dd6cb5b
  • Local review: none, since a low-risk head needs only the online reviewer

kixelated and others added 2 commits November 24, 2026 09:02
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 kixelated changed the title refresh_joins_coalesce_upstream passes in parallel runs quest: drop refresh_joins_coalesce_upstream, fixed by #9510 Nov 24, 2026
@kixelated
kixelated marked this pull request as ready for review November 24, 2026 19:30
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 473f91a8-df15-49cf-987d-8e99482e583c
Commits

Reviewing files that changed from the base of the PR and between cc50db3 and bce3863.

Files selected for processing: 1

  • quest/m0/test-flakes-3/refresh-joins-coalesce.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@kixelated
kixelated added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 920fb36 Nov 24, 2026
9 checks passed
@kixelated
kixelated deleted the quest/m0/test-flakes-3/refresh-joins-coalesce branch November 24, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant