-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: Pipelines UI - Dag tasks should also show the task name #1397
Comments
To be clear, this is when viewing pipelines that have ben uploaded (the Pipelines tab). A run / scheduled workflow has the opposite issue where the name is displayed but the type of task (template name) isn't displayed |
Suggestion 2 seems pretty reasonable to me. We've discussed which of task/template is more useful in the past, and it does seem arguable that they are both useful to be shown. @ajayalfred what do you think of these suggestions? |
@rileyjbauer I do like option 2 (in both the '#pipelines/details' and '#runs/details' view), bonus points for nicely rendering key-values in the ui that match the yaml. There are 2 potential issues with #2
As I move more towards making things components, I think of the task's template as the task's "type" instantiated with the task's specific parameters so seeing both those values together as much as possible would be really helpful when just visually scanning |
I like suggestion #2 as well. The length of the label and string is an obvious challenge to fit in the node. While there can be some clever way of designing around that – I'm curious to know if we went with suggestion #1, would users implicitly understand bold is for name and italics is for template? |
Suggestion 2) (use task id) is not a good idea. Task id is implementation detail generated by the compiler. It can be changed to opaque hash string in future. The task ID is not human-readable and has technical limitations. What we can do is to make the UX check the template annotation for the display name and use that if it's available. This issue seems to be a duplicate of #1378 The proposal there would let the pipeline author specify arbitrary display name for every task: |
@Ark-kun to confirm, your suggestion would be to use the display name if provided and otherwise fallback to the template? |
Hi @Ark-kun , I am using this script to custom the name of my task, I got this issue:ˇ |
Currently the pretty Dag visualization just displays the template name. In a dag with multiple invocations of the same template (e.g. a workflow that has multiple sql queries) you don't get enough information.
Suggestion 1)
======================
[task-name]
[template-name]
======================
Suggestion 2) (just match the workflow yaml)
======================
name: [task-name]
template: [template-name]
======================
The text was updated successfully, but these errors were encountered: