#4399 [Core feature] Nick Names for Flyte Constructs
Issue created by
zeryx
Motivation: Why do you think this is important?
The current naming convention for workflow and task names in Flyte, based on the local filesystem path, often results in names that are not intuitive or descriptive.
This can create challenges in identifying and managing workflows effectively. Enhancing the naming system is crucial to improve user experience and workflow management, I want to be able to define an articulate name for my workflow or task that's unrelated to my project directory structure.
I also want to be able to ensure my projects and packages are globally unique, I don't want to accidentally overwrite a colleagues' workflow by accident; which may happen if our directory structures are the same.
Goal: What should the final outcome look like, ideally?
The ideal outcome would be the implementation of an additional field for tasks and workflows, allowing users to assign a more descriptive and user-friendly name or nickname at the time of registration. This name should be easily searchable and usable in various Flyte interfaces like uctl, flytectl, and flytekit remote, while maintaining the original naming system for backend processes.
Describe alternatives you've considered
One alternative could be to manually maintain a separate mapping of descriptive names to the existing names, but this would be cumbersome and error-prone. Another option might be to modify the existing naming convention to be more descriptive, but this could disrupt existing workflows and integrations.
Propose: Link/Inline OR Additional context
I propose adding a new field, either "name" or "nickname," for tasks and workflows in Flyte. This field would allow users to define a more descriptive and easily recognizable name at registration. This nickname should be integrated into Flyte's tools and web dashboard for easy access and management. The original technical name field would remain to ensure continuity and stability in backend operations.
This has also been raised in this ticket (albeit for runtime override capability)
#4376
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte