Skip to content

[feature] Subcommand to explicitly download WASM plugins #2386

@cedws

Description

@cedws

Is your feature request related to a problem? Please describe.

We have a GitHub workflow that runs multiple moon commands. The first moon command in the series triggers an automatic download of WASM plugins. However if this fails, it looks like something else failed. For example, if the plugins can't be downloaded due to an auth issue, a step titled "Lint" looks like it failed because a linting issue.

We've seen the WASM plugin download fail because of GitHub rate limits - we know that we need to set GITHUB_TOKEN to fix this, we but don't want to pass the token to a generic moon step that shouldn't need it.

Describe the solution you'd like

An explicit subcommand to download WASM plugins would enable us to have a 'setup step' that ensures plugins are installed before doing anything else.

Describe alternatives you've considered

Running a dummy command or the same command twice to force WASM plugins to install, but this is pretty gross.

Additional context

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions