You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide more info on run/log from gh run watch, especially/only on error #6741
Describe the feature or problem you’d like to solve
When I watch a run and it fails, I typically want to go inspect the log, which currently requires me to switch the browser and click through the web interface. It would be great to have more information immediately or a simple way to get more information, especially when a run ends in error. Even viewing the log/run is quite difficult as I do not typically have the run ID to hand
Proposed solution
It may be useful to provide some or more of the following:
a link to the run (as the output of gh run view currently does)
a link to the log
make it easy to directly view the log through a command hint
provide a menu-based option to view the log or open it in the browser
How will it benefit CLI and its users?
Faster way to understanding what went wrong without opening the browser and clicking or without figuring out another command and ID.
Just to help me understand -- is the functionality of gh run view <id> --log-failed useful? because if a hint to run that isn't currently printed with <id> filled in I am definitely in favor of adding that
Yes, that is useful! And having the hint would be great - would save copy-pasting the ID as you say.
However, looking at how overwhelming the log can be when printed raw in the console, a link pointing directly to the log online may be as/more helpful in some cases.
Activity
vilmibm commentedon Dec 19, 2022
Just to help me understand -- is the functionality of
gh run view <id> --log-faileduseful? because if a hint to run that isn't currently printed with<id>filled in I am definitely in favor of adding thatpetrbouchal commentedon Dec 19, 2022
Yes, that is useful! And having the hint would be great - would save copy-pasting the ID as you say.
However, looking at how overwhelming the log can be when printed raw in the console, a link pointing directly to the log online may be as/more helpful in some cases.
vilmibm commentedon Dec 20, 2022
cool, I think we could hint to both.
Nidacoke commentedon Apr 11, 2023
devurandom commentedon Sep 25, 2023
#3484 seems related.