Skip to content

ci(rust): add docs.rs simulation step to prevent publish regressions#1710

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/verify-release-1-0-2-docs-rs
Draft

ci(rust): add docs.rs simulation step to prevent publish regressions#1710
Copilot wants to merge 2 commits into
mainfrom
copilot/verify-release-1-0-2-docs-rs

Conversation

Copilot AI commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

docs.rs builds in a network-sandboxed environment with nightly Rust and DOCS_RS=1 set. The fix that made 1.0.2 publish cleanly (skip CLI download when DOCS_RS is set) had no CI coverage — a future change could silently re-break docs.rs publishing.

Changes

  • .github/workflows/rust-sdk-tests.yml: Adds a cargo doc (docs.rs simulation) step (Linux only) after the existing cargo doc step. It uses the already-installed nightly-2026-04-14 toolchain with:
    • DOCS_RS=1 — exercises the build.rs skip-download path
    • RUSTDOCFLAGS="-D warnings --cfg docsrs" — mirrors [package.metadata.docs.rs] config and promotes all rustdoc warnings to errors

Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
Copilot AI changed the title [WIP] Verify release 1.0.2 publishes to docs.rs without error ci(rust): add docs.rs simulation step to prevent publish regressions Jun 17, 2026
Copilot AI requested a review from edburns June 17, 2026 17:47
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