Skip to content

feat: workflows have autogenerated slugs #1127

Description

@dacbd

for cli tools and automation scripting I want to avoid uuid's when possible.

Workflows should have a slug generated from their name, I propose that they simply take the workflow's name replace " " to "-" and strip all url unfriendly characters. in the event of a slug collision either fail to create the workflow or append the first uuid chunk to the end. For example: if you have two workflows are named test, the first's slug would be test the second's slug would be test-2b64228a. You could just alway append the first uuid chunk to the name.

The workflow's name becomes cosmetic, the uuid/slug is used by the api/clients with the slug being used to map human readable IDs to workflows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions