WASI icon indicating copy to clipboard operation
WASI copied to clipboard

Inconsistency with wasi:[email protected] snapshots

Open ospencer opened this issue 1 year ago • 1 comments

It looks like the wasi:[email protected] package in this repository only provides the proxy world, but the wasi:[email protected] package over in https://github.com/WebAssembly/wasi-http/blob/main/wit/proxy.wit#L5 also provides the imports world.

This can confuse some tooling (and humans) because both (the same?) packages are versioned as 0.2.0 but don't supply the same worlds.

It'd be great if we could sync them now and then implement a way to ensure they stay in sync with future updates.

ospencer avatar Mar 16 '24 14:03 ospencer

It looks like we brought over the tagged version of the package which is what I'd expect: https://github.com/WebAssembly/wasi-http/blob/v0.2.0/wit/proxy.wit#L5

Then later new changes came onto main that would be really great to get in and have these two synchronized. The good news is that adding a world that brings in the imports then is unioned with wasi:http/proxy, this will be purely-additive and backwards compatible.

We should fix sooner rather than later (perhaps 0.2.1)

ricochet avatar Mar 18 '24 21:03 ricochet