ci(release): speed up package publishing - #453
Merged
Merged
Conversation
abimaelmartell
marked this pull request as ready for review
August 21, 2026 22:47
There was a problem hiding this comment.
No issues found across 5 files
Shadow auto-approve: would require human review. Publishing workflows move to Blacksmith runners, add sccache/rust-cache, and split wasm build from publish — operational and trust changes needing human review.
Re-trigger cubic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves compute-heavy Python wheel and npm native-addon matrices to Blacksmith runners while retaining GitHub’s Intel macOS runner, enables maturin sccache, and runs package smoke tests on smaller Blacksmith runners. It also adds Rust caching for crate and WebAssembly releases, shares the WebAssembly cache with regular CI, and separates the Blacksmith-hosted WebAssembly build from the GitHub-hosted publish job so publishing credentials remain isolated.
Summary by cubic
Speed up release publishing by moving heavy build matrices to Blacksmith runners, enabling Rust build caching, and splitting WebAssembly build/publish to isolate credentials. Previously Python wheels and Node native-addons built on GitHub-hosted runners; now they build on Blacksmith, while Intel macOS builds remain on GitHub.
publish.ymlandpublish-pypi.ymlmatrices to Blacksmith labels; run smoke tests on smaller Blacksmith runners; keepmacos-15-intelfor x86_64 macOS.maturinsccache: true.Swatinem/rust-cacheto crate and WebAssembly jobs; share the wasm cache with CI viashared-key: wasm(update inci.yml).publish-wasm.ymlintobuild(Blacksmith) andpublish(GitHub with OIDC); pass the package viaactions/upload-artifact/actions/download-artifact.blacksmith-8vcpu-ubuntu-2404,blacksmith-6vcpu-macos-15,blacksmith-8vcpu-windows-2025,blacksmith-4vcpu-ubuntu-2404,blacksmith-2vcpu-ubuntu-2404(-arm),blacksmith-2vcpu-windows-2025) and npm OIDC provenance remains authorized.Written for commit a397ac0. Summary will update on new commits.