Skip to content

chore(quest): delete the rejoin-replay quest; both steps pass on main - #9620

Merged
moq-bot[bot] merged 9 commits into
mainfrom
quest/m0/interop-green/rejoin-replay
Nov 26, 2026
Merged

moq-bot[bot] merged 9 commits into
mainfrom
quest/m0/interop-green/rejoin-replay

Conversation

@kixelated

@kixelated kixelated commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Finishes quest/m0/interop-green/rejoin-replay.md by deleting it.

Summary

The quest's relay fix is dropped and the quest deleted, because both steps it targeted already pass on main:

  • quest/m0/interop-green/rejoin-replay.md is deleted, and the interop-green epic's README records why.
  • The relay change (a lite-06 copy's rejoin asking upstream for the reader's own live join) and its test are reverted, so this PR changes no code.
  • The measurement also showed that a lite-06 cold join replays about 2 s of retained audio and the player skips through it. Per the decision below, that waits for lite-07 and gets no quest.

Why: on ARM, with 12 full Firefox runs per variant (run 45699517110), main passed rejoin reaches live and reattach reaches live in all 12 runs (11/12 overall; the one failure was sampling: audio sample-rate change). With the fix, only 1/12 passed overall: replaying the ~2 s retention the rejoin now asked for made the player skip groups and fall behind. The 5/24 failures the quest recorded don't reproduce on current main, which includes moq-dev/moq#9572. The fix would have made a lingering copy's rejoin ask what a cold join asks, but that mismatch exists only on lite-06, and it goes away once players speak lite-07, whose joins state their lag (live(min 130ms, max 2130ms)).

Public API: none. Wire: none.

Decisions

  • Fate of the relay fix (maintainer, 2026-11-26, comment): ✅ drop the relay fix and delete the quest in this PR (rejected: keep the fix and rewrite the quest to first fix the replayed 2 s burst; keep the fix and shrink the lite-06 replay in the encoder).
  • Lite-06 cold-join skip (maintainer, 2026-11-26, comment): ✅ drop the follow-up quest quest/m1/lite06-join-replay-skips.md (rejected: keep it), and ✅ wait for lite-07, whose joins state their lag (rejected: fix it for lite-06).

Validation

  • quest check --base origin/main passes. The diff against main touches only quest/.
  • Measurement: the ARM run above.

Models

Size: M
Implementer: Claude Code, claude-opus-5-5, unknown
Implementer: Claude Code, claude-opus-5-5, unknown (iterate, M)
Implementer: Claude Code, claude-opus-5-5, unknown (iterate, XS)

🤖 Generated with Claude Code

(Written by Claude Opus 5.5)

Review

mechanical fix by claude, claude-opus-5-5, medium effort: merged base; base's aac-resume-stall.md linked the rejoin-replay.md quest this PR deletes, so the link now cites the deleting PR instead; ran just ci base in nix develop (quest, markdown, biome, gh, shell, nix checks pass) (head 8d19904)

Rewritten by quest review after each round.

  • Head: 58716dc
  • Base: origin/main at e3b27b5
  • Risk: low, Could break only the quest planning record: it deletes the rejoin-replay quest plan and edits the interop-green README to point at a deleted child, and no user, package, or peer reads either file. A revert fully undoes it.
  • Classified: low by Claude Code, claude-haiku-5-5, low effort, session 0b6518eb-9dc3-4164-b8b3-2d749e642ed5
  • Class: quest
  • Risk file: bb7b1c0de60b
  • Local review: none, since the head is low risk

kixelated and others added 4 commits November 25, 2026 10:39
… live join

An idle copy resubscribing asked a lite-06 publisher from the newest group it
cached even for a live join, which the publisher decodes as a join placed
there (min 0). A retaining audio encoder sizes its replay by the join's reach,
so it dropped all of its retention and the player rejoined across a gap.
Lite-06 resolves an absent start within the max age, so only pre-06 wires
still need the cached head.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated

Copy link
Copy Markdown
Collaborator Author

Maintainer decision (relayed from the maintainer's /quest-run round, 2026-11-26):

✅ Drop the relay fix and delete quest/m0/interop-green/rejoin-replay.md in this PR (rejected: keep the fix and rewrite the quest to first fix the replayed 2 s burst reaching the player as skipped groups; keep the fix and shrink the lite-06 replay in the encoder). Add a follow-up quest for the cost the trace exposed: a lite-06 cold join replays its whole max age (about 2 s) and the player skips through it. This pick is also the pick to merge it.

(Written by Claude Opus 5.5)

…quest

Both rejoin steps already pass on main; the lite-06 cold-join replay the
measurement exposed is a new m1 quest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title A relay's rejoin keeps the retained audio its player asks for chore(quest): delete the rejoin-replay quest; both steps pass on main Nov 26, 2026
@kixelated

Copy link
Copy Markdown
Collaborator Author

Applied the maintainer's decision in 61f5729: the relay fix and its test are reverted (no code changes remain), quest/m0/interop-green/rejoin-replay.md is deleted with the epic README updated, and the lite-06 cold-join replay is the new follow-up quest/m1/lite06-join-replay-skips.md.

(Written by Claude Opus 5.5)

@kixelated
kixelated marked this pull request as ready for review November 26, 2026 17:35
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

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 27 minutes.

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: 70726f40-5376-4ebf-b7f5-151c47ba99c8
Commits

Reviewing files that changed from the base of the PR and between 61f5729 and 8d19904.

Files selected for processing: 3

  • quest/m0/interop-green/README.md
  • quest/m0/interop-green/aac-resume-stall.md
  • quest/m0/interop-green/rejoin-replay.md

No actionable comments were generated in the recent review.

Walkthrough

The interop quest plan records 12 successful ARM runs after PR #9620 and points to a separate lite-06 cold-join replay quest. The rejoin-replay document was removed. A new planning note describes observed audio replay skips on lite-06 cold joins, proposed investigation steps, and a decision that remains pending.

Merge Risk: Minimal · previous review 61f57

This PR changes planning documents only, with no code or protocol impact. It is safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: deleting the rejoin-replay quest. It also gives the reason, that both steps pass on main. The title uses a conventional commit prefix and is specific. It matches the c…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description is specific and related to the changeset. It states that the quest file quest/m0/interop-green/rejoin-replay.md is deleted, that the relay fix and its test are reverted so no code chan…
Full details: Title check

Explanation

The title names the main change: deleting the rejoin-replay quest. It also gives the reason, that both steps pass on main. The title uses a conventional commit prefix and is specific. It matches the changeset, which deletes the quest, updates the epic README, and reverts the relay fix.

Full details: Description check

Explanation

The description is specific and related to the changeset. It states that the quest file quest/m0/interop-green/rejoin-replay.md is deleted, that the relay fix and its test are reverted so no code changes, and that the epic README records the reason. It cites measurements on ARM Firefox runs, the maintainer decisions, and the follow-up quest quest/m1/lite06-join-replay-skips.md. Public API and wire changes are stated as none. This matches the raw summary of the README edit, the deleted rejoin-replay.md, and the added lite06-join-replay-skips.md.

Finishing Touches

Simplify code

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

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: 42d1f514-5ccd-49f6-b050-80afa6de3e8b
Commits

Reviewing files that changed from the base of the PR and between 420b8dc and 61f5729.

Files selected for processing: 3

  • quest/m0/interop-green/README.md
  • quest/m0/interop-green/rejoin-replay.md
  • quest/m1/lite06-join-replay-skips.md
Files with no reviewable changes: 1

  • quest/m0/interop-green/rejoin-replay.md

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.

@kixelated

Copy link
Copy Markdown
Collaborator Author

Maintainer decision (relayed from the maintainer's /quest-run pick round, 2026-11-26):

  • Follow-up quest/m1/lite06-join-replay-skips.md: ✅ drop it (rejected: keep it). Lite-07 joins state their lag and don't show the skips, so the lite-06 cold-join replay skip is left as is (✅ wait for lite-07; rejected: fix it for lite-06).

Remove the follow-up quest and its mentions from this PR; the deletion pick to merge still stands.

(Written by Claude Opus 5.5)

…te-07

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated
kixelated added this pull request to the merge queue Nov 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 26, 2026
@moq-bot

moq-bot Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

quest land watch: the merge queue removed this pull request at 58716dc because its merge_group build failed (failed_checks).

The land fixer works on it in the background, and the watcher re-enqueues it at the back of the queue once it is fixed or judged flaky, or hands it back here with what it needs.

Queue / Queue build / Build (job) failure at step Check:

…rkflows [128.08ms]

##[endgroup]

 9 pass
 0 fail
 277 expect() calls
Ran 9 tests across 1 file. [146.00ms]
.�[32mNo findings to report. Good job!�[39m (�[1m�[93m33�[39m ignored, �[93m125�[39m suppressed�[0m)
alert.yml watches all 37 alertable workflows
.
----------------------------------------------------------------------
Ran 1 test in 0.153s

OK
......
----------------------------------------------------------------------
Ran 7 tests in 1.502s

OK
.
----------------------------------------------------------------------
Ran 1 test in 4.284s

OK
error: recipe `check` was terminated by signal 15
##[endgroup]
##[error]ci: check quest failed
ci: wall and CPU seconds per module
     4      32  check biome
     5       9  check markdown (cancelled)
     5      14  check gh (cancelled)
     1       2  check quest (failed)
     5      58  whole run
error: recipe `ci` failed on line 121 with exit code 1
##[error]Process completed with exit code 1.
##[group]Run actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
with:
  name: cargo-timings
  path: target/cargo-timings/cargo-timing-*.html
  if-no-files-found: ignore
  retention-days: 14
  compression-level: 6
  overwrite: false
  include-hidden-files: false
  archive: true
env:
  BASE: 61b467714d748bda2e5b3e79141163cfc9f2b193
  CHECK_FAIL_FAST: 1
  NEXTEST_TEST_THREADS: 24
  MBX_CACHE_LINKS: 1
  MBX_REMOTE_URL: 
##[endgroup]
No files were found with the provided path: target/cargo-timings/cargo-timing-*.html. No artifacts will be uploaded.
Post job cleanup.
##[start-action display=Run jdx/mr-boxington-action@88acf2bb50552c7c508cbac13e5f8c576b95b1de;id=__a65290e3-2ff6-49e7-be18-26fbfe6a0648.mbx]
##[end-action id=__a65290e3-2ff6-49e7-be18-26fbfe6a0648.mbx;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git version
git version 2.56.0
Temporarily overriding HOME='/var/cache/github-runner-work/_temp/c2793255-db0f-4b9c-9f64-c87a6f4f2d21' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git config --global --add safe.directory /var/cache/github-runner-work/moq/moq
Removing SSH command configuration
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
A job completed hook has been configured by the self-hosted runner administrator
##[group]Run '/nix/store/ajk9j3ljl36w9dicih57gyvbl3v6m72q-ci-cache-gc.sh/bin/ci-cache-gc.sh'
shell: /nix/store/lfm00fnq66xfgbn099vqckabyl5jllz6-bash-interactive-5.3p20/bin/bash --noprofile --norc -e -o pipefail {0}
##[endgroup]
evicted 0 objects and 0 action results (0 B logical); 50.0 GiB logical remain
evicted 0 objects and 0 action results (0 B logical); 50.0 GiB logical remain
Cleaning up orphan processes

Queue / Queue build / Report Queue (job) failure at step Report the build's result as Queue:

Current runner version: '2.338.2'
Runner name: 'nixos-moq-ci'
Runner group name: 'moq-queue'
Machine name: 'moq-ci'
##[group]GITHUB_TOKEN Permissions
Checks: write
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Uses: moq-dev/moq/.github/workflows/queue-build.yml@refs/heads/main (61b467714d748bda2e5b3e79141163cfc9f2b193)
Complete job name: Queue build / Report Queue
A job started hook has been configured by the self-hosted runner administrator
##[group]Run '/nix/store/ajk9j3ljl36w9dicih57gyvbl3v6m72q-ci-cache-gc.sh/bin/ci-cache-gc.sh'
shell: /nix/store/lfm00fnq66xfgbn099vqckabyl5jllz6-bash-interactive-5.3p20/bin/bash --noprofile --norc -e -o pipefail {0}
##[endgroup]
evicted 0 objects and 0 action results (0 B logical); 50.0 GiB logical remain
evicted 0 objects and 0 action results (0 B logical); 50.0 GiB logical remain
##[group]Run conclusion=failure
�[36;1mconclusion=failure�[0m
�[36;1m[[ "$RESULT" == success ]] && conclusion=success�[0m
�[36;1mgh api "repos/$REPO/check-runs" -f name=Queue -f head_sha="$SHA" -f status=completed -f conclusion="$conclusion" \�[0m
�[36;1m  -f 'output[title]=Queue' -f "output[summary]=The queue build ended $RESULT." --silent�[0m
�[36;1m[[ "$RESULT" == success ]] || { echo "::error::the queue build ended $RESULT" >&2; exit 1; }�[0m
shell: /nix/store/lfm00fnq66xfgbn099vqckabyl5jllz6-bash-interactive-5.3p20/bin/bash -e {0}
env:
  GH_TOKEN: ***
  REPO: moq-dev/moq
  SHA: 5fb58dfc5a7fb5e225564c7cf4f50f58329bbd81
  RESULT: failure
##[endgroup]
##[error]the queue build ended failure
##[error]Process completed with exit code 1.
A job completed hook has been configured by the self-hosted runner administrator
##[group]Run '/nix/store/ajk9j3ljl36w9dicih57gyvbl3v6m72q-ci-cache-gc.sh/bin/ci-cache-gc.sh'
shell: /nix/store/lfm00fnq66xfgbn099vqckabyl5jllz6-bash-interactive-5.3p20/bin/bash --noprofile --norc -e -o pipefail {0}
##[endgroup]
evicted 0 objects and 0 action results (0 B logical); 50.0 GiB logical remain
evicted 0 objects and 0 action results (0 B logical); 50.0 GiB logical remain
Cleaning up orphan processes

Queue / Queue (job) failure:

(GitHub has no log for this job: HTTP 404)

(written by quest land watch)

@moq-bot
moq-bot Bot enabled auto-merge November 26, 2026 17:53
@moq-bot

moq-bot Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

claude, claude-opus-5-5, medium effort land fixer note:

The merge queue's check quest failed: quest/m0/interop-green/aac-resume-stall.md:39: link does not resolve: /quest/m0/interop-green/rejoin-replay.md. The base added that quest after this PR branched, and its Related section links to rejoin-replay.md, which this PR deletes. I merged the base and changed that one bullet from a link to the deleted file into "Rejoin replay, deleted in #9620", keeping its description. This follows how other quests refer to deleted ones. just ci base passes in the dev shell.

(written by claude, claude-opus-5-5, medium effort)

@moq-bot

moq-bot Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

quest land watch: armed auto-merge on this pull request at 8d19904, so it joins the back of the merge queue once its required checks pass, with the land fixer's fix (claude, claude-opus-5-5, medium effort): merged base; base's aac-resume-stall.md linked the rejoin-replay.md quest this PR deletes, so the link now cites the deleting PR instead; ran just ci base in nix develop (quest, markdown, biome, gh, shell, nix checks pass).

(written by quest land watch)

@moq-bot
moq-bot Bot added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 9a1b099 Nov 26, 2026
6 checks passed
@moq-bot
moq-bot Bot deleted the quest/m0/interop-green/rejoin-replay branch November 26, 2026 17:54
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