Skip to content

ci(release): speed up package publishing - #453

Merged
abimaelmartell merged 1 commit into
mainfrom
abi/release-ci-speedup
Aug 21, 2026
Merged

ci(release): speed up package publishing#453
abimaelmartell merged 1 commit into
mainfrom
abi/release-ci-speedup

Conversation

@abimaelmartell

@abimaelmartell abimaelmartell commented Aug 21, 2026

Copy link
Copy Markdown
Member

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.

  • Runner updates: switch publish.yml and publish-pypi.yml matrices to Blacksmith labels; run smoke tests on smaller Blacksmith runners; keep macos-15-intel for x86_64 macOS.
  • PyPI: enable maturin sccache: true.
  • Rust caching: add Swatinem/rust-cache to crate and WebAssembly jobs; share the wasm cache with CI via shared-key: wasm (update in ci.yml).
  • WebAssembly: split publish-wasm.yml into build (Blacksmith) and publish (GitHub with OIDC); pass the package via actions/upload-artifact/actions/download-artifact.
  • No change to published artifacts; expect shorter runtimes. Rollout: ensure Blacksmith runners exist (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.

Review in cubic

@abimaelmartell
abimaelmartell marked this pull request as ready for review August 21, 2026 22:47

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

@abimaelmartell
abimaelmartell merged commit 23cf1ad into main Aug 21, 2026
11 checks passed
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.

1 participant