Skip to content

Spin Command trigger should not terminate host when multiple triggers are defined #21

@ThorstenHans

Description

@ThorstenHans

I created a Spin App with two triggers:

# ...

[[trigger.http]]
route = "/..."
component = "api"

[[trigger.command]]
component = "cleanup"

# ...

Actual Behavior

Upon starting the app with spin up, the cleanup component is invoked. Once the component finished processing, the spin up process is terminated.

Expected Behavior

The spin up host process should stay alive once the cleanup component has finished processing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions