-
Notifications
You must be signed in to change notification settings - Fork 290
Description
When using a locally-developed component as a dependency for another component, it can be very useful to declare both components in spin.toml
: that way, spin {build, watch}
will ensure that both are (re-)built, instead of having to manually build the dependency. That alternative would not really work for spin watch
to begin with, I think.
The downside of this approach is that any component declared in the manifest will be included in the locked app, increasing the size of deployments accordingly.
AFAICT, these components are guaranteed to be dead weight: anything not associated with a trigger has no way to be invoked after deployment, after all.
I propose that we change the application loader to filter out any components that aren't used by a trigger instead, so they don't show up in deployments.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status