Repository navigation
test(media): late join asserts a prompt start and a bounded catch-up #5158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
01c8024
chore(quest): start test stability questline
kixelated 5900438
Merge remote-tracking branch 'origin/main' into quest/m1/test-flakes-…
kixelated 8aa6017
test(tokio): make broadcast transport race deterministic (#4664)
kixelated baeaf3e
test(shaper): run the unit tests on paused time over in-memory socket…
kixelated c63c01e
quest: claim test-flakes-2/warn-capture
kixelated 113bb17
quest: claim mux-debounce-clock
kixelated d965302
moq-mux: run the TS SI debounce on the tokio clock
kixelated c8db5fb
moq-net: count drop WARNs through a global subscriber, per thread
kixelated 1265ae0
quest: plan moq-mux live import clock and tracing capture audit
kixelated 7533eb3
Merge pull request #4687 from moq-dev/quest/m1/test-flakes-2/mux-debo…
kixelated 5d03e8c
Merge remote-tracking branch 'origin/quest/m1/test-flakes-2/README' i…
kixelated f1c5e78
Merge remote-tracking branch 'origin/quest/m1/test-flakes-2/README' i…
kixelated ac25d88
quest: address review on live import clock and tracing capture audit
kixelated 7a93493
moq-net: rebuild callsite interest at each WARN capture
kixelated ca455c8
Merge pull request #4693 from moq-dev/quest/plan-flake-followups
kixelated 7f096f7
Merge remote-tracking branch 'origin/quest/m1/test-flakes-2/README' i…
kixelated 3873e5d
quest: settle the moq-mux Clock boundary
kixelated 04fca7e
Merge pull request #4690 from moq-dev/quest/m1/test-flakes-2/warn-cap…
kixelated 1ab08a5
Merge remote-tracking branch 'origin/quest/m1/test-flakes-2/README' i…
kixelated bbc16bb
Merge pull request #4700 from moq-dev/quest/plan-clock-boundary
kixelated 126c6a8
chore: claim media late-join quest
kixelated 70321a0
test(media): measure late join against the published GOP
kixelated 0165839
quest: claim media-late-join
kixelated b4b39cd
test(media): late join asserts a prompt start and a bounded catch-up
kixelated 921af44
Merge remote-tracking branch 'origin/quest/m1/test-flakes-2/media-lat…
kixelated e8760b9
Merge remote-tracking branch 'origin/main' into media-late-join-merge
kixelated File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
subscriber()does not return untilpage.goto(..., { waitUntil: "load" })completes andwaitForWatch()observes the player's first probe sample, which can take up to 30 seconds. Startingjoinedafterward means a page that spends, for example, 20 seconds initializing and already has a frame when sampling begins still passes this 5-second check, so the test does not enforce its stated bound from page loading. Capture the start time before opening the latecomer, or return the navigation start time fromsubscriber().Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disagree, leaving this as is.
waitForWatch()cannot take long here:data-interop-readyis set synchronously byattach(el)insrc/setup.ts, in the same module script that creates the player, so it is already present whenpage.goto(..., { waitUntil: "load" })resolves andwaitForWatch()returns on its first poll. The window that is not covered runs from module execution to theloadevent on a local page, which is the "page loading" the bound names. Starting the clock beforesubscriber()would also count launching a fresh Chromium (browserFor()), which is not player behavior and is the slow, noisy part on a small CI runner. The measured start values (max 2.6s under load) were taken with this placement.(Written by Claude Opus 5.5)