moonrepo / proto

A pluggable multi-language version manager.
https://moonrepo.dev/proto
MIT License
688 stars 34 forks source link

Regression in progress bar output #610

Closed jakst closed 1 month ago

jakst commented 2 months ago

What version?

0.41.0

Which command?

proto use

What happened?

There has been a regression in the progress bar output. I believe it started happening after upgrading to v0.41.0, but not 100% sure.

The bars are now all over the place and the same tools are being repeated multiple times. This is what it looks like after proto use --config-mode=global has completed for me.

image

Trace logs?

No response

Operating system?

MacOS

Architecture?

arm64

milesj commented 2 months ago

Hrmm, 0.41 was a pretty small release. I'll dig into the changes and see what's up.

milesj commented 2 months ago

Not seeing anything in the changes that would affect this.

Do you remember what version you were on before? Does this happen if you restart the terminal?

Rust itself was upgraded, maybe this is a side-effect.

jakst commented 2 months ago

I'm pretty sure I was on the latest version that was before that. But I ran it again a bit later and it did not look weird. So it might not be because something changed, but maybe because there were so many tools that updated? It's usually only one or two, and I have no issues. But this time all 8 tools upgraded at once.

milesj commented 2 months ago

@jakst Hrmm. Was your terminal window small by chance? I know it acts weird when there are more tools than available lines in the terminal.

jakst commented 2 months ago

I'm pretty sure I didn't resize the terminal before taking that screenshot, because I wouldn't expect any terminal output to look correct after resizing.

I'll keep an eye one the surrounding details if it were to happen again.

milesj commented 1 month ago

Is this still happening?

jakst commented 1 month ago

Only experienced it that one time, so I think we can close for now.