Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions quest/m0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ repository.
- [moq-audio's browser backends are pinned](/quest/m0/pin-browser-audio.md) - the web studio's audio slice
- [moq-audio's source tap is pinned](/quest/m0/pin-audio-tap.md) - the samples clap-to-measure sync times a clap from
- [moq-audio's strip pan is pinned](/quest/m0/pin-audio-pan.md) - the bus strip pan the studio's pan sets
- [A replayed media file never repeats a timestamp](/quest/m0/media-replay-timestamps.md) - a media source that starts over publishes strictly increasing timestamps, and its flaky test passes every run

## Related

Expand Down
25 changes: 25 additions & 0 deletions quest/m0/media-replay-timestamps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# [S] A replayed media file never repeats a timestamp

## Goal

A media source that starts over while on program publishes its pictures with
strictly increasing timestamps every time, and
`publish::tests::a_media_file_is_published_on_one_timeline`
(`rs/moq-scene/src/publish.rs`) passes on every run.

## Plan

Planned 2026-11-07 (maintainer, /quest-complete): ✅ m0 (rejected: m1), since
the test is in `just test`, so it flakes the merge gate for every PR, and the
repeat may reach viewers. ✅ A quest of its own (rejected: fixing it in the moq
pin bump, [moq-dev/studio#104](https://github.com/moq-dev/studio/pull/104)).

The test fails about half its runs with two equal timestamps in a row: 4 of 8
on `main` at d42fd70, 3 of 6 after the bump to moq 079a646. It came with
[moq-dev/studio#44](https://github.com/moq-dev/studio/pull/44); name that PR
under `## Caused by` if the bug is in its code. The test runs on a paused
clock, so the variation comes from work outside it, such as the encoder's
thread, racing the restart (`feed.play()`). Reproduce it first, then find
whether the published track can repeat a picture's time at a restart (a real
bug) or only the test reads too early, and fix that root cause rather than
retry or loosen the assertion.