Skip to content

quest: finish the WHIP cap flake and its test flakes epic - #9573

Merged
kixelated merged 2 commits into
mainfrom
quest/m0/test-flakes-3/whip-cap-burst
Nov 25, 2026
Merged

kixelated merged 2 commits into
mainfrom
quest/m0/test-flakes-3/whip-cap-burst

Conversation

@kixelated

@kixelated kixelated commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Finishes quest/m0/test-flakes-3/whip-cap-burst.md and, with it, the test-flakes-3 epic.

Problem

moq-webrtc's tests::a_whip_publisher_past_its_cap_plus_burst_is_closed timed out about one run in five ("the publisher past its cap stayed open"). The test, added in moq-dev/moq#7373, pushed one 1000-byte Opus frame before the WHIP client connected. str0m has no writer for a track before media is negotiated (egress::dispatch drops that write), so whenever the frame raced ahead of the connect, nothing ever passed the cap.

moq-dev/moq#9452 (merged 2026-11-23, after the quest was filed) already applied the quest's planned fix: the test resends the frame every 20ms until the session ends, so it asserts the cap rather than the connect's timing. It did not delete the quest.

Approach

No code change. Confirmed the cause and the fix on current main, then deleted the quest. It was the epic's last child, and the epic README holds no work of its own; per its Plan (decided 2026-11-15, maintainer: "once it completes, the next flake opens a fresh one") it completes here, so this deletes the README too. quest/README.md linked the epic by path; it now names the open test-flakes-N epic generically and says a fresh one carries the last epic's rules from git history.

Impact

  • Public API: none. Wire: none.

Alternatives

  • Keep test-flakes-3/README.md as an empty bucket for the next flake. Rejected: the maintainer's recorded decision is to open a fresh epic once this one completes, and an epic with no children and no work would read as an [S] quest anyone could start.

Validation

All through quest gate, KIO_DENY_HOST_TIMERS=1, cargo nextest --stress-count:

  • Current main, test alone: 500/500 passed (about 0.1s each).
  • Current main, whole moq-webrtc lib suite: 30/30 iterations passed.
  • Reproduction: restoring the pre-test(moq-webrtc): a WHIP publisher past its cap keeps sending until it is closed #9452 behavior (await the session without resending) failed 1 of 20 with "the publisher past its cap stayed open: Elapsed", the quest's exact failure.
  • Pinned quest check --base origin/main: 514 documents ok. just ci: passed with this repo's pinned quest (quest-65fd9e0). The shell had inherited DEV_SHELL_QUEST from another checkout's dev shell (quest-59b106e), whose check quest flags the .claude/skills stubs as outdated regardless of this diff; unsetting it lets sh/quest.sh resolve the pin, as this checkout's own dev shell would.

Follow-ups

None.

Models

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

Review

Rewritten by quest review after each round.

  • Head: 3e54163
  • Base: origin/main at b367c92
  • Risk: low, The change only edits quest/README.md's prose and deletes two finished quest plan files (test-flakes-3 README and whip-cap-burst.md), so nothing a published consumer, deployed peer, or release script relies on can break, and a revert fully restores the files.
  • Classified: low by Claude Code, claude-haiku-5-5, low effort, session a9de57b1-9e5e-4739-86b5-0344f865bc23
  • Local review: none, since a low-risk head needs only the online reviewer

(Written by Claude Opus 5.5)

kixelated and others added 2 commits November 24, 2026 18:24
#9452 already resends the loud frame until the session closes, which
removed the race with the WHIP client's connect. The epic holds no other
child, so it completes here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title A WHIP publisher past its cap is closed every run quest: finish the WHIP cap flake and its test flakes epic Nov 25, 2026
@kixelated
kixelated marked this pull request as ready for review November 25, 2026 03:21
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The quest README now directs contributors to use an open test-flakes-N epic or create a fresh epic using rules from the last one. The test-flakes-3 README and its WHIP cap burst document are deleted.

Merge Risk: Minimal · up to 3e541

This is a documentation-only cleanup with no runtime impact. It is safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the WHIP cap flake and the test flakes epic. The changeset deletes the completed test-flakes-3 epic README and the whip-cap-burst quest plan, and updates quest/README.md to refer gener…
Description check Passed The description is directly related to the changeset. It explains that the whip-cap-burst quest and the test-flakes-3 epic are finished and deleted, that no code changed, and why. It also gives the va…
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 WHIP cap flake and the test flakes epic. The changeset deletes the completed test-flakes-3 epic README and the whip-cap-burst quest plan, and updates quest/README.md to refer generically to the open test-flakes-N epic. The title is specific and matches the main change, though it does not mention the README update.

Full details: Description check

Explanation

The description is directly related to the changeset. It explains that the whip-cap-burst quest and the test-flakes-3 epic are finished and deleted, that no code changed, and why. It also gives the validation results and the reasoning for updating quest/README.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: 4e523a21-a418-46ed-8fb0-0b5269d8e974
Commits

Reviewing files that changed from the base of the PR and between b367c92 and 3e54163.

Files selected for processing: 3

  • quest/README.md
  • quest/m0/test-flakes-3/README.md
  • quest/m0/test-flakes-3/whip-cap-burst.md
Files with no reviewable changes: 2

  • quest/m0/test-flakes-3/README.md
  • quest/m0/test-flakes-3/whip-cap-burst.md

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

@kixelated
kixelated added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 51f799e Nov 25, 2026
11 checks passed
@kixelated
kixelated deleted the quest/m0/test-flakes-3/whip-cap-burst branch November 25, 2026 03:29
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