Skip to content

[ci] Read docs.rs arguments from Cargo metadata - #3585

Open
joshlf wants to merge 1 commit into
Gx6vwydb7e2ijorcpxmqt3axxviika37lfrom
Getgur4i3su6l2xcpgewl2bbvcskszm5r
Open

[ci] Read docs.rs arguments from Cargo metadata#3585
joshlf wants to merge 1 commit into
Gx6vwydb7e2ijorcpxmqt3axxviika37lfrom
Getgur4i3su6l2xcpgewl2bbvcskszm5r

Conversation

@joshlf

@joshlf joshlf commented Aug 25, 2026

Copy link
Copy Markdown
Member

The nightly documentation command must include the exact Rustdoc
arguments that docs.rs uses. Keeping another list in the command model
would let the two copies drift.

Read the ordered arguments from the canonical Zerocopy package
selected by CI policy. Reject missing or malformed metadata, ownership
by the wrong package, and values whose argument boundaries the current
RUSTDOCFLAGS transport cannot preserve. Expose only checked arguments
to later planning code.

Tests: cargo test -p zc --all-targets
cargo clippy -p zc --all-targets --offline -- -D warnings

Authored by an agent, posting via joshlf's account


Latest Update: v9 — Compare vs v8

📚 Full Patch History

Links show the diff between the row version and the column version.

Version v8 v7 v6 v5 v4 v3 v2 v1 Base
v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v8 v7 v6 v5 v4 v3 v2 v1 Base
v7 v6 v5 v4 v3 v2 v1 Base
v6 v5 v4 v3 v2 v1 Base
v5 v4 v3 v2 v1 Base
v4 v3 v2 v1 Base
v3 v2 v1 Base
v2 v1 Base
v1 Base
⬇️ Download this PR

Branch

git fetch origin refs/heads/Getgur4i3su6l2xcpgewl2bbvcskszm5r && git checkout -b pr-Getgur4i3su6l2xcpgewl2bbvcskszm5r FETCH_HEAD

Checkout

git fetch origin refs/heads/Getgur4i3su6l2xcpgewl2bbvcskszm5r && git checkout FETCH_HEAD

Cherry Pick

git fetch origin refs/heads/Getgur4i3su6l2xcpgewl2bbvcskszm5r && git cherry-pick FETCH_HEAD

Pull

git pull origin refs/heads/Getgur4i3su6l2xcpgewl2bbvcskszm5r

Stacked PRs enabled by GHerrit.

@codecov-commenter

codecov-commenter commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.85%. Comparing base (808f3be) to head (d49794e).

Additional details and impacted files
@@                        Coverage Diff                         @@
##           Gx6vwydb7e2ijorcpxmqt3axxviika37l    #3585   +/-   ##
==================================================================
  Coverage                              91.85%   91.85%           
==================================================================
  Files                                     20       20           
  Lines                                   6093     6093           
==================================================================
  Hits                                    5597     5597           
  Misses                                   496      496           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

joshlf commented Aug 25, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 4797a985a0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

joshlf commented Aug 25, 2026

Copy link
Copy Markdown
Member Author

Authored by an agent, posting via joshlf's account

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: f6b4a8b8d8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

The nightly documentation command must include the exact Rustdoc
arguments that docs.rs uses. Keeping another list in the command model
would let the two copies drift.

Read the ordered arguments from the canonical Zerocopy package
selected by CI policy. Reject missing or malformed metadata, ownership
by the wrong package, and values whose argument boundaries the current
RUSTDOCFLAGS transport cannot preserve. Expose only checked arguments
to later planning code.

Tests: cargo test -p zc --all-targets
       cargo clippy -p zc --all-targets --offline -- -D warnings

*Authored by an agent, posting via joshlf's account*

gherrit-pr-id: Getgur4i3su6l2xcpgewl2bbvcskszm5r
@joshlf
joshlf force-pushed the Getgur4i3su6l2xcpgewl2bbvcskszm5r branch from f6b4a8b to d49794e Compare August 26, 2026 01:28
@joshlf
joshlf force-pushed the Gx6vwydb7e2ijorcpxmqt3axxviika37l branch from dc4ded5 to 808f3be Compare August 26, 2026 01:28
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