Regression in pulumi stack ls
latency
#10219
Labels
area/cli
UX of using the CLI (args, output, logs)
impact/performance
Something is slower than expected
impact/regression
Something that used to work, but is now broken
kind/bug
Some behavior is incorrect or out of spec
p1
Bugs severe enough to be the next item assigned to an engineer
resolution/fixed
This issue was fixed
Milestone
What happened?
pulumi stack ls -a
takes up to a few minutes in organizations with large stacksBased on perf traces, it appears that the CLI is doing an api/getStack on every stack which is taking ~200ms per stack.
It looks like it's a recent regression in #10059
Steps to reproduce
pulumi stack ls -a
Expected Behavior
Executes within a second or so
Actual Behavior
Takes up to 3-5 minutes based on user reports
Versions used
CLI 3.36.0, Pulumi Service backend
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: