-
Notifications
You must be signed in to change notification settings - Fork 881
chore: add test for workspace proxy derp meshing #12220
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
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.
Couple suggestions inline, but I don't need to review again. LGTM!
select { | ||
case <-l.done: | ||
return RegisterWorkspaceProxyResponse{}, xerrors.New("proxy registration loop closed") | ||
case l.runLoopNow <- respCh: |
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.
I like this construct of plumbing the request to immediately register thru the same loop!
Merge activity
|
RegisterNow
method)Related to https://github.com/coder/customers/issues/438