-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix sync issue on status send chans and sync issue on gRPC deploy stream sends #524
Conversation
…eam sends, closes #515
72b2dab
to
d31f4ce
Compare
What was the issue that this PR fixes? |
it solves several synchronization bugs in the code. for the case with gRPC, if we don't have this waiter, there is a possibility of ending the stream by sending the last message (serviceID or validationErr). In that case if we cannot send all the status messages before, they will be lost. same thing happens in some other places where status messages are send. for example for in commands package there is a possibility that execution of dev/deploy commands will be done before printing all of the status messages to os.Stdout. |
good to review |
No description provided.