Stream: git-wasmtime

Topic: wasmtime / PR #15142 wasi-http: enforce the outgoing-requ...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 14:07):

xia-chao opened PR #15142 from xia-chao:fix/wasi-http-child-headers to bytecodealliance:main:

#14564 fixed the incoming-request side: its headers are a child resource, so dropping the parent while headers are alive traps. outgoing-request.headers is a child too, and it doesn't trap today.

This registers it and detaches the relation in outgoing-handler.handle, which transfers ownership.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 14:07):

xia-chao removed the review request for wasmtime-wasi-reviewers from PR #15142.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 14:07):

xia-chao requested pchickey for a review on PR #15142.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 14:07):

xia-chao requested wasmtime-wasi-reviewers for a review on PR #15142.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 14:07):

xia-chao requested wasmtime-core-reviewers for a review on PR #15142.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 18:19):

pchickey commented on PR #15142:

My recollection is that we deliberately relaxed the child restriction because it was stricter than required and no longer provided us with the resource consumption guarantees it was designed to provide. As the person who championed the entire idea of child resources throughout the spec, I believe it was a mistake and we should leave it behind. We are no longer making revisions to the WASI 0.2 wits, but my position is that we can relax these restrictions even though it is contrary to the spec, since the restrictions do not serve users nor implementers.

Could you please open a PR to revert https://github.com/bytecodealliance/wasmtime/pull/14564? cc @rvolosatovs who reviewed that, I don't think I ever had a real discussion about the child restrictions relaxing with Roman and we didn't document it anywhere, so I guess its time to write it down.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 18:20):

pchickey edited a comment on PR #15142:

My recollection is that we deliberately relaxed the child restriction because it was stricter than required and no longer provided us with the resource consumption guarantees it was designed to provide. As the person who championed the entire idea of child resources throughout the spec, I believe it was a mistake and we should leave it behind. We are no longer making revisions to the WASI 0.2 wits, but my position is that we can relax these restrictions even though it is contrary to the spec, since the restrictions neither serve users nor implementers.

Could you please open a PR to revert https://github.com/bytecodealliance/wasmtime/pull/14564? cc @rvolosatovs who reviewed that, I don't think I ever had a real discussion about the child restrictions relaxing with Roman and we didn't document it anywhere, so I guess its time to write it down.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 11:15):

xia-chao commented on PR #15142:

#14564 didn't change much: it just made dropping an incoming-request with live
headers trap.
Reverting it only removes that trap again; outgoing headers don't trap, and body
streams still do.
The real issue is the inconsistent enforcement: some child relations trap,
others don't. Which ones should stay enforced?

cc @rvolosatovs

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 17:44):

:cross_mark: xia-chao closed without merge PR #15142.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 17:44):

xia-chao commented on PR #15142:

Archive it; deal with it later.


Last updated: Nov 19 2026 at 20:05 UTC