Annotations in job log lack location information #203024
Replies: 2 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
I agree this would be a valuable improvement. Including file and line information directly in the job log would make annotations much more useful, especially when reviewing long logs or downloading the raw output. Right now, action authors often have to duplicate location information in the log message itself, which leads to unnecessary noise. Rendering the annotation as a clickable link in the formatted log while preserving the original workflow command in the raw log seems like a sensible approach and would improve the debugging experience without changing existing behavior. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
Other
Discussion Details
When we are looking at job log which contains annotations as defined in https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#setting-a-warning-message, both the job log & raw log lack location information for the warning.
This is resulting in some developers generate duplicate logs (1 as an annotation & 1 not), some duplicate location context into body & others don’t do anything.
When rendering logs with annotations, in pretty view the annotation should be rendered as a link & in raw view it should be rendered as it was logged.
All reactions