Skip to content

Re-pin wkg.lock automatically when publishing the bridge wasm - #164

Merged
andreaTP merged 1 commit into
bytecodealliance:mainfrom
andreaTP:wasm-publish-repin
Aug 26, 2026
Merged

Re-pin wkg.lock automatically when publishing the bridge wasm#164
andreaTP merged 1 commit into
bytecodealliance:mainfrom
andreaTP:wasm-publish-repin

Conversation

@andreaTP

Copy link
Copy Markdown
Contributor

Rust is not byte-reproducible across toolchains, so every publish yields a new digest even when the source is unchanged: the run that verified GHCR permissions rebuilt the wasm 1.4KB smaller and broke main and every open PR with a digest mismatch, needing a manual lock refresh (#163).

The workflow now re-pins the lock and pushes it back in the same run, so publishing and pinning land together. It builds before committing, so a wasm that does not build is never pinned.

Rust is not byte-reproducible across toolchains, so every publish yields
a new digest even when the source is unchanged: the run that verified
GHCR permissions rebuilt the wasm 1.4KB smaller and broke main and every
open PR with a digest mismatch, needing a manual lock refresh (bytecodealliance#163).

The workflow now re-pins the lock and pushes it back in the same run, so
publishing and pinning land together. It builds before committing, so a
wasm that does not build is never pinned.
@andreaTP
andreaTP merged commit 5977527 into bytecodealliance:main Aug 26, 2026
25 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