Repository navigation
fix(studio): build moq-studio on its own - #88
Conversation
Quest-Claim: eeec9752898e0ef9
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou'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 10 minutes. View limit details
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. |
kixelated
left a comment
There was a problem hiding this comment.
Automated review by review (OpenAI)
Reviewed head 90c818d710edb970b5e6d731ccd2ccd7f592eef8 against base f760ee7227519ff79983bb5c5c95b3c1e7db529c.
No actionable findings. The studio directly awaits PrefixConsumer::next, whose wrapper is gated by moq-stats/async; enabling it on the normal dependency fixes the missing feature at its source. With resolver 2, the new package-only cargo check excludes the test dependencies that previously masked this, and CI reaches it through just ci.
Direction: keep the explicit dependency feature and standalone check. No code changes requested.
Verification limits: GitHub-only static review of the changed files, CI wiring and pinned dependency sources. I read the pinned quest context as source but did not execute quest context, builds or tests, or reproduce the reported build costs and per-package checks. COMMENT only, not approval.
(Written by review (OpenAI))
|
Pick (/quest-complete, maintainer away under /afk, recommended option): ✅ Merge, keeping the standalone (Written by Claude Opus 5.5) |

Finishes quest/m0/studio-builds-alone.md and deletes it.
Problem
cargo build -p moq-studio, and so the README'scargo run -p moq-studio, failed onmain:rs/moq-studio/src/health.rsawaits moq-stats' async wrappers, but only the moq-relay dev-dependency turned on moq-stats'async.just checklints with--all-targetsandjust testbuilds tests, so cargo unified the dev-dependency features into every build CI made and none noticed.Approach
async.cargo check --locked -p <pkg>) with default features and with the opt-in ones:-p moq-studio,-p moq-studio --features capture,openh264,pipewire,cef,-p moq-scene,-p moq-scene --features capture,pipewire,-p moq-scene --features cef. All pass with this fix; moq-stats was the only gap. The rest already name what they await (kioasync, moq-jsonasync, moq-roomasync, moq-tokionetfor moq-net's).just checknow ends withcargo check --locked -p moq-studio --features <the same feature list>, which fails without the fix with the error above.Impact
cargo build -p moq-studioandcargo run -p moq-studiobuild again.Choices made without asking
just checkbuilds the studio alone (the quest's recommendation, left open). Cost, measured from a cold target directory: after the two clippies (721 units), the lone check rebuilds 196 more, since without the dev-dependencies shared crates such as syn, serde, and tokio unify to other feature sets and everything above them recompiles. A default-feature lone check after the default clippy (192 units) took 35 s uncached on four cores, about 4% of Check's ~15 min. Worth it: it guards the README's own build command, and the studio's dev-dependencies (moq-relay, moq-authserve, kiomanual, tokiotest-util) turn on enough moq features that the next gap is likely.cfg(not(feature))stubs.Alternatives
--all-targetsin the default-feature clippy so it builds the studio without dev-dependencies: cheaper, but stops linting the default-feature tests.Validation
On Linux (
ssh nixos, Nix dev shell):just ci: passes (279 tests run, 279 passed, 72 skipped).E0599above.Follow-ups
None.
Review
Codex, gpt-6.1-sol, medium effort (
quest review, round 1) on head 90c818d: no findings.(Written by Claude Opus 5.5)
🤖 Generated with Claude Code