Stream: wasi

Topic: wasi-io spec ambiguity


view this post on Zulip Lann Martin (May 12 2025 at 12:43):

Anyone who has worked on implementing a wasi-io host or guest may be interested in this discussion: https://github.com/WebAssembly/wasi-io/issues/109

We ran into this while working on a guest SDK where we were surprised to see a closed result from an apparently successful blocking-write-and-flush with wasmtime-wasi-http. My understanding is that...

view this post on Zulip Lann Martin (May 12 2025 at 12:44):

tl;dr there seems to be some ambiguity in error handling between the flush and final check-write of blocking-write-and-flush

view this post on Zulip Lann Martin (May 12 2025 at 12:45):

This isn't (entirely) theoretical; it came out of a debugging session. There may be other similar ambiguities; I plan on looking more closely once we've nailed down this one.


Last updated: Dec 06 2025 at 06:05 UTC