Skip to content

fix: include example WASM binaries in IPFS release tree#382

Merged
lthibault merged 2 commits intomasterfrom
fix/publish-example-wasm
Apr 12, 2026
Merged

fix: include example WASM binaries in IPFS release tree#382
lthibault merged 2 commits intomasterfrom
fix/publish-example-wasm

Conversation

@lthibault
Copy link
Copy Markdown
Contributor

Summary

  • The build-wasm job builds all examples (make examples) but the artifact upload only captured examples/echo/bin/echo.wasm, dropping oracle, counter, chess, etc.
  • The publish-ipfs job only placed std WASM files into the release tree, so examples loaded via IPNS fail at runtime with missing bin/*.wasm.

This fixes both: uploads all examples/*/bin/ as artifacts and copies them into the release tree before ipfs add.

Test plan

  • Merge to master, verify the build-wasm artifact includes all example binaries
  • Verify the IPFS release tree at the new CID contains examples/oracle/bin/oracle.wasm, examples/counter/bin/counter.wasm, etc.
  • Test ww run /ipns/<key>/examples/oracle loads without "No such file or directory"

The build-wasm job builds all examples (`make examples`) but the
artifact upload only captured echo. The publish step also only
placed std WASM files into the release tree, so examples loaded
via IPNS (e.g. `ww run /ipns/<key>/examples/oracle`) fail with
"No such file or directory" for bin/*.wasm.

- Upload all examples/*/bin/ as wasm-artifacts
- Copy example binaries into the IPFS release tree before publish
@lthibault lthibault merged commit 84d7cca into master Apr 12, 2026
10 checks passed
@lthibault lthibault deleted the fix/publish-example-wasm branch April 12, 2026 07:17
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