Skip to content

fix: expose plugin UI operations over HTTP#19

Merged
adityathebe merged 2 commits into
mainfrom
fix/plugins
May 20, 2026
Merged

fix: expose plugin UI operations over HTTP#19
adityathebe merged 2 commits into
mainfrom
fix/plugins

Conversation

@adityathebe
Copy link
Copy Markdown
Member

The Arthas and Inspektor Gadget UIs call plugin operations through the HTTP proxy with POST bodies.

Those operations only had gRPC handlers and no POST HTTP bindings, so Mission Control rejected requests before they reached the plugin with errors like operation "traces-list" does not allow HTTP POST.

Declare POST bindings and register HTTP adapters for unary UI operations so the existing handlers can be invoked from the iframe proxy.

The plugin UI SDK calls operation proxy endpoints with POST bodies, but Arthas and Inspektor Gadget only registered gRPC handlers and did not declare POST HTTP bindings. Mission Control rejected those calls before they reached the plugin, causing forbidden errors such as traces-list not allowing HTTP POST.

Declare POST bindings for unary UI operations and register HTTP adapters that invoke the existing handlers with the request body and host context. Include the updated Inspektor Gadget UI checksum.
@adityathebe adityathebe merged commit 1ead480 into main May 20, 2026
23 checks passed
@adityathebe adityathebe deleted the fix/plugins branch May 20, 2026 17:18
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