alexcrichton opened PR #13510 from alexcrichton:wasi-http-changes to bytecodealliance:main:
This PR is intended to be the Wasmtime-specific resolution of WebAssembly/WASI#918, WebAssembly/WASI#919, and WebAssembly/WASI#920. Two commits are included here, both of which have more details as to what they're doing. At a high level though the first commit is providing the primitives in the
wasmtimecrate's API to reflect on the async call stack as defined by the component model. The second commit then refactors ourwasmtime servehandling to thread this through and provide the host with a strong guarantee of "this request is being served on this store with this task", which is intended to then enable the store to do whatever it likes in terms of handling.
alexcrichton requested dicej for a review on PR #13510.
alexcrichton requested wasmtime-wasi-reviewers for a review on PR #13510.
alexcrichton requested wasmtime-core-reviewers for a review on PR #13510.
alexcrichton updated PR #13510.
alexcrichton updated PR #13510.
:thumbs_up: dicej submitted PR review.
:speech_balloon: dicej created PR review comment:
I'll just note that Extensions is another way to attach arbitrary data to a
Request. This is likely more efficient, though.
:speech_balloon: dicej created PR review comment:
// SAFETY: Per the safety requirements documented for the(fix a pre-existing typo)
alexcrichton updated PR #13510.
:memo: alexcrichton submitted PR review.
:speech_balloon: alexcrichton created PR review comment:
Oh I had no idea about that! I'll try to stick to
RequestIdfor now but if it becomes too onerous we can switch to that.
alexcrichton has enabled auto merge for PR #13510.
alexcrichton added PR #13510 Add async call stacks to the public API, use it in wasi:http to the merge queue
github-merge-queue[bot] removed PR #13510 Add async call stacks to the public API, use it in wasi:http from the merge queue
alexcrichton updated PR #13510.
alexcrichton has enabled auto merge for PR #13510.
alexcrichton added PR #13510 Add async call stacks to the public API, use it in wasi:http to the merge queue
:check: alexcrichton merged PR #13510.
alexcrichton removed PR #13510 Add async call stacks to the public API, use it in wasi:http from the merge queue
Last updated: Jul 29 2026 at 05:03 UTC