Stream: git-wasmtime

Topic: wasmtime / PR #14382 update `subtask.cancel` implementati...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 22 2026 at 22:54):

dicej requested alexcrichton for a review on PR #14382.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 22 2026 at 22:54):

dicej requested wasmtime-core-reviewers for a review on PR #14382.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 22 2026 at 22:54):

dicej opened PR #14382 from dicej:subtask-cancel-tweaks to bytecodealliance:main:

https://github.com/WebAssembly/component-model/pull/726 refined the behavior of subtask.cancel to more closely match how async-lowered calls behave, meaning the runtime must resume the cancelling thread specifically as soon as the cancellee suspends or exits.

This required some refactoring, and I believe it's a net simplification of how the runtime decides which thread to switch to and when.

Since the aforementioned spec PR has not yet been merged as of this writing, I haven't updated the tests/component-model submodule yet, but I've verified locally that the new tests pass.

<!--
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 (Sep 23 2026 at 00:05):

:thumbs_up: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 23 2026 at 01:52):

github-actions[bot] added the label wasmtime:api on PR #14382.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 23 2026 at 13:42):

dicej added PR #14382 update subtask.cancel implementation to match latest spec tweak to the merge queue.

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

:check: dicej merged PR #14382.

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

dicej removed PR #14382 update subtask.cancel implementation to match latest spec tweak from the merge queue.


Last updated: Oct 11 2026 at 02:20 UTC