From 9039b40b6b42bbb46503564e5d179b39847a0af5 Mon Sep 17 00:00:00 2001 From: Saleh Khazaei Date: Wed, 31 Jul 2024 21:04:43 +0400 Subject: [PATCH] fix: Fixes workspace creation --- pkg/workspace/statemanager/service.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/workspace/statemanager/service.go b/pkg/workspace/statemanager/service.go index 174df1f63..4a8f373e1 100644 --- a/pkg/workspace/statemanager/service.go +++ b/pkg/workspace/statemanager/service.go @@ -157,7 +157,10 @@ func (s *Service) CreateWorkspace(ctx context.Context) error { } for _, tr := range []api.TransactionID{api.Transaction_CreateMasterCredential, - api.Transaction_EnsureCredentialExists, api.Transaction_CreateServiceAccountRoles} { + api.Transaction_EnsureCredentialExists, api.Transaction_CreateServiceAccountRoles, + api.Transaction_EnsureCredentialOnboarded, api.Transaction_EnsureDiscoveryFinished, + api.Transaction_EnsureJobsRunning, api.Transaction_EnsureJobsFinished, + api.Transaction_CreateRoleBinding} { err := s.db.CreateWorkspaceTransaction(&db.WorkspaceTransaction{ WorkspaceID: workspace.ID, TransactionID: tr,