Skip to content

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Nov 25, 2025

Summary

  • Fix incorrect WASI 0.2.3 WIT dependency definitions that don't match the actual WIT files
  • Add WASI 0.2.6 (used by wasi-sdk 29) with correct dependency chains
  • Add WASI 0.2.8 (latest stable) with correct dependency chains
  • Migrate CI from deprecated macos-13 to macos-15-intel

WASI Version → SDK Mapping

wasi-sdk wasm-component-ld wasmtime adapter WASI Version
29 (latest) 0.5.19 v38.0.4 0.2.6
26/27 0.5.14 v34.0.1 0.2.3
25 and earlier 0.5.11 older 0.2.0

WASI 0.2.3 Fixes

WASI 0.2.6 Additions (for wasi-sdk 29)

All WASI 0.2.6 interfaces with correct dependency chains:

WASI 0.2.8 Additions (latest stable)

All WASI 0.2.8 interfaces with correct dependency chains:

Test plan

  • Build @wasi_http//:http (0.2.3)
  • Build @wasi_clocks//:clocks (0.2.3)
  • Build @wasi_sockets//:sockets (0.2.3)
  • Build all WASI 0.2.6 targets (@wasi_*_v026//)
  • Build all WASI 0.2.8 targets (@wasi_*_v028//)

@avrabe avrabe force-pushed the fix/wasi-http-0.2.3-deps branch 2 times, most recently from bf10349 to 12fbca4 Compare November 25, 2025 17:09
Fix incorrect WASI 0.2.3 WIT dependency definitions:
- wasi:[email protected]: add missing deps on cli and random, fix interfaces
- wasi:[email protected]: add missing dep on wasi:io (monotonic-clock uses poll)
- wasi:[email protected]: add missing dep on wasi:clocks

Add WASI 0.2.8 (latest stable) with correct dependency chains:
- wasi:[email protected] (base, no deps)
- wasi:[email protected] (deps: io)
- wasi:[email protected] (deps: io)
- wasi:[email protected] (deps: io, clocks)
- wasi:[email protected] (deps: io, clocks)
- wasi:[email protected] (no deps)
- wasi:[email protected] (deps: io, clocks, cli, random)

Register new 0.2.8 repositories in MODULE.bazel use_repo().
@avrabe avrabe force-pushed the fix/wasi-http-0.2.3-deps branch from 12fbca4 to 9186daf Compare November 25, 2025 17:20
macos-13 runners are being deprecated by GitHub Actions.
See actions/runner-images#13046
Add WASI 0.2.6 WIT interfaces with correct dependency chains:
- wasi:[email protected] (base, no deps)
- wasi:[email protected] (deps: io)
- wasi:[email protected] (deps: io)
- wasi:[email protected] (deps: io, clocks)
- wasi:[email protected] (deps: io, clocks)
- wasi:[email protected] (no deps)
- wasi:[email protected] (deps: io, clocks, cli, random)

This version matches the WASI interfaces used by wasi-sdk 29
through wasm-component-ld 0.5.19 and wasmtime v38.0.4.
@avrabe avrabe merged commit 6cefcd6 into main Nov 25, 2025
24 checks passed
@avrabe avrabe deleted the fix/wasi-http-0.2.3-deps branch November 25, 2025 18:20
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.

2 participants