Skip to content

fix(rs): features job passes without async - #9428

Merged
kixelated merged 1 commit into
mainfrom
fix/moq-json-rustdoc
Nov 22, 2026
Merged

kixelated merged 1 commit into
mainfrom
fix/moq-json-rustdoc

Conversation

@kixelated

@kixelated kixelated commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

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, so cargo tree -e features shows moq-net feature "default" and the guard against test dependencies enabling async rejects it.
  • just rs coroutines: cargo doc -p moq-json --no-default-features fails on the Consumer::next intra-doc link, since next is the generated async wrapper and only poll_next exists without it.

Approach

  • Set default-features = false on moq-net's self dev-dependency (default is empty today, but the guard rightly rejects it since it could gain async). nix/Cargo.nix regenerated.
  • Link Config::delay's doc to Consumer::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 default from the guard's pattern; rejected, since the guard exists to catch a future default that pulls in async.

Caused by

  • moq-dev/moq#8952 - added the self dev-dependency without default-features = false (found by check)
  • moq-dev/moq#8907 - linked the async-only Consumer::next in moq-json docs (found by check)

Validation

Without the fix, cargo tree --locked -p moq-net --no-default-features -e features -i moq-net lists feature "default" and cargo doc -p moq-json --no-deps --no-default-features with -D warnings fails on Consumer::next. With it, just rs net-features --all and just rs coroutines pass.

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 review after 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-014f8e8f9683

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

  • Session: 01a20452-42ff-74a1-a4e0-4a05be073b3b, round 1

  • Score: 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

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

coderabbitai Bot commented Nov 22, 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 4 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: 37c3b8d8-312d-44a2-96c8-2963ec095437
Commits

Reviewing files that changed from the base of the PR and between 08dfa67 and 4cafaf0.

Files selected for processing: 3

  • nix/Cargo.nix
  • rs/moq-json/src/snapshot/consumer.rs
  • rs/moq-net/Cargo.toml
  • 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 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 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 — Sets default-features = false on the self dev-dependency.
  • nix/Cargo.nix — Adds the matching usesDefaultFeatures = false, so the regenerated file agrees with the manifest.
  • rs/moq-json/src/snapshot/consumer.rs — Points the Config::delay doc link at Consumer::poll_next instead of the async-only next.

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

@kixelated
kixelated added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit d74e646 Nov 22, 2026
7 checks passed
@kixelated
kixelated deleted the fix/moq-json-rustdoc branch November 22, 2026 23:25
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