Skip to content

CI(Validation): Install the pinned Rust toolchain once, then let Turbo build the Wasm artifacts - #503

Closed
1aron wants to merge 1 commit into
mainfrom
claude/ci-speed-0e0582
Closed

1aron wants to merge 1 commit into
mainfrom
claude/ci-speed-0e0582

Conversation

@1aron

@1aron 1aron commented Nov 7, 2026

Copy link
Copy Markdown
Member

Removes the per-job cargo xtask build-wasm all prebuild so Turbo can skip the Wasm build on a cache hit (the CI speed work). This was tried twice on main and reverted: first for missing Wasm artifacts in e2e (7601203), then for a rustup download race on macOS (afeaebe, run 42321525228).

This version installs the pinned toolchain once per job (rustup toolchain install --no-self-update) before any Turbo task, so the parallel build:artifacts tasks no longer race on the auto-install.

Merge only after every validation job on this PR passes, including compat-macos and e2e-linux.

🤖 Generated with Claude Code

…o build the Wasm artifacts

Reapplies the removal of the per-job `cargo xtask build-wasm all` prebuild that
afeaebe reverted. On a fresh macOS runner the three parallel build:artifacts
tasks each triggered rustup's auto-install of rust-toolchain.toml and raced on
the same download (could not rename the downloaded .partial file, run
42321525228). Each job that runs Turbo now installs the active toolchain once
with `rustup toolchain install --no-self-update` (about 8 seconds for all six
components on a fresh RUSTUP_HOME locally) before any Turbo task, so Turbo can
still skip the Wasm build on a cache hit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@1aron

1aron commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

由 #505 取代。#505 改為透過 Turbo 依序建置並從快取還原 Wasm artifacts,所有 validation job 都通過;這個 PR 的 quality-linux 則因 type-check 找不到 Wasm artifacts 而失敗。

@1aron 1aron closed this Nov 7, 2026
@1aron
1aron deleted the claude/ci-speed-0e0582 branch November 7, 2026 19:52
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