Skip to content

Edge validation uncovered broken templates #4412

Description

@shiroyasha

After merging this, we have noticed that some templates are not working.

raw message:

I nuked my dev DB to verify that the template seeding is working properly after I made changes to the templates, and I get a No templates available screen when setting up my first canvas. Logs show this:

Failed to seed templates: create template Staged Release: rpc error: code = InvalidArgument desc = edge 2: source node component-node-3c9afc does not have output channel "default" (available: [success failure])


Looks like we had bad templates YAMLs, and now since we are validating the output channels on updates too ([#4362](https://github.com/superplanehq/superplane/pull/4362)), the seeding fails. So, the first you run SuperPlane (locally or self-hosted) you will have no templates available right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions