Skip to content

feat!: migrate traefik-superheader from yaegi to wasm#16

Merged
mridang merged 1 commit into
masterfrom
feat/migrate-to-wasm
Dec 9, 2025
Merged

feat!: migrate traefik-superheader from yaegi to wasm#16
mridang merged 1 commit into
masterfrom
feat/migrate-to-wasm

Conversation

@mridang

@mridang mridang commented Dec 9, 2025

Copy link
Copy Markdown
Owner

Closes #15

Description

This pull request migrates the traefik-superheader plugin from using yaegi to a WebAssembly (wasm) runtime. The plugin has been refactored to remove the reliance on yaegi interpretation and now compiles to wasm, improving portability, security, and alignment with the current Traefik plugin ecosystem. Supporting code and configuration have been updated accordingly.

Related Issue

No prior issue existed for this migration. This pull request formalizes and documents the transition to wasm.

Motivation and Context

The yaegi-based implementation caused compatibility and maintenance challenges due to runtime interpretation and evolving Traefik plugin constraints. Migrating to wasm provides a more stable execution model, reduces attack surface, and ensures long-term compatibility with Traefik’s recommended plugin architecture. This change simplifies deployment while enabling better performance and reliability.

How Has This Been Tested?

The plugin was tested using a local Traefik instance with multiple header configurations to confirm behavior parity with the previous version. The wasm build was validated using Traefik’s plugin loader to ensure correct initialization and runtime execution. Additional manual tests were performed to confirm expected h

@mridang mridang self-assigned this Dec 9, 2025
@mridang mridang changed the title Feat/migrate to wasm feat: migrate traefik-superheader from yaegi to wasm Dec 9, 2025
@mridang mridang force-pushed the feat/migrate-to-wasm branch from 76de7af to ad1132f Compare December 9, 2025 06:35
@mridang mridang changed the title feat: migrate traefik-superheader from yaegi to wasm feat!: migrate traefik-superheader from yaegi to wasm Dec 9, 2025
@mridang mridang merged commit a59c3cf into master Dec 9, 2025
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.

Convert the plugin from Yaegi to WebAssembly

1 participant