-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Display full job name and nested workflow details in log #2049
Display full job name and nested workflow details in log #2049
Conversation
In the example snapshot, I believe we used |
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.
remove unused JobWorkflowRef property
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.
add mapping to dataWorkflowFilePathRaw in constructor
@yujincat if I use |
Why do we need to log this info to the |
@TingluoHuang We already have discussed this with @chrispat before, hence we are working on this. The reason we want to log this is we want to provide more context of workflow execution in the log so that the users can understand it; mostly reusable/nested workflows perspective. Users may want to know what inputs they are given. I thin it makes sense to have that in the "set up job" section because the inputs apply per job. Also we want to show the text given from user in the Providing the full job name is also what we want, as the job name using nested workflows will be truncated in the UI. @nicholasbergesen I think we should check if we want to make this change for all workflows or reusable case only. |
I've moved the display of complete job name inside the check on |
@TingluoHuang Instead of using |
I think this is good. We already display a bunch of information in that area that has nothing to do with the runner such as secret source and token permissions. |
Co-authored-by: Ajay <[email protected]>
Co-authored-by: Ajay <[email protected]>
Co-authored-by: Ajay <[email protected]>
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.
Looks good to me 🚀
8fae189
Co-authored-by: Tingluo Huang <[email protected]>
This forms part of the work being done for the nested workflow feature. Jobs that are nested more than 1 level in depth have their job name truncated in the UI. The change displays the full job name as well as the calling workflow ref and inputs that were passed in, in the UI and raw logs
Complete job name:

Calling workflow ref with inputs:


Expanded:
Raw logs:

actions-dotnet change: https://github.com/github/actions-dotnet/pull/12910
Closes: https://github.com/github/c2c-actions-policy/issues/580
Epic: https://github.com/github/c2c-actions-policy/issues/399