Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64638b3

Browse files
authored
feat: promote PG Coordinator out of experimental (#11398)
Promotes PG Coordinator out of experimental to GA
1 parente816dc0 commit64638b3

File tree

10 files changed

+8
-1239
lines changed

10 files changed

+8
-1239
lines changed

‎coderd/apidoc/docs.go‎

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/apidoc/swagger.json‎

Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎codersdk/deployment.go‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,10 +2080,6 @@ const (
20802080
// https://github.com/coder/coder/milestone/19
20812081
ExperimentWorkspaceActionsExperiment="workspace_actions"
20822082

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

‎docs/api/schemas.md‎

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎enterprise/coderd/coderd.go‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -613,12 +613,7 @@ func (api *API) updateEntitlements(ctx context.Context) error {
613613
ifinitial,changed,enabled:=featureChanged(codersdk.FeatureHighAvailability);shouldUpdate(initial,changed,enabled) {
614614
varcoordinator agpltailnet.Coordinator
615615
ifenabled {
616-
varhaCoordinator agpltailnet.Coordinator
617-
ifapi.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
iferr!=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

‎enterprise/coderd/coderd_test.go‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ func TestEntitlements(t *testing.T) {
4848
require.Empty(t,res.Warnings)
4949
})
5050
t.Run("FullLicense",func(t*testing.T) {
51+
// PGCoordinator requires a real postgres
52+
if!dbtestutil.WillUsePostgres() {
53+
t.Skip("test only with postgres")
54+
}
5155
t.Parallel()
5256
adminClient,_:=coderdenttest.New(t,&coderdenttest.Options{
5357
AuditLogging:true,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp