Stream: git-wasmtime

Topic: wasmtime / PR #14742 simplify handling of dropped `call_a...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 14 2026 at 15:47):

alexcrichton opened PR #14742 from alexcrichton:simplify-handling-dropped-futures to bytecodealliance:main:

Further testing of #14618 revealed that calling
cancel_guest_subtask_without_lowered_parameters while dropping a call_async future can be hazardous in various subtle ways and that it's safer to just replace the lower_params callback on the GuestTask with one that always traps.

Even better would be to allow the callback to return a special result that indicates the event loop should skip the call, clean up the task gracefully, and move on. However, we'll address that in a separate issue.

part of https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-3r89-v5mq-j5xf

view this post on Zulip Wasmtime GitHub notifications bot (Oct 14 2026 at 17:49):

:thumbs_up: pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 14 2026 at 17:51):

alexcrichton added PR #14742 simplify handling of dropped call_async futures to the merge queue.

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

:check: alexcrichton merged PR #14742.

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

alexcrichton removed PR #14742 simplify handling of dropped call_async futures from the merge queue.


Last updated: Oct 31 2026 at 23:03 UTC