Skip to content

chore(quest): finish aac-resume-stall, which no longer reproduces on main - #9754

Merged
kixelated merged 4 commits into
mainfrom
quest/m0/aac-resume-stall
Nov 27, 2026
Merged

kixelated merged 4 commits into
mainfrom
quest/m0/aac-resume-stall

Conversation

@kixelated

@kixelated kixelated commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Finishes quest/m0/aac-resume-stall.md.

Problem

Scheduled Interop run 45469603959 (at d9d917a) failed rust -> js on waiting for resumed playback: after resume, the mp4a rendition's audio never reached the decode loop. The quest was waiting on a recurrence.

Approach

Reproduced on current main (83e10f0) first. It does not reproduce, so this PR finishes the quest without code changes.

  • Scheduled Interop since the failure: 45675453343 (420b8dc) and 45873739689 (b509328) both passed rust -> js (0 waiting for resumed playback). Both runs failed other steps.
  • Locally, 300 of 300 focused runs passed on 83e10f0, which includes moq-dev/moq#9553 (AAC frameLengthFlag) and moq-dev/moq#9561 (100 ms audio groups). Each run: one relay, a fresh moq import fmp4 publisher (H.264 plus Opus and AAC, as interop.sh builds it), then bun driver.ts subscribe --codecs opus,mp4a (play, check tones, pause, resume, per rendition).
Batch Runs Passed Switch inside the mp4a page's window
plain 60 60 0
forced WebSocket-then-WebTransport switch (MOQ_CONNECT_WEBSOCKET_DELAY=0) 100 100 20
same, pinned to 4 CPUs (taskset -c 0-3) 60 60 13
same, publisher aged 1.5 s to aim the switch at the mp4a page 80 80 19

The window count comes from the relay log: the publisher's second announce falls between the relay's first and last 2.mp4-a downstream subscription event for that broadcast, the failing run's shape. 52 runs hit it and passed.

The diagnostics from moq-dev/moq#9664 (audioBuffered, audioError, catalog delay/jitter, the relay's per-subscription request log) stay in place, so a recurrence prints what decides it and the nightly triage can reopen it as a new quest.

Impact

  • Public API: none. Wire: none. Quest files only.

Alternatives

  • Keep waiting until two weeks of scheduled runs pass (the 2026-11-26 decision). See Decisions.

Follow-ups

Decisions

  • 2026-11-27 (taken unattended, per the session brief): finish the quest now instead of waiting out the two weeks of scheduled runs the 2026-11-26 maintainer decision set. The brief is newer and asks to finish the quest if the stall no longer reproduces on main. Trade-off: the stall never reproduced locally even at the failing head (0 of 271 in moq-dev/moq#9664), so 300 passing runs here bound its rate rather than prove a fix, and only 2 of the 14 planned scheduled runs have passed. Since the diagnostics stay and nightly triage files any recurrence, keeping a quest open only to watch adds nothing.

Overlap

  • moq-dev/moq#9744 landed first: it added a note to this quest (a live fMP4 import republishes its catalog as estimates settle, which explains the repeated catalogs the failing run saw) and deleted vr-catalog-rebuild.md, the only quest linking here. The merge of main resolves both as deleted.

Validation

  • just test interop --publishers rust --subscribers js: passed.
  • Focused loop above: 300 of 300 passed (script kept in .tmp, not committed).
  • quest check: 563 documents ok. just ci: passed after merging main.

Models

Size: M
Implementer: Claude Code, claude-opus-5-5, unknown (arm A)

🤖 Generated with Claude Code

(Written by Claude Opus 5.5)

Review

Rewritten by quest review after each round.

  • Head: 94b8153
  • Base: origin/main at f2fbc60
  • Risk: low, Deletes one quest plan file (quest/m0/aac-resume-stall.md); if wrong, only the tracking note for a flaky-test investigation is lost, nothing shipped or consumed by users, and a revert fully restores it.
  • Classified: low by Claude Code, claude-haiku-5-5, low effort, session 23778986-849c-48e2-b725-f737743bc743
  • Class: quest
  • Risk file: bb7b1c0de60b
  • Local review: none, since the head is low risk

kixelated and others added 2 commits November 27, 2026 01:42
…main

300 focused rust -> js resume runs on 83e10f0 passed, 52 of them with
the publisher's WebSocket-to-WebTransport switch inside the mp4a page's
window, and the two scheduled Interop runs since the failure passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title The JS player resumes AAC audio from a Rust publisher chore(quest): finish aac-resume-stall, which no longer reproduces on main Nov 27, 2026
kixelated and others added 2 commits November 27, 2026 03:22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	quest/m0/aac-resume-stall.md
#	quest/m0/interop-green/vr-catalog-rebuild.md
@kixelated
kixelated marked this pull request as ready for review November 27, 2026 11:25
@coderabbitai

coderabbitai Bot commented Nov 27, 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 4 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: e6d62d01-a7b0-43c7-9a54-d37b1dbfe2fa
Commits

Reviewing files that changed from the base of the PR and between f2fbc60 and 94b8153.

Files selected for processing: 1

  • quest/m0/aac-resume-stall.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 27, 2026
Merged via the queue into main with commit 930e062 Nov 27, 2026
7 checks passed
@kixelated
kixelated deleted the quest/m0/aac-resume-stall branch November 27, 2026 12: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