cli: organize output from CDK deploy with concurrency #27015
Labels
feature-request
A feature should be added or improved.
package/tools
Related to AWS CDK Tools or CLI
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the feature
Current behavior of a command like:
Is that all of the concurrent or parallel deployments stream to Stdout/Stderr at the same time. This makes it really difficult to see what is happening because progress is mixed between 10 stacks being deployed.
I have not see what happens in case of an error (I think I read somewhere it'll re-print?), but was thinking it might be hard to adopt this if I cannot figure out what happens on deployment failure.
Use Case
Reason for this feature request: being able to clearly understand what is happening during the deployment and (more importantly) to be able to debug when a deployment failure happens.
If deployment errors are re-printed clearly without intermixing multiple deployments, we can probably close this issue.
Proposed Solution
Buffer the output of each deployment and only print to Stdout/Stderr when the deployment is done/failed.
Could also print other progress information, like "Deploying stack {stackName} ({stackId}) 2 of 10 stacks"
Other Information
No response
Acknowledgements
CDK version used
2.93.0
Environment details (OS name and version, etc.)
macOS
The text was updated successfully, but these errors were encountered: