WebAssembly/WASI

Inconsistency with wasi:http@0.2.0 snapshots

ospencer opened this issue · 1 comments

It looks like the wasi:http@0.2.0 package in this repository only provides the proxy world, but the wasi:http@0.2.0 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.

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)