Skip to content

Commit 3267fe7

Browse files
committed
feat: promote PG Coordinator out of experimental
1 parent 48cd4c3 commit 3267fe7

File tree

9 files changed

+4
-1237
lines changed

9 files changed

+4
-1237
lines changed

coderd/apidoc/docs.go

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

+1-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codersdk/deployment.go

-4
Original file line numberDiff line numberDiff line change
@@ -2080,10 +2080,6 @@ const (
20802080
// https://github.com/coder/coder/milestone/19
20812081
ExperimentWorkspaceActions Experiment = "workspace_actions"
20822082

2083-
// ExperimentTailnetPGCoordinator enables the PGCoord in favor of the pubsub-
2084-
// only Coordinator
2085-
ExperimentTailnetPGCoordinator Experiment = "tailnet_pg_coordinator"
2086-
20872083
// Deployment health page
20882084
ExperimentDeploymentHealthPage Experiment = "deployment_health_page"
20892085

docs/api/schemas.md

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

enterprise/coderd/coderd.go

+1-6
Original file line numberDiff line numberDiff line change
@@ -613,12 +613,7 @@ func (api *API) updateEntitlements(ctx context.Context) error {
613613
if initial, changed, enabled := featureChanged(codersdk.FeatureHighAvailability); shouldUpdate(initial, changed, enabled) {
614614
var coordinator agpltailnet.Coordinator
615615
if enabled {
616-
var haCoordinator agpltailnet.Coordinator
617-
if api.AGPL.Experiments.Enabled(codersdk.ExperimentTailnetPGCoordinator) {
618-
haCoordinator, err = tailnet.NewPGCoord(api.ctx, api.Logger, api.Pubsub, api.Database)
619-
} else {
620-
haCoordinator, err = tailnet.NewCoordinator(api.Logger, api.Pubsub)
621-
}
616+
haCoordinator, err := tailnet.NewPGCoord(api.ctx, api.Logger, api.Pubsub, api.Database)
622617
if err != nil {
623618
api.Logger.Error(ctx, "unable to set up high availability coordinator", slog.Error(err))
624619
// If we try to setup the HA coordinator and it fails, nothing

0 commit comments

Comments
 (0)