Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: cannot run plan checks for release (#17784)
p0ny7f05eb5040f6
diff --git a/backend/api/v1/plan_service.go b/backend/api/v1/plan_service.goindex eeff10c2c5..ada18d2221 100644--- a/backend/api/v1/plan_service.go+++ b/backend/api/v1/plan_service.go@@ -1002,6 +1002,9 @@ func (s *PlanService) RunPlanChecks(ctx context.Context, request *connect.Requesif plan == nil {return nil, connect.NewError(connect.CodeNotFound, errors.Errorf("plan not found"))}+ if storePlanConfigHasRelease(plan.Config) {+ return nil, connect.NewError(connect.CodeInvalidArgument, errors.Errorf("cannot run plan checks because plan %q has release", plan.Name))+ }var planCheckRuns []*store.PlanCheckRunMessageif req.SpecId != nil {