Skip to content

A replaced copy's short group continues from the replacement - #9277

Merged
moq-bot[bot] merged 8 commits into
mainfrom
quest/m1/switch-partial-close
Nov 21, 2026
Merged

moq-bot[bot] merged 8 commits into
mainfrom
quest/m1/switch-partial-close

Conversation

@kixelated

@kixelated kixelated commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Finishes quest/m1/switch-partial-close.md and deletes it.

A group that a copy closes with a bare FIN (no GROUP_END) may hold more frames. Before this PR, a read that reached that FIN ended the group, even when the front had already replaced the copy and the replacement held the rest. Whether the reader got the rest depended on arrival order: it did only if it parked on the next frame before the FIN landed.

Now a read that reaches a short close on a copy the front replaced, or whose route failed, asks the replacement for the next frame, as a stall does. The group ends where it closed only once no route can supply more: the replacement refuses the rest, the group goes stale under the reader's budget, or no front is left to replace the copy. A group read to a GROUP_END is whole and ends as before. Rust and @moq/net match.

Changes

  • rs/moq-net/src/model/resume.rs: Recover::poll takes a Cause (Stalled, Closed, Failed) instead of an optional error. Closed is settled like a failure, so a refusal concludes it, but where nothing replaces the copy, or the copy still serves with no front to replace it, its close stands (NotFound, which the group reads as a clean end). wants also looks past a copy that closed short on a route that failed since.
  • rs/moq-net/src/model/group.rs: poll_resumed recovers a short-closed read (closed_short) instead of ending it, ends it cleanly when the recovery says the close stands or the group expired, and poll_finished counts a short close the same way. Outcome::Released keeps the end a group finished at, so a short copy whose cache freed it after the reader drained it still recovers, and end() survives the release.
  • js/net/src/group.ts, js/net/src/resume.ts, js/net/src/internal.ts: the same in JS. Recover.replace takes a RecoverCause. A front-handed group's closed and readable() decide a short close only when a read or an awaited closed asks, so a wait for readability (such as a track mirror) does not end the group before a route move can continue it. closed counts its live watchers, so a race that settled on its other side stops looking. Internal watchers, the publishers' GivenUp among them, use a new quiet hooks.groupClosed that never decides.
  • Resume models in both languages (resume_model.rs, resume.model.test.ts) gain a Close op that closes a route's group short, optionally failing the route right after. Their oracle now requires that a group ends short only at a frame count some route closed it at, and, under an hour's budget with a route left and the group not expired, only where a live route closed it.
  • Tests that meant whole groups but ended them with bare finish() now use finish_at (producer_replaced in route_change.rs, two in group.test.ts, one in resume.rs).

Public API: none. Wire: none.

Validation

  • New reproductions, Rust (model::resume::test): a_replaced_copys_short_group_continues_from_the_replacement, a_short_group_on_a_failed_route_waits_for_the_next, a_short_group_the_replacement_lacks_is_fetched, a_short_group_ends_where_it_closed_once_stale, a_short_group_ends_once_no_route_holds_more, a_released_short_group_continues_from_the_replacement.
  • New reproductions, JS (resume.test.ts): a replaced copy's short group continues from the replacement (closing before and after the swap), reads on once the rest lands on the replacement, waits for the next route after its route failed, and ends once no route holds more, while its copy still serves, or once no route is left to ask; and continues after a decided race or a publisher's GivenUp watched it.
  • Differential check of the models: with the fix disabled, both the sweep and the new regression case fail in both languages (group N ended after 1 frames where a failed route closed it); with it, the Rust model passes 3000 cases at seeds 2026 and 777, and the JS model 3000 cases at seeds 1, 7, 2026, 99991, 31337, and 4242.
  • cargo nextest run -p moq-net --all-features: 4133 passed after merging main. bun test in js/net: 3447 passed. just check: passed.
  • Local review (quest review --harness codex, gpt-6.1-sol high): round 1 found three medium issues (a released cache hid a short close; GivenUp and a decided race judged a short close for the reader), each fixed with a test that fails without it; round 2 found none.
  • Merged main (A replacement or fallback joins live at the viewer's min delay #9293 and others) into the branch, no rebase: one conflict in the doc comment of Outcome::Released in group.rs, which fix(moq-net): a released group keeps its declared end #9259 reworded while this PR already kept the end there; resolved to this PR's wording, the code being identical. After the merge: cargo nextest run -p moq-net --all-features 4148 passed, bun test in js/net 3448 passed, just check passed, and the failover model (FailoverChain.tla, 6.0M states) passed. The merge's review round found nothing; its shadow reviewer asked that FailoverChain.tla coverage note the new short-close recovery, which verify-failover's "Not covered" now does (the model writes every group whole, so a bare FIN never occurs there; the resume models own it).
  • The TLA+ ResumeReader spec models whole groups only (no frames, no Recover), so it does not cover this; its "Not covered" note already says so.

Caused by

Recovery has ended a group at any end its copy reported since it landed: Rust in #4741, JS in #5836. Once a group's end could say it is whole (finish_at, GROUP_END), a bare FIN stopped meaning the group is complete, but recovery kept reading it that way. Found by the 2026-11-20 audit of the subscription rules before the lite-07 cut.

Models

Size: M
Implementer: Claude, claude-opus-5-5, high effort (arm B)
Implementer: Claude Code, claude-opus-5-5, unknown effort (iterate, M, arm B)
Implementer: Claude Code, claude-sonnet-5-5, high effort (iterate, M, arm B)

Follow-ups

None.

Decisions

Unattended choices for review, taken by the quest-run orchestrator on the PR's recommendation while the maintainer was away; a later review can still undo any of them.

  • A route that fails right after a bare FIN costs a wait. A group a producer ends with bare finish(), whose route then fails before the reader sees the FIN, waits on the replacement like a mid-group failure: it continues if the replacement holds more, and otherwise ends when the replacement refuses the rest or the group goes stale. A strictly sequential reader stalls until then; media producers use finish_at, and a bare FIN says the group may hold more. ✅ accept the wait (rejected: reopen a short close only once the front has already switched routes, which keeps the old ending when the copy fails right after its FIN but loses the rest whenever the failure lands first).
  • JS decides a front-handed short close lazily. closed and readable() no longer settle at the FIN; a short close is decided when a read or a watched closed asks, so a route move landing just after the FIN still continues the group. ✅ decide lazily, as Rust does (rejected: settle at the FIN, which ends the group before a route move can continue it).
  • The arrival-order window that remains. A FIN read before the front learns its copy was replaced or failed still ends the group there, as nothing then says another route holds more. ✅ accept the gap (rejected: hold every bare FIN open in case a route change follows, which would stall every short group). A copy that fails mid-group resets its stream rather than sending a FIN, so this needs a copy that really closed the group and a route change racing the read.

(Written by Claude Opus 5.5 with high; Decisions recorded by Claude Opus 5.5)

🤖 Generated with Claude Code

Review

mechanical fix by codex, gpt-6.1-sol, medium effort: Merged base and mechanically adapted the new resume test to create_group_at with an empty passed range (0..0); ran nix develop -c just ci base and git diff --check successfully. (head fd00d8e)

Rewritten by quest review after each round.

  • Head: e14d0a5

  • Base: origin/main at 4ce2fca

  • Risk: medium, Changes to Rust and JS group recovery could disrupt frame delivery or group completion for stream readers during route changes, but preserve public APIs and wire formats and are fully undone by a revert.

  • Classified: medium by Codex, gpt-6.1-sol, low effort, session 01a1fe3c-c451-7d11-b775-8c0e037ce39a

  • Reviewer: Codex, gpt-6.1-sol, high effort

  • Session: 01a1fc45-ea61-72b3-a17d-a66c92e027a4, round 4

  • Score: 10/10, The incremental change accurately documents the failover model’s coverage limit and introduces no behavioral changes; builds and tests were not run as instructed.

  • Rounds: 4; first round 3 (medium 3); findings 3 (medium 3): fixed 3, refuted 0, open 0

  • Findings: none

  • Reviewer: Codex, gpt-6.1-sol, medium effort, shadow

  • Session: 01a1fe39-1978-7841-a199-c6c101ae23ea, round 2

  • Score: 10/10, The incremental change documents a verified model boundary, and the existing Rust and JS resume models cover short closes, leaving no outstanding findings.

  • Rounds: 2; first round 1 (medium 1); findings 1 (medium 1): fixed 0, refuted 1, open 0

  • Findings: none

  • The last round's findings, at 324a279:

    • Refuted: medium, rs/moq-net/src/model/resume.rs:3235: Mirror short-close recovery in the failover model; FailoverChain.tla's Write always supplies all F frames and has no bare-FIN transition, while resume_model.rs:106 and :853 and resume.model.test.ts:428 and :784 explicitly model and validate short closes; the incremental change documents this scope.

kixelated and others added 4 commits November 20, 2026 17:28
…ement

A group a copy closes with a bare FIN (no GROUP_END) may hold more frames.
When the front replaced that copy, or its route failed, the read now asks
the replacement for the next frame, as a stall does, instead of ending the
group where the old copy closed it. The group ends where it closed only once
no route can supply more: the replacement refuses the rest, the group goes
stale, or no front is left to replace the copy. Groups read to a GROUP_END
end as before. Rust and @moq/net match.

The resume models in both languages gain a Close op, and their oracle
requires a short group to end only where a live route closed it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review round 1:

- Rust: a group's released cache keeps the end it finished at, so a reader
  that drained a short copy before its cache freed it still recovers the
  rest from the replacement, and `end()` survives the release.
- JS: the publishers' give-up watch reads the close a watch never decides,
  so watching a group no longer ends a short close a route move could
  continue.
- JS: a group's `closed` judges a short close only while a caller watches
  it, counting live subscriptions, rather than forever after the first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated
kixelated marked this pull request as ready for review November 21, 2026 04:58
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 27 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

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: 57d537d3-e62c-4348-9c28-2bced0fcba0e
Commits

Reviewing files that changed from the base of the PR and between b45179d and fd00d8e.

Files selected for processing: 15

  • .claude/skills/verify-failover/SKILL.md
  • js/net/src/group.test.ts
  • js/net/src/group.ts
  • js/net/src/internal.ts
  • js/net/src/resume.model.test.ts
  • js/net/src/resume.test.ts
  • js/net/src/resume.ts
  • js/net/src/util/given_up.ts
  • quest/m1/switch-caps-old.md
  • quest/m1/switch-partial-close.md
  • rs/moq-net/src/model/frame.rs
  • rs/moq-net/src/model/group.rs
  • rs/moq-net/src/model/resume.rs
  • rs/moq-net/src/model/resume_model.rs
  • rs/moq-net/tests/integration/route_change.rs
  • 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

pullfrog[bot]
pullfrog Bot previously approved these changes Nov 21, 2026

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Approach: sound. It routes a short close through the existing Recover machinery as a third Cause beside stalls and failures, so refusal, staleness, and no-front handling all carry over. Rust and JS stay aligned, and both models gained an oracle that catches the bug.

Reviewed changes

All 14 files were reviewed in full against main at cb9cb51.

  • Cause / RecoverCause: Recover::poll and GroupRecover.replace now take why the read looks past its copy. settled (not Stalled) takes over the refusal-as-verdict role that failed.is_some() used to have.
  • Short close recovery (Rust): poll_resumed maps a bare-FIN Ok(None) at or past the copy's frame count (closed_short) to Cause::Closed. The group ends cleanly via let_go when the copy still serves, the replacement refuses, or the budget expires. poll_finished follows the same path.
  • Outcome::Released keeps the end: a short copy that its cache freed after the reader drained it still recovers, and end() survives release.
  • Lazy decision in JS: the public closed, readable(), and done decide a short close only when a read or a watcher looks. Internal watchers (Recover.watch, Reader#open, the Front fetch release, GivenUp) move to the quiet hooks.groupClosed. #ended latches the decision so every later look agrees.
  • wants on a failed copy: a bare FIN on a copy whose route has since failed now looks to the next route in both languages.
  • Models and tests: both resume models gain a Close { group, down } op and a stricter end oracle. Tests that meant whole groups now use finish_at.

ℹ️ Every relayed group is "short" until lite-07 ships, so the accepted wait applies on every failover

The first Decision accepts that a group whose route fails right after a bare FIN waits for the replacement. It reasons that "media producers use finish_at." That only holds on the wire for lite-07, which is still -wip and excluded from default negotiation (rs/moq-net/src/version.rs:26). lite-06 and older, and every moq-transport draft, finish each received group through recv::Group::end(None). A relay therefore sees every upstream group as Finished(n, None), whatever its producer called.

In production today, then, an upstream session dying makes every group that was fully received but not yet read, plus the group being read, wait for a new route, the budget's staleness, or the front concluding before it ends. Frames still arrive; only the end, and the downstream FIN with it, is delayed. Once a route returns, each such group also costs a FETCH round trip. That is probably still acceptable, but the Decision should record the actual scope rather than the rationale it gives now.

Technical details
# Bare-FIN recovery covers every relayed group before lite-07

## Affected sites
- rs/moq-net/src/model/resume.rs — `Cause::Closed if copy_failed(&self.copy) && !done => return Poll::Pending` (new `poll` arm) and `wants`' `None if copy_failed(&self.copy)`
- js/net/src/resume.ts — `Recover.wants` `if (!failed && copyFailed(copy)) return true;` and the `closed && generation === current.generation` branch in `#replace`
- rs/moq-net/src/lite/subscriber.rs:1547 — only lite-07 carries GROUP_END; older versions finish with `end(None)`
- rs/moq-net/src/version.rs:26 — lite-07 is WIP and not negotiated by default

## Required outcome
- The PR's Decisions section states that, until lite-07 is the default, the wait applies to every group a relay holds on a failed upstream route, not only to groups a producer ended with bare `finish()`.

## Open questions for the human
- Is a delayed group end (and downstream FIN) during upstream reconnects acceptable for moq.pro relays running lite-06, or should the copy-failed branch wait to switch on until GROUP_END is on the default wire?

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

kixelated and others added 2 commits November 21, 2026 04:50
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
pullfrog[bot]
pullfrog Bot previously approved these changes Nov 21, 2026

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

This run covers what changed since the last review at 817ba55: a merge of main and one commit that only changes docs. Neither changes behavior.

  • Merged main: the conflict in Outcome::Released's doc comment (rs/moq-net/src/model/group.rs:297-300) now resolves to a single comment over Released(usize, Option<u64>, Error). The code matches what main already had from #9259.
  • verify-failover coverage note: the "Not covered" section now says the failover model writes every group whole. No copy there closes a group short, so Recover::poll's Closed cause never fires, and the resume models cover that case instead.

The earlier ℹ️ note still applies and is not blocking. Before lite-07 becomes the default wire, every relayed group reaches a relay without a GROUP_END, so the accepted wait after a route failure covers every failover, not only producers that call bare finish().

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

@kixelated
kixelated added this pull request to the merge queue Nov 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 21, 2026
@moq-bot

moq-bot Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

quest land watch: the merge queue removed this pull request at e14d0a5 because its merge_group build failed (failed_checks).

The land fixer works on it in the background, and the watcher re-enqueues it at the back of the queue once it is fixed or judged flaky, or hands it back here with what it needs.

Queue / Queue (job) failure at step Check:

…39m Processed draft/moq-hidden.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed draft/moq-ietf.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed draft/moq-solicit.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed draft/moq-mpegts.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/rs/kio.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed concept/use-case/distribution.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed concept/use-case/contribution.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed concept/use-case/conferencing.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/rs/moq-audio.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed bin/cli.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/rs/moq-auth.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed concept/moq-lite.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/rs/moq-json.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/rs/moq-mux.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/rs/moq-net.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/rs/moq-video.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed bin/relay.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed bin/obs.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed setup/prod.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/py.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed setup.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed bin/ts.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed draft/qmux-websocket.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed setup/repository.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed bin/rtmp.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed setup/redundancy.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/rs.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed bin/srt.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed concept/standard.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed bin/studio.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed concept/stats.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed concept/transport.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/swift.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed setup/troubleshooting.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed concept/use-case.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed setup/upgrade.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed bin/webrtc.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/watch/support/element.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/clock/test.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/publish/support/element.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/hang/catalog.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/net/zod.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/signals/dom.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Generated �[36mllms-full.txt�[39m (~�[1m313.3K�[22m tokens, �[1m1.19 MB�[22m) with �[1m85�[22m markdown files
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/auth.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/auth.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/hang.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/clock.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/clock.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/hang.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/hang/cmaf.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/hang/container.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/json.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/libav.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/json.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/hang/util.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/loc.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/msf.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/pattern.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/obs.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/publish.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/net.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/publish.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/net.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/publish/element.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/room.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/publish/ui.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/qmux.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/signals.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/room.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/publish/support.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/signals.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/video.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/stats.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/video.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/watch.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/watch.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/signals/react.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/watch/element.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/watch/support.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed lib/js/api/watch/ui.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed bin/relay/auth.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed bin/relay/cluster.md
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m�[32m✓�[39m Processed bin/relay/config.md
moq-doc build: �[33m
moq-doc build: (!) Some chunks are larger than 500 kB after minification. Consider:
moq-doc build: - Using dynamic import() to code-split the application
moq-doc build: - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
moq-doc build: - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.�[39m
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m  �[1mvitepress-plugin-llms�[22m initialized �[2m(SSR build)�[22m with workDir: �[36m/var/cache/github-runner-work/moq/moq/doc�[39m
moq-doc build: �[34mllmstxt�[39m�[2m » �[22m  Build started, file collection cleared
error: recipe `check-changed` was terminated on line 36 by signal 15
##[endgroup]
ci: wall and CPU seconds per module
    93     129  check rs (cancelled)
    93     440  check rs_cross (failed)
     3      37  check biome
    90     214  check js (cancelled)
    93     821  whole run
error: recipe `ci` failed on line 120 with exit code 101
##[error]ci: check rs_cross failed
##[error]Process completed with exit code 101.
##[group]Run actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
with:
  name: cargo-timings
  path: target/cargo-timings/cargo-timing-*.html
  if-no-files-found: ignore
  retention-days: 14
  compression-level: 6
  overwrite: false
  include-hidden-files: false
  archive: true
env:
  BASE: b45179d39b1148cb9d3628bc73e1bed08ec2ab35
  CHECK_FAIL_FAST: 1
  NEXTEST_TEST_THREADS: 24
  MBX_CACHE_LINKS: 1
  MBX_REMOTE_URL: 
##[endgroup]
With the provided path, there will be 3 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: cargo-timings.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 184897
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 5bc1dedae6cd89076ed32f45e8e503efac83f572137cca6449f2ee0077b6ba09
Finalizing artifact upload
Artifact cargo-timings successfully finalized. Artifact ID 14714731630
Artifact cargo-timings has been successfully uploaded! Final size is 184897 bytes. Artifact ID is 14714731630
Artifact download URL: https://github.com/moq-dev/moq/actions/runs/44923535170/artifacts/14714731630
Post job cleanup.
##[start-action display=Run jdx/mr-boxington-action@88acf2bb50552c7c508cbac13e5f8c576b95b1de;id=__fa4fec34-8316-44af-9029-41d7a2da8137.mbx]
##[end-action id=__fa4fec34-8316-44af-9029-41d7a2da8137.mbx;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git version
git version 2.56.0
Temporarily overriding HOME='/var/cache/github-runner-work/_temp/ce279ac7-93b2-49d0-8841-01c4557fba82' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git config --global --add safe.directory /var/cache/github-runner-work/moq/moq
Removing SSH command configuration
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/nix/store/i2m3w4ly2w6grrmk1j59rb7zp09bssia-git-2.56.0/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
A job completed hook has been configured by the self-hosted runner administrator
##[group]Run '/nix/store/qrn6ds64bzvwbm5nwf245ifz2c6jb9xw-ci-cache-gc.sh/bin/ci-cache-gc.sh'
shell: /nix/store/lfm00fnq66xfgbn099vqckabyl5jllz6-bash-interactive-5.3p20/bin/bash --noprofile --norc -e -o pipefail {0}
##[endgroup]
evicted 0 objects and 0 action results (77.2 KiB logical); 50.0 GiB logical remain
dropped 6 session event streams
Cleaning up orphan processes

(written by quest land watch)

@moq-bot

moq-bot Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

quest land watch: armed auto-merge on this pull request at fd00d8e, so it joins the back of the merge queue once its required checks pass, with the land fixer's fix (codex, gpt-6.1-sol, medium effort): Merged base and mechanically adapted the new resume test to create_group_at with an empty passed range (0..0); ran nix develop -c just ci base and git diff --check successfully..

(written by quest land watch)

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

This run covers what changed since the last review at e14d0a5: a merge of main and one follow-up commit to a test. Neither changes behavior.

  • Merged main: brought in b45179d and the commits before it. The only conflict touching this PR is that track::Producer::create_group_at now takes a third passed: ops::Range<u64> argument.
  • Adapted the resume test: the new test in rs/moq-net/src/model/resume.rs now passes an empty 0..0 as passed, so no skipped groups are recorded. That matches the other callers in model/, which all pass three arguments.

The earlier ℹ️ note still applies and is not blocking. Before lite-07 becomes the default wire, every relayed group reaches a relay without a GROUP_END. The accepted wait after a route failure therefore covers every failover, not only producers that call bare finish().

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

@moq-bot
moq-bot Bot added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 8ee8cc7 Nov 21, 2026
8 checks passed
@moq-bot
moq-bot Bot deleted the quest/m1/switch-partial-close branch November 21, 2026 16:37
kixelated added a commit that referenced this pull request Nov 21, 2026
Keeps quest/m1/switch-caps-old.md deleted: this PR finishes it, and #9277 only
dropped its Related link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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