Skip to content

Add support for host features. - #91

Merged
PiotrSikora merged 15 commits into
proxy-wasm:mainfrom
PiotrSikora:host_features
Oct 22, 2026
Merged

PiotrSikora merged 15 commits into
proxy-wasm:mainfrom
PiotrSikora:host_features

Conversation

@PiotrSikora

Copy link
Copy Markdown
Member

The proxy_get_host_features hostcall can be used by the SDKs to
determine which features are supported by the host environment.

The `proxy_get_host_features` hostcall can be used by the SDKs to
determine which features are supported by the host environment.

Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
@PiotrSikora

Copy link
Copy Markdown
Member Author

As mentioned in the meeting, this is still missing text about hosts generating UNIMPLEMENTED stubs for any imports starting with proxy_ to avoid linking-time issues during loading phase for imports supported/expected by guests but not implemented yet by the host.

Comment thread abi-versions/vNEXT/HOST_FEATURES.md Outdated
Comment thread abi-versions/vNEXT/HOST_FEATURES.md Outdated
Comment thread abi-versions/vNEXT/HOST_FEATURES.md Outdated
Comment thread abi-versions/vNEXT/HOST_FEATURES.md Outdated
@PiotrSikora
PiotrSikora marked this pull request as ready for review February 12, 2026 14:44
Comment thread abi-versions/vNEXT/HOST_FEATURES.md Outdated
Comment thread abi-versions/vNEXT/README.md Outdated
Comment thread abi-versions/vNEXT/README.md Outdated
Comment thread abi-versions/vNEXT/HOST_FEATURES.md Outdated
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
@PiotrSikora

Copy link
Copy Markdown
Member Author

@mpwarres @leonm1 I believe all comments and discussion from the meetings have been addressed here (I left the comments open, so please resolve them if you're satisfied with the answers).

@leonm1 leonm1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@mpwarres mpwarres left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@leonm1 leonm1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for merging.

I propose we merge this as-is and handle guest required features in a different PR, so we can build on HOST_FEATURES.md in other PRs.

…ures

Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
Comment thread abi-versions/vNEXT/README.md Outdated
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
@PiotrSikora PiotrSikora linked an issue Sep 24, 2026 that may be closed by this pull request
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
Comment thread abi-versions/vNEXT/README.md
@mpwarres

mpwarres commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

LGTM (I had approved this sometime before, but consider this explicit approval on current revision). Thanks!

@PiotrSikora
PiotrSikora merged commit 6e966b2 into proxy-wasm:main Oct 22, 2026
8 checks passed
@PiotrSikora
PiotrSikora deleted the host_features branch October 22, 2026 10:03
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.

Create registries for extension points Make most/all hostcalls optional Allow hosts to advertise features/settings at runtime

3 participants