Skip to content

feat: improved WASM module architecture into a single module interface#212

Merged
jeroenrinzema merged 6 commits intomainfrom
feat/wasm-modules
Apr 24, 2026
Merged

feat: improved WASM module architecture into a single module interface#212
jeroenrinzema merged 6 commits intomainfrom
feat/wasm-modules

Conversation

@jeroenrinzema
Copy link
Copy Markdown
Contributor

Right now we have WASM modules for actions and providers. This PR combines these modules into a simplified architecture where we could expose multiple capabilities from within a single module.

Copy link
Copy Markdown
Contributor

@IamKirbki IamKirbki left a comment

Choose a reason for hiding this comment

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

The requested comments are underneath

Comment thread console/src/components/action-preview-iframe.tsx
Comment thread console/src/components/action-preview-iframe.tsx
Comment thread console/src/views/campaign/CampaignDetails.tsx Outdated
Comment thread console/src/views/campaign/CampaignDetails.tsx Outdated
Comment thread console/src/views/organizations/OrganizationDetailMembers.tsx
Comment thread internal/wasm/integrations/integration.go Outdated
Comment thread internal/wasm/integrations/integration.go Outdated
Comment thread internal/wasm/integrations/integration.go Outdated
Comment thread internal/wasm/integrations/integration.go Outdated
Comment thread internal/wasm/integrations/integration.go Outdated
Refactor WASM module build and registry to use a unified
internal/integrations/modules directory for both providers and actions.
Update Makefiles, Dockerfile, and CI to match. Introduce unified
IntegrationManifest and Capability types. Update provider modules to
declare capabilities. Refactor action and provider registries to use
the new integration loader. Update code and tests for new structure.
Replace HasProvider and HasActions with ProviderSpec and ActionsSpec
checks. Update related logic and tests accordingly. Also unify
"Add member" aria-labels in organization members view.
@jeroenrinzema jeroenrinzema marked this pull request as ready for review April 20, 2026 13:07
- Move all provider and action modules to a flat `modules/` directory
- Update Makefiles and import paths to match new structure
- Update integration registry to support unified loading for actions and
  providers
- Update WASM registry facades for providers and actions
- Update test WASM binaries
- Update router and integration setup in console for new module paths
- Update documentation and references to reflect new module locations
@jeroenrinzema jeroenrinzema merged commit c3ce1f5 into main Apr 24, 2026
6 checks passed
@jeroenrinzema jeroenrinzema deleted the feat/wasm-modules branch April 24, 2026 09:44
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants