Skip to content

quest: delete firefox-player-lifecycle, whose failures predate 100 ms audio groups - #9809

Merged
kixelated merged 5 commits into
mainfrom
quest/m0/interop-green/firefox-player-lifecycle
Nov 28, 2026
Merged

kixelated merged 5 commits into
mainfrom
quest/m0/interop-green/firefox-player-lifecycle

Conversation

@kixelated

@kixelated kixelated commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Finishes quest/m0/interop-green/firefox-player-lifecycle.md by deleting it.

Problem

The 2026-11-27 Nightly triage found Media (firefox player) failing 6 of 15 runs, at a different lifecycle step almost every time (rejoin reaches live, reattach reaches live, and the tone after a resume, rejoin, or reattach). The quest asked to reproduce this on the ARM runner class with the whole media lane and fix each cause.

Approach

I measured before writing any fix, and found no failure left to fix on main:

  • Every failing run the triage counted (and the 11-28 run since) was at a commit before moq-dev/moq#9561. Most were bisect dispatches at old commits. feat(audio): audio groups span 100 ms by default #9561 grew the JS publisher's audio groups from 20 ms to 100 ms.
  • I ran a temporary workflow on ubuntu-24.04-arm, the Nightly's runner, with 4 full just test media --media-engines firefox runs per job. It is deleted in this PR.
Variant Runs Failed
main (065a4c1), batch 1 (run) 32 0
main, batch 3 (run) 32 0
main with the fixture's audio groups at 20 ms, batch 2 (run) 24 3
main with 20 ms audio groups, batch 3 (same run as main above) 32 7
7297210187, the last failing Nightly commit, batch 2 24 3

In one batch, 0 of 32 against 7 of 32 (Fisher one-sided p of about 0.006). With 20 ms groups, the failures land on the quest's own steps: rejoin reaches live, reattach reaches live, the reattach reaches live resume sync, and the tone after a rejoin, reattach, or resume. The reaches live failures found the 4-vCPU host saturated (idle near 0%, the debug-built relay near a whole core) while the resubscription replayed retained audio, one stream per 20 ms group. The 20 ms variant patches only Container.JOIN, so the group size alone separates the two.

So this PR deletes the quest, records the measurement in the interop-green epic, and replaces the Nightly epic's link to the deleted quest. The epic has no children left, so its README now carries a size ([XS]): its remaining work is waiting for a green scheduled Interop run.

Public API: none. Wire: none.

Impact

  • None. This PR changes only quest/.

Decisions

Validation

  • ARM measurement in the table above. The temporary workflow is deleted in this head.
  • I also ran the lane 4 times on a local x86 host shared with other agents' builds (load average 20 to 90 on 32 threads), on main. All 4 failed, each at a different step outside this quest's list (fallback tone, volume, coded-size sync, cold-start tone), all audio underflows under that outside load. The player is built to underrun rather than add latency (js/watch/AGENTS.md), so this is not the ARM failure and not a player bug.
  • quest check --base origin/main and just check pass.

Alternatives

See Decisions.

Follow-ups

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: 5016273
  • Base: origin/main at 065a4c1
  • Risk: low, The change only edits and deletes quest plans under quest/m0/ (two READMEs and one deleted child plan). Nothing a consumer, peer, or release reads changes, so the worst outcome is a wrong or missing planning note for contributors and agents, and a revert fully undoes it.
  • Classified: low by Claude Code, claude-haiku-5-5, low effort, session 9c9f1e73-a61d-446b-88c7-b4c3c0613d07
  • Class: quest
  • Risk file: bb7b1c0de60b
  • Local review: none, since the head is low risk

kixelated and others added 5 commits November 27, 2026 16:42
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n ARM

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… audio groups

Measured on the Nightly's ARM runner with the whole media lane: main passed 64 of 64, the last failing Nightly commit failed 3 of 24, and main with 20 ms audio groups failed 10 of 56 at the quest's steps. The temporary measurement workflow is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title The Firefox player passes its lifecycle every Nightly quest: delete firefox-player-lifecycle, whose failures predate 100 ms audio groups Nov 28, 2026
@kixelated
kixelated marked this pull request as ready for review November 28, 2026 02:34
@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The interop README now records Firefox player lifecycle failures in 6 of 15 Nightly runs, comparisons involving main, commit 7297210187, and a 20 ms audio-group fixture, and reported host saturation during retained-audio replay. The dedicated lifecycle quest document is removed. The Nightly README links to the interop README and notes that the failures predated the 100 ms audio groups. The interop README title gains the [XS] prefix.

Merge Risk: Minimal · up to 50162

This is a documentation-only change that removes a planning quest and records the measurement results. It has no production impact and is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: deleting the firefox-player-lifecycle quest. It also gives the reason, that the failures predate the 100 ms audio groups. The raw summary and PR description confirm th…
Description check Passed The description states the problem, the measurements, the approach, and the decisions. It covers the deleted quest, the Nightly README link update, and the temporary workflow removal. These match the …
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.
Full details: Title check

Explanation

The title names the main change: deleting the firefox-player-lifecycle quest. It also gives the reason, that the failures predate the 100 ms audio groups. The raw summary and PR description confirm the deletion and the link to the change that moved audio groups from 20 ms to 100 ms.

Full details: Description check

Explanation

The description states the problem, the measurements, the approach, and the decisions. It covers the deleted quest, the Nightly README link update, and the temporary workflow removal. These match the changed files in the raw summary.

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: 71bb24a7-4341-4380-94d6-953603ab76d8
Commits

Reviewing files that changed from the base of the PR and between 065a4c1 and 5016273.

Files selected for processing: 3

  • quest/m0/interop-green/README.md
  • quest/m0/interop-green/firefox-player-lifecycle.md
  • quest/m0/nightly/README.md
Files with no reviewable changes: 1

  • quest/m0/interop-green/firefox-player-lifecycle.md

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

@kixelated
kixelated added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit 76c7ed5 Nov 28, 2026
7 checks passed
@kixelated
kixelated deleted the quest/m0/interop-green/firefox-player-lifecycle branch November 28, 2026 03:43
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