envoyproxy / envoyproxy/envoy

Exposing Wasm VM state in a health check endpoint

Open
#34,881 3 comments 2 reactions 0 assignees View on GitHub
area/wasm help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
428

Description

*Title*: *Exposing Wasm VM state in a health check endpoint*

*Description*:
Any unrecoverable error in the Wasm VM will panic it, and all coming requests will get 503.
Users have to reload the wasm filter or restart the envoy process to eliminate the issue.

I didn't find any specific mechanism/API from Envoy documents that can help users identify the status of the Wasm VM.
This is useful for building a liveness probe to have the envoy process restart without any human interaction.

Thank you!

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the issue. Start by locating Envoy's Wasm VM handling and health-check endpoint entry points, then determine how the endpoint can expose an unrecoverable VM state for a liveness probe; done means users can detect the failed VM and trigger an Envoy restart or filter reload.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.