-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Adds support for workflow node aliasing via identifier field #10592
Conversation
cc @wenottingham - if this is a bad idea let me know and we'll close this one |
Build succeeded.
|
@mabashian no, this is neat. Is it plumbed through the job detail screen as well if you cllick into it on a workflow run? |
That's pretty critical behavior. I think I agree with your decisions here. Disclosure: I haven't actually looked at the code yet. How are you distinguishing UUID type identifiers from user-given ones? Some pattern matching? |
yea right now it's just a regex match |
I'll have to double check on this one |
9132289
to
b591747
Compare
@wenottingham so if you click on a running node to view the details I don't know that we have the info we need via the api to display the |
Build succeeded.
|
We already show the workflow job in the list view. I'd bet this query is poor performance, and I see no UI need for it in the list view. I digress. We fully load the job's node before we can load the workflow. So as long as we are properly using the cache (we likely aren't), there is no performance impact for giving node details. Answering the question, no technical blockers, but we should subject the view's performance to scrutiny (using the normal Django toolbar stuff) as we implement this. |
938c871
to
e4a5023
Compare
e4a5023
to
a5f5570
Compare
a5f5570
to
9a39ff1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mabashian once the rebase is done we can merge this one
9a39ff1
to
0213fb5
Compare
SUMMARY
link #2032
cc @AlanCoding since you may have opinions here based on your comments in the original issue.
The implementation leverages the
identifier
field on a workflow node in order to allow users to specify an alias to be displayed on the node instead of the resource name. This would allow users to uniquely identify nodes that have the same underlying unified job template. If the string is a uuid (generated by the server) then we still display the resource name.Here it is in action:
ISSUE TYPE
COMPONENT NAME