semaphoreci / cli

Semaphore 2.0 Command Line Interface
Apache License 2.0
25 stars 13 forks source link

Wait for user commands to start #159

Closed shiroyasha closed 5 years ago

shiroyasha commented 5 years ago

A race condition can occur when we are starting an SSH session. We can jump into the machine before the toolbox commands have completed.

Now, that the backend is creating a marker for us, we can use that marker to check if it is safe to jump into the machine.