-
Notifications
You must be signed in to change notification settings - Fork 887
feat: add single tailnet support to moons #8587
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
enterprise/coderd/coderd.go
Outdated
@@ -395,35 +405,39 @@ func (api *API) updateEntitlements(ctx context.Context) error { | |||
return nil | |||
} | |||
|
|||
featureChanged := func(featureName codersdk.FeatureName) (changed bool, enabled bool) { | |||
featureChanged := func(featureName codersdk.FeatureName) (initial, changed, enabled bool) { |
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.
Everything below was pulled into a separate pr #8586
You commented |
I pulled it out to get merged separately. My tests won't pass without it so I kept it in here until I could get it merged. |
This PR adds support for the
single_tailnet
experiment to moons. Instead of a websocket for each agent connection, it reuses theMultiAgent
paradigm backed by a single websocket.