Repository navigation
fix(rs): features job passes without async - #9428
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
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 4 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. |
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Approach: sound — it fixes both nightly failures at their cause: the self dev-dependency stops enabling default, and the doc link targets an API that exists under every feature set.
Reviewed changes
rs/moq-net/Cargo.toml— Setsdefault-features = falseon the self dev-dependency.nix/Cargo.nix— Adds the matchingusesDefaultFeatures = false, so the regenerated file agrees with the manifest.rs/moq-json/src/snapshot/consumer.rs— Points theConfig::delaydoc link atConsumer::poll_nextinstead of the async-onlynext.
claude-sonnet-5-5 | 𝕏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Problem
Nightly's
features / Features (rs features)job fails two recipes (run 45035580806):just rs net-features: moq-net's self dev-dependency keeps default features, socargo tree -e featuresshowsmoq-net feature "default"and the guard against test dependencies enablingasyncrejects it.just rs coroutines:cargo doc -p moq-json --no-default-featuresfails on theConsumer::nextintra-doc link, sincenextis the generatedasyncwrapper and onlypoll_nextexists without it.Approach
default-features = falseon moq-net's self dev-dependency (defaultis empty today, but the guard rightly rejects it since it could gainasync).nix/Cargo.nixregenerated.Config::delay's doc toConsumer::poll_next, which exists under every feature set.The rest of the job's log (quic/media features, workspace check/clippy/doc/nextest, 13308 tests) passed.
Impact
None: docs and a dev-dependency only.
Alternatives
Dropping
defaultfrom the guard's pattern; rejected, since the guard exists to catch a futuredefaultthat pulls inasync.Caused by
default-features = false(found by check)Consumer::nextin moq-json docs (found by check)Validation
Without the fix,
cargo tree --locked -p moq-net --no-default-features -e features -i moq-netlistsfeature "default"andcargo doc -p moq-json --no-deps --no-default-featureswith-D warningsfails onConsumer::next. With it,just rs net-features --allandjust rs coroutinespass.Follow-ups
None.
Models
Size: XS
Implementer: Claude, claude-opus-5-5, unknown effort
🤖 Generated with Claude Code
(Written by Opus 5.5)
Review
Rewritten by
quest reviewafter each round.Head: 4cafaf0
Base: origin/main at 08dfa67
Risk: low,
Nothing a consumer or peer relies on changes: the diff only adds `usesDefaultFeatures = false` to a nix test-dependency entry, makes a rustdoc link point at `poll_next` instead of `next`, and sets `default-features = false` on moq-net's own dev-dependency used by its tests and benches, so the worst breakage is a local test or nix build failing, and a revert fully undoes it.Classified: low by Claude Code, claude-haiku-5-5, low effort, session
df02060f-80be-4bcc-86e3-014f8e8f9683Reviewer: Codex, gpt-6.1-sol, medium effort
Session:
01a20452-42ff-74a1-a4e0-4a05be073b3b, round 1Score: 10/10,
Source review found no behavioral defects, and repository consumers and the Nix entry remain consistent; builds and tests were not run as instructed.Rounds: 2; first round 0; findings 0: fixed 0, refuted 0, open 0
Findings: none