Stream: git-wasmtime

Topic: wasmtime / PR #12036 "Downgrade" threads support to tier ...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2025 at 19:27):

alexcrichton opened PR #12036 from alexcrichton:downgrade-threads to bytecodealliance:main:

This commit is borne out of a fuzz bug that was opened recently. The fuzz bug specifically has to do with fallout from #12022, specifically SharedMemory being used to allocated instead of Memory. In this situation the resource limiter is no longer consulted meaning that shared memories bypass this and aren't caught by OOM checks. This is currently by design because SharedMemory instances don't know which resource limiter to hook into per-store.

More generally though the implementation of wasm threads, while workable in Wasmtime, has a number of known relatively large deficiencies. These were not resolved prior to ungating the wasm proposal (that's on me) but nevertheless the quality of implementation is not quite up to "tier 1 par" with the rest of what Wasmtime offers. Given that I'm proposing that threads is downgraded to tier 2 for now which means, primarily, that we won't issue CVEs for issues with it. The proposal is still on-by-default and usable-by-default, but my hope is to reflect the current level of quality in Wasmtime with this adjustment.

This commit shuffles around some documentation of wasm proposals to split it into tier 1/2/3 instead of on/off-by-default and then adds a column for whether the proposal is on-by-default.

<!--
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 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 (Nov 17 2025 at 19:27):

alexcrichton requested wasmtime-fuzz-reviewers for a review on PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2025 at 19:27):

alexcrichton requested cfallin for a review on PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2025 at 19:27):

alexcrichton requested wasmtime-default-reviewers for a review on PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2025 at 19:43):

cfallin submitted PR review:

No objections from me at least; not sure if we want to discuss in the Wasmtime meeting or if anyone else has any input on the decision...

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2025 at 19:53):

alexcrichton commented on PR #12036:

Good point yeah, let's discuss in a meeting

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2025 at 22:45):

github-actions[bot] commented on PR #12036:

Subscribe to Label Action

cc @fitzgen

<details>
This issue or pull request has been labeled: "fuzzing", "wasmtime:docs"

Thus the following users have been cc'd because of the following labels:

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.
</details>

view this post on Zulip Wasmtime GitHub notifications bot (Nov 21 2025 at 02:23):

alexcrichton requested dicej for a review on PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 21 2025 at 02:23):

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

view this post on Zulip Wasmtime GitHub notifications bot (Nov 21 2025 at 02:23):

alexcrichton updated PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 21 2025 at 02:25):

alexcrichton commented on PR #12036:

Ok updated this from today's discussion in the Wasmtime meeting namely:

Notably there's not actually any means of exercising the threading/problematic parts of the API, namely SharedMemory. That being said single-threaded atomics are still allowed in wasm which should work just fine.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 21 2025 at 02:25):

alexcrichton updated PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 21 2025 at 04:47):

github-actions[bot] commented on PR #12036:

Label Messager: wasmtime:config

It looks like you are changing Wasmtime's configuration options. Make sure to
complete this check list:

[fuzzing-config]: https://github.com/bytecodealliance/wasmtime/blob/ca0e8d0a1d8cefc0496dba2f77a670571d8fdcab/crates/fuzzing/src/generators.rs#L182-L194
[fuzzing-docs]: https://docs.wasmtime.dev/contributing-fuzzing.html


<details>

To modify this label's message, edit the <code>.github/label-messager/wasmtime-config.md</code> file.

To add new label messages or remove existing label messages, edit the
<code>.github/label-messager.json</code> configuration file.

Learn more.

</details>

view this post on Zulip Wasmtime GitHub notifications bot (Nov 21 2025 at 14:37):

alexcrichton updated PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 21 2025 at 14:56):

alexcrichton updated PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 21 2025 at 15:23):

alexcrichton updated PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 21 2025 at 15:34):

alexcrichton updated PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 21 2025 at 15:54):

alexcrichton updated PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 24 2025 at 14:52):

dicej submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 24 2025 at 16:20):

alexcrichton updated PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 24 2025 at 16:20):

alexcrichton has enabled auto merge for PR #12036.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 24 2025 at 17:35):

alexcrichton merged PR #12036.


Last updated: Dec 06 2025 at 07:03 UTC