cli
cli copied to clipboard
[FEATURE] Debug utility command: `shp buildrun gather`
Is there an existing feature request for this?
- [X] I have searched the existing feature requests
Is your feature request related to a problem or use-case? Please describe.
Failed BuildRuns
can be challenging to debug due to the multiple abstraction layers involved. We should provide a simple command to extract the details of the failed BuildRun so diagnostics/analysis can be run by a support or platform team.
Describe the solution that you would like.
Provide a sub-command for shp buildrun
that downloads all pertinent information for the BuildRun
and saves it in a single location (or tarball/zip):
-
BuildRun
object -
TaskRun
generated by theBuildRun
-
Pod
generated by theTaskRun
- Logs
Describe alternatives you have considered.
Update/provide troubleshooting docs on the website.
Anything else?
No response
This feature might be a bit too big for a brand new contributor, but if someone has submitted their first patch/PR then this is a "good second issue"/"good first feature"
From Refinement, this would be something to have but not committing it to a specific milestone.
/assign