Skip to content

Conversation

@juliens
Copy link
Member

@juliens juliens commented Dec 5, 2024

What does this PR do?

This PR fixes a bug that prevented WASM plugins, loaded using wazero’s WASI preview 1 implementation, from properly utilizing environment variables or mounted files specified in the plugin settings.

Motivation

Fix the bug.

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

For now, only test on WASM Plugins using wazero and compiled with tinygo are implemented. In the futur, we should implement more cases like plugins compiled with native go 1.24 ( with wasmexport ).

@kevinpollet kevinpollet changed the title fix: wasm settings Fix wasm settings Dec 6, 2024
@juliens juliens changed the base branch from master to v3.2 December 6, 2024 10:03
@kevinpollet kevinpollet added this to the 3.2 milestone Dec 6, 2024
Copy link
Member

@rtribotte rtribotte left a comment

Choose a reason for hiding this comment

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

LGTM

@kevinpollet kevinpollet changed the title Fix wasm settings Fix WASM settings Dec 6, 2024
@traefiker traefiker merged commit c8b0285 into traefik:v3.2 Dec 6, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants