cli icon indicating copy to clipboard operation
cli copied to clipboard

cf tasks should print the reason for FAILED tasks

Open saescha opened this issue 2 years ago • 1 comments

Please provide details on the following items. Failure to do so may result in deletion of your feature request.

What's the user value of this feature request? Seeing the reason for a failure seems to be a handy feature. Using API calls to find something like "failure_reason": "failed to mount volume" is kind of inconvenient

Who is the functionality for? Users that use th cf task feature

How often will this functionality be used by the user? Whenever a task fails

Who else is affected by the change? noone

Is your feature request related to a problem? Please describe. Finding root cause of failing tasks

Describe the solution you'd like print the reason for failed tasks into the output of the cf tasks command

Describe alternatives you've considered skipping the usage of cf cli at all and only talk to the API that provides all information

Note: As of the GA of the v7 CLI, the v6 line is no longer under active development and will be updated only to patch CVEs or fix severe blocking defects with no workarounds.

saescha avatar Nov 22 '23 12:11 saescha

I prepared a simple PR: https://github.com/cloudfoundry/cli/pull/2675

saescha avatar Nov 22 '23 13:11 saescha