Stream: git-wasmtime

Topic: wasmtime / PR #14708 Deliver pending cancellation of call...


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

alexcrichton opened PR #14708 from alexcrichton:eager-cancel to bytecodealliance:main:

This commit implements spec-mandated behavior of delivering task cancellation events to async-lifted callback-based tasks more eagerly. Specifically after the main lifted function runs, or after a callback runs, the return code of that iteration is ignored if there's a pending cancellation and the callback is immediately invoked with cancellation in this situation.

The relevant functions here are shifted around to consolidate some functionality and lump this all together.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.md

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

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

alexcrichton requested pchickey for a review on PR #14708.

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

alexcrichton requested wasmtime-core-reviewers for a review on PR #14708.

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

pchickey unassigned pchickey from PR #14708 Deliver pending cancellation of callback tasks more eagerly.

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

pchickey requested dicej for a review on PR #14708.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 13 2026 at 20:35):

:thumbs_up: dicej submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 13 2026 at 20:41):

alexcrichton added PR #14708 Deliver pending cancellation of callback tasks more eagerly to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 13 2026 at 21:04):

:check: alexcrichton merged PR #14708.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 13 2026 at 21:04):

alexcrichton removed PR #14708 Deliver pending cancellation of callback tasks more eagerly from the merge queue.


Last updated: Oct 31 2026 at 23:03 UTC