Skip to content

fix: bump proxy_wasm_cpp_host pin for doAfterVmCallActions drain-to-local (#4034) - #28

Merged
johnlanni merged 1 commit into
envoy-1.36from
fix/pwh-pin-doaftervmcallactions-drain
Jul 6, 2026
Merged

fix: bump proxy_wasm_cpp_host pin for doAfterVmCallActions drain-to-local (#4034)#28
johnlanni merged 1 commit into
envoy-1.36from
fix/pwh-pin-doaftervmcallactions-drain

Conversation

@johnlanni

Copy link
Copy Markdown

What

Bumps the proxy_wasm_cpp_host pin in bazel/repository_locations.bzl from 8549cf63 to d1ab18f0, picking up higress-group/proxy-wasm-cpp-host#12.

field old new
version 8549cf6374835d225edf67e584cb8d8d8a0fc256 d1ab18f0988d3d65e9e18733e8616a702ba606f4
sha256 ee53c427…39ab7cd9 3eedd95d…b97410fd
release_date 2024-05-18 2026-07-06

The bump is exactly 1 commit ahead, 0 behind — the single picked-up commit is the drain-to-local fix + regression test.

Why

WasmBase::doAfterVmCallActions iterated the after_vm_call_actions_ member deque in place. Under synchronous reentry (a callback re-adding an action during the drain — e.g. onRedisCallFailureinjectEncodedDataToFilterChain), the loop never terminated, spinning a worker thread at 100% CPU. See higress-group/higress#4034.

The fix swaps the queue into a stack-local before iterating, so re-added actions land in the emptied member queue and are drained by the next-outer DeferAfterCallActions frame instead of re-run in the same loop.

Scope

Layer A only (drain-to-local). No ABI/API change; no plugin-visible change.

…in-to-local

Picks up higress-group/proxy-wasm-cpp-host#12, which makes
WasmBase::doAfterVmCallActions reentry-safe by draining the
after_vm_call_actions_ queue into a stack-local before iterating.
This fixes the worker-thread CPU 100% infinite loop reported in
higress-group/higress#4034 (onRedisCallFailure + injectEncodedDataToFilterChain
synchronous reentry).

pwh merge commit: d1ab18f0988d3d65e9e18733e8616a702ba606f4

Signed-off-by: 澄潭 <zty98751@alibaba-inc.com>
@johnlanni
johnlanni merged commit f468a1a into envoy-1.36 Jul 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant