Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
3d557d5
chore(quest): claim quest/m1/api-audit/route/handle.md
kixelated Nov 4, 2026
06b1b0d
wip: Route handle core in moq-net (tests not yet migrated)
kixelated Nov 4, 2026
b0c6c02
wip: migrate moq-net tests and JS to the Route handle
kixelated Nov 4, 2026
6e89ee3
wip: migrate Rust crates and bindings to the Route handle
kixelated Nov 4, 2026
8ab2112
wip: rename the raw FFI route instance accessor, docs, split facts quest
kixelated Nov 4, 2026
70d9eab
docs(cpp): name instance_id in MIGRATE
kixelated Nov 4, 2026
8f01eac
fix: retarget the drill mutation and a stale doc link
kixelated Nov 4, 2026
26ddbcb
fix(net): withdrawing a prefix route releases its pending requests
kixelated Nov 4, 2026
3bd201b
fix(net): closing the origin ends hidden prefix routes' requests
kixelated Nov 4, 2026
b8ed065
Merge origin/main into quest/m1/api-audit/route/handle
kixelated Nov 4, 2026
5d50a45
fix: migrate main's new fetch bench and drop the unused Polled::is_ca…
kixelated Nov 4, 2026
05f1964
Merge origin/main into quest/m1/api-audit/route/handle
kixelated Nov 4, 2026
0eb7228
fix(test): migrate the open-GOP fixture to the route handle
pullfrog[bot] Nov 4, 2026
cc16a59
Merge origin/main into quest/m1/api-audit/route/handle
kixelated Nov 5, 2026
e03717b
style: rustfmt the migrated tests
kixelated Nov 5, 2026
d61dbdc
fix(net): retract routes atomically with what they release
kixelated Nov 5, 2026
a0e908f
fix(net): refuse a job answer once its prefix route left the table
kixelated Nov 5, 2026
d03c388
fix(ffi,c): attach an exact route's catalog before announcing it
kixelated Nov 5, 2026
e225bbb
fix(net): keep update_if private to the origin
kixelated Nov 5, 2026
08aa622
Merge origin/main into quest/m1/api-audit/route/handle
kixelated Nov 5, 2026
edbfb67
Merge origin/main into quest/m1/api-audit/route/handle
kixelated Nov 5, 2026
8022bf6
Merge origin/main into quest/m1/api-audit/route/handle
kixelated Nov 5, 2026
c26cd13
fix(net): a job answer resolves its requesters under the job's instance
kixelated Nov 5, 2026
ad72053
style: rustfmt the front fix; port a leftover Kotlin listing event
kixelated Nov 5, 2026
01e7a80
Merge origin/main into quest/m1/api-audit/route/handle
kixelated Nov 5, 2026
da3f1b0
test(ffi): hold the route that keeps the panicking origin alive
pullfrog[bot] Nov 5, 2026
c385996
Merge origin/main into quest/m1/api-audit/route/handle
kixelated Nov 5, 2026
9319c47
Merge pullfrog's route-hold test fix into quest/m1/api-audit/route/ha…
kixelated Nov 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions bench/browser/page/stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async function allocator(connection: Moq.Connection): Promise<Moq.Bandwidth.Hand

/** A reservation on `handle` for a fresh, unannounced track: the allocator sees only its demand. */
function reserve(handle: Moq.Bandwidth.Handle, origin: Moq.Origin.Producer, name: string) {
const publication = origin.createBroadcast(Moq.Path.from(name));
const publication = origin.route(Moq.Path.from(name), { hidden: true });
const track = publication.broadcast.createTrack("video", { priority: 1 });
const reservation = handle.reserve(track.demand(), 2_500_000);
cleanup.push(() => {
Expand Down Expand Up @@ -149,7 +149,7 @@ async function setup(config: Sampling): Promise<void> {
/** Publishes one small-frame track and plays it on every connection. */
async function receive(config: Sampling): Promise<void> {
const publishing = new Moq.Origin.Producer();
const publication = publishing.createBroadcast(Moq.Path.from(`${config.path}/live`));
const publication = publishing.route(Moq.Path.from(`${config.path}/live`), { hidden: true });
const track = publication.broadcast.createTrack("data", { timescale: Moq.Time.Timescale.MILLI });
publication.announce();
const publisher = await Moq.Connection.connect({
Expand Down Expand Up @@ -249,7 +249,7 @@ async function resume(config: Sampling & { cycles: number; idle_ms: number; limi
const waits: number[] = [];
for (let cycle = 0; cycle < config.cycles; cycle++) {
await new Promise((resolve) => setTimeout(resolve, config.idle_ms));
const publication = origin.createBroadcast(Moq.Path.from(`${config.path}/resume/${cycle}`));
const publication = origin.route(Moq.Path.from(`${config.path}/resume/${cycle}`), { hidden: true });
const track = publication.broadcast.createTrack("video", { priority: 1 });
const start = performance.now();
const reservation = handle.reserve(track.demand(), 2_500_000);
Expand Down
2 changes: 1 addition & 1 deletion bench/browser/page/transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function publish(config: Transport): Promise<void> {
// Fixture generation stays outside every timed interval.
const fixtures = Array.from({ length: config.frames }, (_, frame) => payload(config.size, frame));
const origin = new Moq.Origin.Producer();
const publication = origin.createBroadcast(Moq.Path.from(config.path));
const publication = origin.route(Moq.Path.from(config.path), { hidden: true });
const producer = publication.broadcast;
// Retention covers the whole run, so a slow consumer cannot lose a group to eviction.
const track = producer.createTrack("data", { timescale: Moq.Time.Timescale.MILLI, maxAge: Milli(600_000) });
Expand Down
Loading
Loading