Skip to content

ci: harden rust release publishing#7474

Merged
Xuanwo merged 1 commit into
mainfrom
fix-rust-release-publish-plan
May 7, 2026
Merged

ci: harden rust release publishing#7474
Xuanwo merged 1 commit into
mainfrom
fix-rust-release-publish-plan

Conversation

@Xuanwo
Copy link
Copy Markdown
Member

@Xuanwo Xuanwo commented May 1, 2026

Which issue does this PR close?

Closes #7466.

Rationale for this change

The v0.56.0 release required manual Rust publishing recovery because cargo publish resolved repo-local dev-dependencies, the publish plan omitted opendal-testkit, and publishing from the core workspace directory did not target the intended opendal package precisely.

This PR moves the recovery logic into the release workflow so future releases do not depend on ad hoc manifest edits or manual ordering fixes.

What changes are included in this PR?

  • Includes core/testkit in the Rust release plan and makes opendal-testkit publishable.
  • Adds a Rust publish helper that publishes with --package, temporarily strips repo-local dev-dependencies during packaging, restores touched files, skips already-published crates, and retries crates.io rate limits.
  • Updates the release workflow, release docs, and release tracking template with the crates.io readiness and verification steps.

Are there any user-facing changes?

No runtime API changes. Release-manager documentation is updated.

AI Usage Statement

AI-assisted implementation.

@Xuanwo Xuanwo requested a review from tisonkun as a code owner May 1, 2026 22:01
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. releases-note/ci The PR modifies CI-related content or has a title that begins with "ci" labels May 1, 2026
@Xuanwo Xuanwo force-pushed the fix-rust-release-publish-plan branch from 694aee6 to 7d39d01 Compare May 2, 2026 13:58
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 7, 2026
@Xuanwo Xuanwo merged commit e56a32e into main May 7, 2026
437 of 438 checks passed
@Xuanwo Xuanwo deleted the fix-rust-release-publish-plan branch May 7, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer releases-note/ci The PR modifies CI-related content or has a title that begins with "ci" size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

release: fix Rust publish plan for split crates

3 participants