project new
subcommand waits for environment to be ready
#492
Labels
Contribution Wanted
The community is welcome to collaborate on this issue
Milestone
Currently, running
cargo shuttle project new
returns immediately with a prompt stating the project iscreating
.However, the environment is not ready to be deployed to until
cargo shuttle project status
returnsready
. Most times this is not a big deal, but under high load, environment creation can take a minute or so, which can be unexpectedly long and create a bad experience as users don't know when their environment is finally ready.Maybe it'd be better to hold exiting from
project new
until the project is ready, continuously updating the prompt with the latest state, and including a spinner to show there is work in progress. This also requires covering the entire state machine of environments.If users exit early from the prompt, they should be able to go back into the "blocking, continuously updating state" through
project status --wait
, which should be equivalent.The text was updated successfully, but these errors were encountered: