Skip to content

(cli): apps with many resources scroll resource output off-screen #19160

@blimmer

Description

@blimmer

What is the problem?

When a stack contains a lot of resources, the "progress-bar" style (default) output seems to expand to a very large height, making future updates occur off-screen.

For example, here's what I'm talking about (note the "scrollbar indicator" in the bottom-right - that'll show you when I'm scrolling up:

cli-offscreen

This isn't a small terminal window (it fills the entire height of my 2560 x 1140 external monitor), so this will likely be even more pronounced for folks using a laptop screen.

Reproduction Steps

I encountered this on a non-open-source client app, so I'm not able to share it directly.

I think the easiest way to reproduce this is to deploy an app with a lot of nested resources. Maybe create a stack with 100 simple nested stacks and deploy it to a fresh account? Let me know if the issue isn't clear and I can create a sample app.

What did you expect to happen?

I expected the progress output to always be visible on the screen.

What actually happened?

The progress output had a height that was off-screen, so I was not able to monitor the deployment.

CDK CLI Version

1.142.0 (build 5dd8e50)

Framework Version

No response

Node.js Version

14.19.0

OS

macOS

Language

Typescript

Language Version

TypeScript (4.4.4)

Other information

No response

Metadata

Metadata

Labels

bugThis issue is a bug.effort/smallSmall work item – less than a day of effortp1package/toolsRelated to AWS CDK Tools or CLI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions