Skip to content

ci(tools): run rustdoc with --all-features#21427

Merged
graphite-app[bot] merged 1 commit intomainfrom
om/04-14-ci_tools_run_rustdoc_with_--all-features_
Apr 22, 2026
Merged

ci(tools): run rustdoc with --all-features#21427
graphite-app[bot] merged 1 commit intomainfrom
om/04-14-ci_tools_run_rustdoc_with_--all-features_

Conversation

@overlookmotel
Copy link
Copy Markdown
Member

@overlookmotel overlookmotel commented Apr 14, 2026

just doc run rustdoc with --all-features flag.

I discovered that just doc was not, for example, catching errors in doc comments in #21425, because the code is behind a feature which is not enabled by default.

Copy link
Copy Markdown
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel marked this pull request as ready for review April 14, 2026 13:27
Copilot AI review requested due to automatic review settings April 14, 2026 13:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates documentation generation commands to build Rust docs with all Cargo features enabled, ensuring doc comment errors in feature-gated code are caught (e.g., cases like #21425).

Changes:

  • Add --all-features to the just doc recipe on both Unix and Windows.
  • Add --all-features to the CI “Doc” job’s cargo doc invocation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
justfile Ensures local just doc runs cargo doc with --all-features on Unix and Windows.
.github/workflows/ci.yml Ensures CI documentation build covers all feature-gated code paths by using --all-features.

@overlookmotel overlookmotel self-assigned this Apr 22, 2026
@overlookmotel
Copy link
Copy Markdown
Member Author

No-one has objected, so merging...

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Apr 22, 2026
Copy link
Copy Markdown
Member Author

overlookmotel commented Apr 22, 2026

Merge activity

`just doc` run rustdoc with `--all-features` flag.

I discovered that `just doc` was not, for example, catching errors in doc comments in #21425, because the code is behind a feature which is not enabled by default.
@graphite-app graphite-app Bot force-pushed the om/04-14-ci_tools_run_rustdoc_with_--all-features_ branch from 54ffc18 to eb89608 Compare April 22, 2026 01:03
@graphite-app graphite-app Bot merged commit eb89608 into main Apr 22, 2026
25 checks passed
@graphite-app graphite-app Bot removed the 0-merge Merge with Graphite Merge Queue label Apr 22, 2026
@graphite-app graphite-app Bot deleted the om/04-14-ci_tools_run_rustdoc_with_--all-features_ branch April 22, 2026 01:07
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.

2 participants