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

chore: Move deployment UI and HA out of experimental#4722

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bpmct merged 3 commits intomainfrombpmct/unexperimental-1
Oct 25, 2022
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletionenterprise/coderd/coderd.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -263,7 +263,7 @@ func (api *API) updateEntitlements(ctx context.Context) error {

if changed, enabled := featureChanged(codersdk.FeatureHighAvailability); changed {
coordinator := agpltailnet.NewCoordinator()
ifapi.Experimental &&enabled {
if enabled {
haCoordinator, err := tailnet.NewCoordinator(api.Logger, api.Pubsub)
if err != nil {
api.Logger.Error(ctx, "unable to set up high availability coordinator", slog.Error(err))
Expand Down
9 changes: 2 additions & 7 deletionsenterprise/coderd/replicas_test.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -24,7 +24,6 @@ func TestReplicas(t *testing.T) {
db, pubsub := dbtestutil.NewDB(t)
firstClient := coderdenttest.New(t, &coderdenttest.Options{
Options: &coderdtest.Options{
Experimental: true,
IncludeProvisionerDaemon: true,
Database: db,
Pubsub: pubsub,
Expand DownExpand Up@@ -55,7 +54,6 @@ func TestReplicas(t *testing.T) {
IncludeProvisionerDaemon: true,
Database: db,
Pubsub: pubsub,
Experimental: true,
},
})
firstUser := coderdtest.CreateFirstUser(t, firstClient)
Expand All@@ -65,9 +63,8 @@ func TestReplicas(t *testing.T) {

secondClient := coderdenttest.New(t, &coderdenttest.Options{
Options: &coderdtest.Options{
Experimental: true,
Database: db,
Pubsub: pubsub,
Database: db,
Pubsub: pubsub,
},
})
secondClient.SessionToken = firstClient.SessionToken
Expand DownExpand Up@@ -95,7 +92,6 @@ func TestReplicas(t *testing.T) {
certificates := []tls.Certificate{testutil.GenerateTLSCertificate(t, "localhost")}
firstClient := coderdenttest.New(t, &coderdenttest.Options{
Options: &coderdtest.Options{
Experimental: true,
IncludeProvisionerDaemon: true,
Database: db,
Pubsub: pubsub,
Expand All@@ -109,7 +105,6 @@ func TestReplicas(t *testing.T) {

secondClient := coderdenttest.New(t, &coderdenttest.Options{
Options: &coderdtest.Options{
Experimental: true,
Database: db,
Pubsub: pubsub,
TLSCertificates: certificates,
Expand Down
7 changes: 1 addition & 6 deletionssite/src/components/Navbar/Navbar.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,15 +14,10 @@ export const Navbar: React.FC = () => {
selectFeatureVisibility,
shallowEqual,
)
const experimental = useSelector(
xServices.entitlementsXService,
(state) => state.context.entitlements.experimental,
)
const canViewAuditLog =
featureVisibility[FeatureNames.AuditLog] &&
Boolean(permissions?.viewAuditLog)
const canViewDeployment =
experimental && Boolean(permissions?.viewDeploymentConfig)
const canViewDeployment = Boolean(permissions?.viewDeploymentConfig)
const onSignOut = () => authSend("SIGN_OUT")

return (
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp