Friendly Name & Renaming for Flyte Assets #4584
Replies: 3 comments 1 reply
-
Hey @zeryx! A few thoughts, also based on what has been discussed in last week's contributors sync:
I know there have also been talks around re-writing/structuring the submitted code tarball, which is something I'd be strongly against doing as that would get us into all kinds of awkward situations. I would see this more as additional metadata attached to a registered entity. This view would also allow for different friendly names per workflow version, which is something that I have not fully thought through. Also, as suggested in the contributors sync, a small frontend change which could already easy some of the problems could be to just show the non-common parts of the workflow/task identifiers in the UI. E.g. instead of Overall, as there seemed to be agreement that this could be a valuable addition, should we convert this into a short RFC? |
Beta Was this translation helpful? Give feedback.
-
I agree that this should just be metadata and no uniqueness guaranteed. |
Beta Was this translation helpful? Give feedback.
-
related work in progress: #5965 |
Beta Was this translation helpful? Give feedback.
-
RFC: User Defined Names for Flyte Constructs (Workflows, Tasks, Launch Plans)
Motivation
The current naming convention in Flyte, which is based on the local filesystem path, often leads to workflow and task names that are not intuitive or descriptive. This issue hampers effective workflow identification and management. There is a pressing need to enhance this naming system to improve user experience and workflow management. Specifically, it's important to enable users to define articulate and independent names for their workflows or tasks that are not tied to the project directory structure. Moreover, ensuring global uniqueness of projects and packages is crucial to prevent accidental overwrites of workflows, especially in cases where directory structures might be identical.
Proposed Implementation
The proposal is to introduce an additional field for tasks, workflows, and launch plans in Flyte. This field would allow users to assign more descriptive and user-friendly names or nicknames at the time of registration. These names should be easily searchable and integrated within Flyte's various interfaces like uctl, flytectl, and flytekit remote. The implementation would involve:
This approach addresses concerns similar to those raised in Flyte issue #4376, especially regarding runtime override capabilities.
Limitations
Alternative solutions considered include the manual maintenance of a separate mapping of descriptive names to the existing names, which would be cumbersome and prone to errors. Another option considered was to modify the existing naming convention to make it more descriptive. However, this could potentially disrupt existing workflows and integrations. The proposed implementation aims to strike a balance between the need for descriptive, user-defined names and the stability of existing systems.
Beta Was this translation helpful? Give feedback.
All reactions