WebAssembly / WebAssembly/component-model

Upstream Wasmtime's async test suite

Open
#571 0 comments 1 reaction 1 assignee View on GitHub

@yoshuawuyts is already working on this.

Since Oct 21, 2025.

Dominant language
WebAssembly
Stars
1.4k
Forks
130
Avg merge
2d 1h
Merged PRs (30d)
15

Description

This issue is a sibling of https://github.com/WebAssembly/wasi-testsuite/issues/181. Wasmtime currently has its own set of component model async tests written in Rust. With an eye on portability, we should upstream these tests from Wasmtime into the component model repo. I've ported a first test in https://github.com/WebAssembly/component-model/pull/569, but we should make it a goal to eventually port all tests. If done right, runtimes like Jco would eventually be able to drop their dependence on Wasmtime's test suite for the component model, and instead be able to directly test against the component model repo. Thanks!

Tasks

These are all the component model async test programs in Wasmtime, grouped by scenario. There are a current total of 65 tests. Each test refers to a specific test case, which itself may be composed of one or more test programs interacting with one another. When translating that to WAST, it should result in a single .wast file which captures both the scenario and test programs.

backpressure
borrowing
error_context
post_return
read_resource_stream
round_trip
round_trip_direct
round_trip_many
streams
transmit
unit_stream
yield

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.