Stream: git-wasmtime

Topic: wasmtime / PR #11623 wasip3: Add a test cancelling TCP reads


view this post on Zulip Wasmtime GitHub notifications bot (Sep 05 2025 at 17:07):

alexcrichton opened PR #11623 from alexcrichton:stream-tests to bytecodealliance:main:

This commit adds a test where a stream of data is being sent over TCP and the read side reads as much as it can and then cancels any read that shows up pending. It then waits for readiness via a 0-length read and retries again. The test is intended to assert that the number of consecutive zero-length reads reported is capped at some small number (e.g. this shouldn't infinite loop).

<!--
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 (Sep 05 2025 at 17:07):

alexcrichton submitted PR review:

Blocked on https://github.com/bytecodealliance/wasmtime/issues/11611

view this post on Zulip Wasmtime GitHub notifications bot (Sep 05 2025 at 17:07):

alexcrichton created PR review comment:

This test should fail due to missing this line, but I haven't gotten that far.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 05 2025 at 17:10):

alexcrichton updated PR #11623.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 08 2025 at 20:26):

alexcrichton updated PR #11623.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 08 2025 at 20:26):

alexcrichton has marked PR #11623 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 08 2025 at 20:26):

alexcrichton requested pchickey for a review on PR #11623.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 08 2025 at 20:26):

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

view this post on Zulip Wasmtime GitHub notifications bot (Sep 08 2025 at 20:26):

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

view this post on Zulip Wasmtime GitHub notifications bot (Sep 08 2025 at 20:26):

alexcrichton commented on PR #11623:

Ok after https://github.com/bytecodealliance/wasmtime/pull/11625 this is now ready to merge

view this post on Zulip Wasmtime GitHub notifications bot (Sep 08 2025 at 20:33):

alexcrichton assigned alexcrichton to PR #11623.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 08 2025 at 20:35):

alexcrichton updated PR #11623 (assigned to alexcrichton).

view this post on Zulip Wasmtime GitHub notifications bot (Sep 08 2025 at 22:13):

rvolosatovs submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 08 2025 at 22:50):

alexcrichton merged PR #11623.


Last updated: Dec 06 2025 at 06:05 UTC