cli icon indicating copy to clipboard operation
cli copied to clipboard

[FEATURE] Debug utility command: `shp buildrun gather`

Open adambkaplan opened this issue 9 months ago • 3 comments

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):

  1. BuildRun object
  2. TaskRun generated by the BuildRun
  3. Pod generated by the TaskRun
  4. Logs

Describe alternatives you have considered.

Update/provide troubleshooting docs on the website.

Anything else?

No response

adambkaplan avatar May 02 '24 16:05 adambkaplan

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"

adambkaplan avatar May 02 '24 16:05 adambkaplan

From Refinement, this would be something to have but not committing it to a specific milestone.

qu1queee avatar May 16 '24 14:05 qu1queee

/assign

Adarsh-jaiss avatar Sep 09 '24 20:09 Adarsh-jaiss