Skip to content

fix(release): install wasm32-unknown-unknown — v1.131.0 shipped without components - #332

Merged
avrabe merged 1 commit into
mainfrom
fix/release-add-unknown-target
Aug 6, 2026
Merged

fix(release): install wasm32-unknown-unknown — v1.131.0 shipped without components#332
avrabe merged 1 commit into
mainfrom
fix/release-add-unknown-target

Conversation

@avrabe

@avrabe avrabe commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Regression from #329

#329 switched no_std components to wasm32-unknown-unknown, but the flight-component job's toolchain only installs wasm32-wasip2:

building rate (wasm32-unknown-unknown)... ERROR: no .wasm found

My error, and a familiar one: I verified #329 locally — where I'd run rustup target add wasm32-unknown-unknown — and didn't check the environment that actually matters. Same class as the wasip1-vs-wasip2 mistake earlier in this arc: right property, wrong environment.

What the guard caught, and what it couldn't

Worked (#323 fail-loud): the build aborted instead of falling through to a stale artifact, and the ghcr publish was skipped rather than shipping something wrong. Nothing bad was published — ghcr still serves 1.129.0/1.130.0 only.

Couldn't prevent: create-release runs before flight-component, so the v1.131.0 GitHub release was already published (12 assets — binaries, SBOM, sums) and is missing its wasm components. It is incomplete, not incorrect; consumers pulling components still resolve to 1.130.0.

Plan

Mark v1.131.0's notes superseded and cut the complete release as v1.131.1 — rather than moving a published tag.

🤖 Generated with Claude Code

…ut components

Regression from #329. That PR switched no_std components to build
wasm32-unknown-unknown, but the flight-component job's toolchain only installs
wasm32-wasip2, so the release failed at:

    building rate (wasm32-unknown-unknown)... ERROR: no .wasm found

I verified #329 locally, where I had run `rustup target add
wasm32-unknown-unknown` — and did not check the environment that actually
matters. Same class as the wasip1-vs-wasip2 mistake: right property, wrong
environment.

Add both targets to the job.

WHAT THE GUARD DID AND DID NOT CATCH — the fail-loud from #323 worked: the build
aborted instead of falling through to a stale artifact, and the ghcr publish was
SKIPPED rather than shipping something wrong. Nothing bad was published; ghcr
still serves 1.129.0/1.130.0 only.

What it could not prevent: `create-release` runs BEFORE `flight-component`, so
the v1.131.0 GitHub release was already published (12 assets: binaries, SBOM,
sums) and is now missing its wasm components. It is incomplete, not incorrect —
consumers pulling components still resolve to 1.130.0. v1.131.0's notes will be
marked superseded and the complete release cut as v1.131.1 rather than moving a
published tag.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HvusAXYbHLyv3uTzfBcMbG
@avrabe
avrabe enabled auto-merge (squash) August 6, 2026 00:03
@avrabe
avrabe merged commit 910e4fb into main Aug 6, 2026
11 checks passed
@avrabe
avrabe deleted the fix/release-add-unknown-target branch August 6, 2026 00:11
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