Stream: git-wasmtime

Topic: wasmtime / PR #15325 check for pending work items in `Acc...


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

dicej requested alexcrichton for a review on PR #15325.

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

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

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

dicej opened PR #15325 from dicej:fix-14769 to bytecodealliance:main:

This addresses a condition in wasmtime_wasi_http::handler where a worker may accept new requests faster than it can deliver events to existing tasks, leading to starvation and potential resource exhaustion.

The solution is to check for any ready-to-run work items in Accessor::poll_ready_for_concurrent_call and, if any are found, return Poll::Pending, which directs wasmtime_wasi_http::handler::Worker::run_ to return control to the event loop so it can drain the items before taking on new work.

Fixes #14769

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2026 at 02:44):

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

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2026 at 15:25):

:thumbs_up: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2026 at 15:25):

alexcrichton added PR #15325 check for pending work items in Accessor::poll_ready_for_concurrent_call to the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2026 at 15:49):

:check: alexcrichton merged PR #15325.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2026 at 15:49):

alexcrichton removed PR #15325 check for pending work items in Accessor::poll_ready_for_concurrent_call from the merge queue


Last updated: Nov 19 2026 at 20:05 UTC