diff --git a/quest/m0/README.md b/quest/m0/README.md index a390d4abcae..d5b4339b01a 100644 --- a/quest/m0/README.md +++ b/quest/m0/README.md @@ -34,7 +34,6 @@ edge, which embeds moq-relay; it moved there on 2026-09-28. - [Release's audio encoder rolls groups before the cap](/quest/m0/release-audio-group-cap.md) - a long `groupDuration` with short frames never throws `GroupTooLarge` on `release` - [Local checks pass on unchanged main](/quest/m0/local-checks-main.md) - `sh/go/publish-wrapper.test.sh` passes under a global `tag.gpgsign = true`, so `just check` passes on a clean `main` - [The invalid-attribute browser check matches moq-watch's attributes](/quest/m0/watch-invalid-attribute-check.md) - `publish-ui.browser.ts`'s invalid-attribute test passes on main again, with no stale `buffer` case -- [Bun-spawning test recipes install the JS workspace](/quest/m0/recipe-js-install.md) - `bare-fin`, `max-age`, `stream-limits`, `relay-fill`, and `receive-credit` pass in a fresh checkout - [CI cost and latency](/quest/m0/ci/README.md) - cloud CI runs only in GitHub's merge queue, one tested entry at a time, expensive checks run nightly and gate `release`, caches move to R2, and runners are chosen last - [More tests under load](/quest/m0/test-flakes-2/README.md) - load-only and queue failures, one quest per flake, fixed at the cause, since each one drops a queued PR - [Tests can't wait on the real clock](/quest/m0/clock-guard/README.md) - a test whose real-clock timer fires fails every run, in JS and, if the spike holds, Rust diff --git a/quest/m0/recipe-js-install.md b/quest/m0/recipe-js-install.md deleted file mode 100644 index f84d3c673d6..00000000000 --- a/quest/m0/recipe-js-install.md +++ /dev/null @@ -1,20 +0,0 @@ -# [XS] Bun-spawning test recipes install the JS workspace - -## Goal - -`just test bare-fin`, `max-age`, `stream-limits`, `relay-fill`, and -`receive-credit` pass in a fresh checkout. Each runs the root installer -before its Rust tests spawn `bun`, instead of relying on an earlier install. -`test/justfile` sets `working-directory := '.'`, so its recipes run in -`test/` and invoke it as `uv run --no-project python ../sh/js/install.py -frozen`, as [moq-dev/moq#7978](https://github.com/moq-dev/moq/pull/7978)'s -recipes do (CI's `interop.yml` "Workspace dependencies" step hides the gap today). - -## Plan - -Found by [moq-dev/moq#8104](https://github.com/moq-dev/moq/pull/8104): a fresh -checkout fails `just test bare-fin` with `Cannot find module '@moq/clock'`. -Use the coordinated installer from -[moq-dev/moq#7978](https://github.com/moq-dev/moq/pull/7978) rather than a raw -`bun install`, so the recipes share its lock and cache. Start once #7978 has -merged. diff --git a/test/justfile b/test/justfile index e397d0de860..4741de0252f 100644 --- a/test/justfile +++ b/test/justfile @@ -257,27 +257,33 @@ video: # Optional publisher max age across Rust/JS sessions through a Rust relay. max-age: + uv run --no-project python ../sh/js/install.py frozen bash ../sh/local.sh cargo nextest run --locked -p moq-tokio --test integration -E 'test(/^max_age::/)' --run-ignored all # Datagram tracks between Rust and JavaScript on lite-07, direct and through a Rust relay. datagram-tracks: + uv run --no-project python ../sh/js/install.py frozen bash ../sh/local.sh cargo nextest run --locked -p moq-tokio --test integration -E 'test(/^datagram_tracks::/)' --run-ignored only # JavaScript publisher and reader over WebSocket, through a Rust relay, past qmux's default stream limit. stream-limits: + uv run --no-project python ../sh/js/install.py frozen bash ../sh/local.sh cargo nextest run --locked -p moq-tokio --test integration -E 'test(/^stream_limits::/)' --run-ignored only # A JavaScript relay between Rust peers FETCHes upstream what its copy misses, below its start and once evicted. relay-fill: + uv run --no-project python ../sh/js/install.py frozen bash ../sh/local.sh cargo nextest run --locked -p moq-tokio --test integration -E 'test(/^relay_fill::/)' --run-ignored all # A JavaScript sender exhausts each native receiver's connection credit, which recovers. receive-credit: + uv run --no-project python ../sh/js/install.py frozen bash ../sh/local.sh cargo nextest run --locked -p moq-tokio --test integration -E 'test(/^receive_credit::javascript_/)' --run-ignored only bash ../sh/local.sh cargo nextest run --locked -p moq-uring --test integration -E 'test(/^receive_credit::javascript_/)' --run-ignored only # Cross-language subscription termination over in-memory transports. bare-fin: + uv run --no-project python ../sh/js/install.py frozen just rs test -p moq-net --features async --lib bare_fin_interop owed_tail_death_interop --run-ignored all # Explore JSON snapshot codec sequences with a fresh replayable seed.