Skip to content

chore: Moving all plugins under wash_runtime::plugin#232

Merged
lxfontes merged 5 commits intomainfrom
lxfontes/plugin-mod
Jan 14, 2026
Merged

chore: Moving all plugins under wash_runtime::plugin#232
lxfontes merged 5 commits intomainfrom
lxfontes/plugin-mod

Conversation

@lxfontes
Copy link
Member

We had 2 types of plugins living in different rust modules:

  • in-memory / development plugins in wash_runtime::plugin
  • nats / cluster plugins in wash_runtime::washlet::plugins

This PR moves plugins to wash_runtime::plugin::<interface-name>::<concrete-implementation>.

wasi_config is the odd one as the behaviour was slightly different. It was refactored so a single implementation can fulfill both behaviours, namely:

  • in dev: config comes from WitInterface configuration
  • in cluster: config comes from WitInterface configuration plus wasi:cli environment variables

Signed-off-by: Lucas Fontes <lucas@cosmonic.com>
@lxfontes lxfontes requested a review from a team as a code owner January 13, 2026 23:31
Signed-off-by: Lucas Fontes <lucas@cosmonic.com>
Signed-off-by: Lucas Fontes <lucas@cosmonic.com>
Signed-off-by: Lucas Fontes <lucas@cosmonic.com>
Signed-off-by: Lucas Fontes <lucas@cosmonic.com>
@lxfontes lxfontes added this pull request to the merge queue Jan 14, 2026
Merged via the queue into main with commit 2493b73 Jan 14, 2026
9 checks passed
@lxfontes lxfontes deleted the lxfontes/plugin-mod branch January 14, 2026 21:21
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.

2 participants