-
Notifications
You must be signed in to change notification settings - Fork 2.1k
output to terminal when we are just waiting for cache uploads #1686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
We could possibly improve the UX here with something like a progress bar or spinner |
90566b8
to
707ed74
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - one comment for a ...comment 😄
I like the approach - hopefully we won't need this anymore once we can move it to the daemon - but this is definitely a better ux for now.
} | ||
|
||
// WaitFor runs fn, and prints msg to the terminal if it takes longer | ||
// than initialDay to do complete. Depending on the terminal configuration, it may |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// than initialDay to do complete. Depending on the terminal configuration, it may | |
// than initialDelay to complete. Depending on the terminal configuration, it may |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kodiak beat me here - addressed in #1697
As a stopgap before we move cache uploads to the daemon, I added some terminal output if uploading is blocking process completion.
While obviously not ideal that users are just waiting for cache population, I think it's at least better that they know that that is what is happening, rather than the process appearing to hang.