Skip to content

chore: run pre-0.22 recurring audits, fix moq-net fuzz build, and file blockers - #9505

Merged
kixelated merged 4 commits into
mainfrom
t3/release-audits
Nov 25, 2026
Merged

kixelated merged 4 commits into
mainfrom
t3/release-audits

Conversation

@kixelated

@kixelated kixelated commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

Before cutting 0.22.0, the recurring audits (tree, deps, code, cost, docs, tests, perf, interop) had not run against the release candidate (890ea4e531), and quest init had planted quest/m1/audit-* stubs beside the older quest/m3/audit-* files.

Approach

Ran all 8 audits against 890ea4e531 and landed their mechanical fixes, consolidated audit stubs, and pre-0.22 blockers in one PR (maintainer decision):

  • Dead code: removed the unused Routes::assert_next_offline test helper in rs/moq-net/src/model/origin.rs.
  • Docs: fixed ../lite -> ../net links in js/hang/README.md and added @moq/qmux to doc/lib/js/index.md.
  • Audit stubs: removed the 6 quest/m1/audit-* stubs, renamed quest/m3/audit-test-coverage.md to quest/m3/audit-tests.md, and turned the 6 shipped audits in quest/m3/ into ## Audit stubs carrying moq's 2026-11-23 baselines, scheduled after the cut. Refreshed audit-perf.md and audit-interop.md and repointed links.
  • Nightly triage (quest/m0/nightly/README.md): recorded where each 2026-11-23 Nightly failure is owned or why it needs nothing.
  • Existing quests updated: the Nightly evidence for the widened_max_age.test.ts failure is in widened-bounded-reader-js, and the six quinn fixes since aea1e538 are in vendor-sync/quinn.

The 2026-11-25 iteration (Claude Code takeover) merged main and re-checked each change and follow-up on current main:

  • Dropped the fuzz gate on origin::Config::new: moq-dev/moq#9555 already fixed the fuzz build on main by building the config in fuzz/session.rs directly, so the extra gate would be dead.
  • Dropped resume-model-panic.md: moq-dev/moq#9509 fixed it, and seed 1465722607 passes on main (see Validation). It is a different bug from resume-model-missing-group (seed 2, a missed group rather than an Old stop), so nothing folds in there.
  • Dropped js-widened-max-age.md as a duplicate of widened-bounded-reader-js (same test); its failing assertion and Nightly run moved there, since that quest asked for the assertion.
  • Dropped ffi-windows-size-jump.md: only the Windows import library moq_ffi.dll.lib (export stubs, linked at build time, never shipped at runtime) crossed 5%. Every shipped library and wheel stayed in bounds, the window 628ff8199d..b29b90be29 holds moq-dev/moq#9359 adding Eq, Hash, and name exports to the selectors, and Shipping sizes passed in the next Nightly.
  • Dropped quinn-upstream-sync.md as a duplicate of vendor-sync/quinn, which already checks quinn after the cut (the 2026-11-14 plan had already listed these commits). The commit list moved there.
  • Rewrote resync-tla-models to the four models still drifted on main, leaving verify-subscribe to the lite-07 subscribe rewrite and verify-reconnect (now current), and resized it L.

Overlap: this PR edits the quest files of widened-bounded-reader-js (adds evidence), which another agent may claim this run; no other PR is touched. moq-dev/moq#9578 also edits quest/m3/audit-cost.md, so whichever lands second merges it.

Impact

  • Public API: none (Routes::assert_next_offline was a test-support helper with no callers).
  • Wire: none.

Alternatives

  • 6 to 8 separate audit PRs, or keeping both quest/m1/audit-* and quest/m3/audit-*: the maintainer chose one consolidated PR.

Caused by

None: the fuzz-build fix this PR first carried is no longer in it (fixed on main by moq-dev/moq#9555).

Validation

  • MOQ_RESUME_SEED=1465722607 MOQ_RESUME_CASES=4096 bash test/resume-model.sh on the merged head: passed (Rust model 1/1, JS model 3/3).
  • just check (branch dev shell): passed, including test rs 11,506/11,506 and check quest.
  • quest check --base origin/main: 538 documents ok.
  • Nightly evidence re-read on 2026-11-25: run 45459585582 (5d86f05321) passed Tests (test resume-model), Nightly (JS coverage), and Shipping sizes (moq_ffi.dll.lib steady at 446,908 bytes); its Fuzz jobs failed on the origin::Config::new build error that moq-dev/moq#9555 fixed after it, and its paired benchmarks confirmed 5 more regressions, recorded in perf-recheck.
  • Audit evidence from the original run against 890ea4e531: cargo deny check (0 advisories), sh/js/audit.sh (0 vulnerabilities across 9 Bun projects), just js dead-code (0 issues), Nightly 45242597151, live https://git.moq.dev/relays/results.json, and the quinn-rs/quinn diff since aea1e538 (commits re-verified via the GitHub API).

Follow-ups

  • resync-tla-models [L], new, a cut.md blocker. Decided 2026-11-25 (maintainer, /quest-run): ✅ keep; ✅ blocks the 0.22 cut; ✅ all four models, verify-resume, verify-failover, verify-credit, verify-warm (rejected: resume and failover only; not a cut blocker; drop).
  • perf-recheck [M], new, a cut.md blocker after m2. Decided 2026-11-25 (maintainer, /quest-run): ✅ keep; ✅ blocks the 0.22 cut (rejected: not a blocker; drop).
  • Edited, not new: vendor-sync/quinn gains the six quinn fixes and stays after the cut, per the 2026-11-14 plan.

Decisions

Taken while the maintainer was away (2026-11-25, /quest-run afk), each open to reversal at the pick:

Models

Size: M
Implementer: Antigravity, gemini-4-neon, high effort
Implementer: Claude Code, claude-opus-5-5, unknown effort (iterate, M)
Implementer: Claude Code, claude-opus-5-5, low effort (iterate, XS)

(Written by Claude Opus 5.5)

Review

Rewritten by quest review after each round.

  • Head: 1307457
  • Base: origin/main at 1d6aa3a
  • Risk: low, The diff is quest plans and audit notes, documentation (doc/lib/js/index.md, js/hang/README.md link fixes), and one removal of `assert_next_offline` in rs/moq-net/src/model/origin.rs. That helper had no callers at the base and sits with the test-only assert_next_* helpers, so nothing a consumer or peer relies on changes; if it was wrongly removed, a revert restores it. Nothing a published API, wire format, or stored data depends on is touched, so low is the tier.
  • Classified: low by Claude Code, claude-haiku-5-5, low effort, session c957c359-7cd6-4705-a49a-de3cec9f789d
  • Local review: none, since the head is low risk

@kixelated
kixelated marked this pull request as draft November 23, 2026 22:56
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The changes add @moq/qmux to the JavaScript package index and correct @moq/net links. Quest documents record Nightly triage, revise audit plans and findings, and add TLA+ model-resync and release-performance tasks. The test-only assert_next_offline helper is removed.

Pre-merge checks: Passed 1 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Title check Warning The title names three changes: running pre-0.22 recurring audits, fixing the moq-net fuzz build, and filing blockers. The PR description and objectives say the fuzz-build fix was dropped because main … Remove the fuzz-build clause from the title. A title such as "chore: run pre-0.22 recurring audits and file release blockers" matches the final changeset.
Passed Passed checks: 1 passed

Check name Status Explanation
Description check Passed The description is specific and related to the changeset. It states the goal of consolidating pre-0.22 audits, lists the concrete code change (removing the unused Routes::assert_next_offline helper), …
Full details: Description check

Explanation

The description is specific and related to the changeset. It states the goal of consolidating pre-0.22 audits, lists the concrete code change (removing the unused Routes::assert_next_offline helper), the docs link fixes in js/hang/README.md and doc/lib/js/index.md, the audit stub consolidation under quest/m1 and quest/m3, the Nightly triage entries, and the quinn vendor-sync update. It also records validation commands, impact (no public API or wire changes), and follow-up decisions. These all match the raw summary of file changes.

Full details: Title check

Explanation

The title names three changes: running pre-0.22 recurring audits, fixing the moq-net fuzz build, and filing blockers. The PR description and objectives say the fuzz-build fix was dropped because main fixed it in #9555. The title therefore describes a change the PR no longer contains. The title is partly related because the audit and blocker work is the main change.

Resolution

Remove the fuzz-build clause from the title. A title such as "chore: run pre-0.22 recurring audits and file release blockers" matches the final changeset.

Finishing Touches

Simplify code

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

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: 44c3d450-f94b-47f9-94e4-5b5049e6f8cf
Commits

Reviewing files that changed from the base of the PR and between 9ad7001 and d8412af.

Files selected for processing: 29

  • doc/lib/js/index.md
  • js/hang/README.md
  • quest/m0/nightly/README.md
  • quest/m0/test-flakes-4/widened-bounded-reader-js.md
  • quest/m1/audit-code.md
  • quest/m1/audit-cost.md
  • quest/m1/audit-deps.md
  • quest/m1/audit-docs.md
  • quest/m1/audit-tests.md
  • quest/m1/audit-tree.md
  • quest/m1/resync-tla-models.md
  • quest/m3/audit-code.md
  • quest/m3/audit-cost.md
  • quest/m3/audit-deps.md
  • quest/m3/audit-docs.md
  • quest/m3/audit-interop.md
  • quest/m3/audit-perf.md
  • quest/m3/audit-test-coverage.md
  • quest/m3/audit-tests.md
  • quest/m3/audit-tree.md
  • quest/m3/pulseaudio-capture-period.md
  • quest/m3/release/cut.md
  • quest/m3/release/perf-recheck.md
  • quest/m3/vaapi-render-tests.md
  • quest/m3/vendor-sync/README.md
  • quest/m3/vendor-sync/quinn.md
  • quest/m4/mutants-modelled.md
  • quest/m5/askama-maintained.md
  • rs/moq-net/src/model/origin.rs
Files with no reviewable changes: 8

  • quest/m1/audit-code.md
  • quest/m1/audit-cost.md
  • quest/m1/audit-deps.md
  • quest/m1/audit-docs.md
  • quest/m1/audit-tests.md
  • quest/m1/audit-tree.md
  • quest/m3/audit-test-coverage.md
  • rs/moq-net/src/model/origin.rs

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

@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 adds the fuzz feature to the cfg gate on origin::Config::new, which fixes the build, and it moves the audit and blocker quests into one consolidated change.

Reviewed changes

I read the Rust change, the doc fixes, and cut.md and perf-recheck.md in full. I did not read the other quest stubs line by line. I did not run any builds.

  • moq-net fuzz build: origin::Config::new is now #[cfg(any(test, feature = "test-support", feature = "fuzz"))]. This matches the existing fuzz gate on Hop::new just above it, and the doc comment is updated to match.
  • Dead helper removed: Routes::assert_next_offline is deleted. A grep of rs/ finds no remaining callers.
  • Docs: the js/hang/README.md links and the doc/lib/js/index.md entry are fixed.
  • Quests: the quest/m1/audit-* stubs are consolidated into quest/m3/audit-*. The new blocker quests are added and wired into cut.md and the nightly README.

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

@kixelated

Copy link
Copy Markdown
Collaborator Author

quest/m0/nightly/resume-model-panic.md, which this PR adds, describes the same failure as moq-dev/moq#9509: a history reader narrows its ranges and a group it holds stops with Old. With #9509, MOQ_RESUME_SEED=1465722607 MOQ_RESUME_CASES=4096 passes, so the quest can be dropped from this PR, or once #9509 lands.

(Written by Claude Opus 5.5 with high)

@kixelated

Copy link
Copy Markdown
Collaborator Author

Note from the 2026-11-24 subscribe/fetch audit (#9559):

  • In quest/m1/resync-tla-models.md, verify-subscribe (rs/moq-net/verify/subscribe/SubscribeAccounting.tla) is now owned by quest/m2/lite07-subscribe/previous-delta.md and quest/m2/lite07-subscribe/per-range-policy.md, which will rewrite it for Previous Delta, RESET_STREAM_AT, no SUBSCRIBE_SKIP, and per-range policy. Resyncing verify-subscribe beforehand would be thrown away; resync-tla-models.md should cover the remaining drifted models (verify-resume, verify-failover, verify-credit, verify-warm) and leave verify-subscribe to lite07-subscribe.
  • quest/m0/nightly/js-widened-max-age.md and quest/m0/nightly/resume-model-panic.md remain valid and independent Nightly blockers.

(Written by gemini-4-neon with high effort)

kixelated and others added 2 commits November 25, 2026 02:35
Drop the fuzz gate main already fixed (#9555), drop follow-ups that are
fixed (resume-model seed, #9509) or explained (ffi import lib), and fold
duplicates into widened-bounded-reader-js and vendor-sync/quinn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated

Copy link
Copy Markdown
Collaborator Author

Applied at d8412af:

  • resume-model-panic.md is dropped: with fix(net): a group a history read holds stays owed once its ranges move off it #9509 merged, MOQ_RESUME_SEED=1465722607 MOQ_RESUME_CASES=4096 bash test/resume-model.sh passes on main.
  • resync-tla-models.md now covers only verify-resume, verify-failover, verify-credit, and verify-warm, leaving verify-subscribe to quest/m2/lite07-subscribe/.
  • js-widened-max-age.md folded into quest/m0/test-flakes-4/widened-bounded-reader-js.md (same test), so it is no longer a separate Nightly blocker.

(Written by Claude Opus 5.5)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated

Copy link
Copy Markdown
Collaborator Author

Maintainer decision (2026-11-25, /quest-run), recorded in each quest's Plan in 1307457:

  • resync-tla-models: ✅ keep; ✅ it blocks the 0.22 cut; ✅ all four models, verify-resume, verify-failover, verify-credit, verify-warm (rejected: resume and failover only; not a cut blocker; drop).
  • perf-recheck: ✅ keep; ✅ it blocks the 0.22 cut (rejected: not a blocker; drop).

Both were already listed under ## Required in quest/m3/release/cut.md, so the cut waits on them. Pick: /quest-merge.

(Written by Claude Opus 5.5 with low effort)

@kixelated

Copy link
Copy Markdown
Collaborator Author

The maintainer decision in #9505 (comment) is applied by 1307457: both answers are recorded in quest/m1/resync-tla-models.md and quest/m3/release/perf-recheck.md, and both quests are already Required in quest/m3/release/cut.md.

(Written by Claude Opus 5.5 with high)

@kixelated
kixelated added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit fe9067d Nov 25, 2026
9 checks passed
@kixelated
kixelated deleted the t3/release-audits branch November 25, 2026 16:41
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