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: parallel_tasks_per_rollout proto (#15998)
Danny Xu37bd9c61ecbf
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 1b5678936c..c7da321d17 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -11455,6 +11455,10 @@ components:The maximum number of databases to sample during CI data validation.Without specification, sampling is disabled, resulting in a full validation.format: int32+ parallelTasksPerRollout:+ type: integer+ description: The maximum number of parallel tasks to run during the rollout.+ format: int32Project_ExecutionRetryPolicy:type: objectproperties:diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex 56a2f7ce61..ff8502f651 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -3548,6 +3548,7 @@ RestrictIssueCreationForSQLReviewPolicy is the policy configuration for restrict| allow_self_approval | [bool](#bool) | | Whether to allow the issue creator to self-approve the issue. || execution_retry_policy | [Project.ExecutionRetryPolicy](#bytebase-store-Project-ExecutionRetryPolicy) | | Execution retry policy for the task run. || ci_sampling_size | [int32](#int32) | | The maximum number of databases to sample during CI data validation. Without specification, sampling is disabled, resulting in a full validation. |+| parallel_tasks_per_rollout | [int32](#int32) | | The maximum number of parallel tasks to run during the rollout. |diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex c8c20dfe2d..7067f1f268 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -9601,6 +9601,13 @@ If enabled, the issue will be created with the prepend "set role <db_owneWithout specification, sampling is disabled, resulting in a full validation. </p></td></tr>+ <tr>+ <td>parallel_tasks_per_rollout</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p>The maximum number of parallel tasks to run during the rollout. </p></td>+ </tr>+</tbody></table>diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 8fe021539d..b9b31aac95 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -8093,6 +8093,7 @@ When paginating, all other parameters provided to `ListProjects` must match the| allow_self_approval | [bool](#bool) | | Whether to allow the issue creator to self-approve the issue. || execution_retry_policy | [Project.ExecutionRetryPolicy](#bytebase-v1-Project-ExecutionRetryPolicy) | | Execution retry policy for the task run. || ci_sampling_size | [int32](#int32) | | The maximum databases of rows to sample during CI data validation. Without specification, sampling is disabled, resulting in a full validation. |+| parallel_tasks_per_rollout | [int32](#int32) | | The maximum number of parallel tasks to run during the rollout. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex d4f5e89d8f..cc95dde0d2 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -22482,6 +22482,13 @@ If enabled, the issue will be created with the prepend "set role <db_owneWithout specification, sampling is disabled, resulting in a full validation. </p></td></tr>+ <tr>+ <td>parallel_tasks_per_rollout</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p>The maximum number of parallel tasks to run during the rollout. </p></td>+ </tr>+</tbody></table>diff --git a/proto/generated-go/store/project.pb.go b/proto/generated-go/store/project.pb.goindex 6b888d46f5..cdad8f2a66 100644--- a/proto/generated-go/store/project.pb.go+++ b/proto/generated-go/store/project.pb.go@@ -106,8 +106,10 @@ type Project struct {// The maximum number of databases to sample during CI data validation.// Without specification, sampling is disabled, resulting in a full validation.CiSamplingSize int32 `protobuf:"varint,12,opt,name=ci_sampling_size,json=ciSamplingSize,proto3" json:"ci_sampling_size,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ // The maximum number of parallel tasks to run during the rollout.+ ParallelTasksPerRollout int32 `protobuf:"varint,13,opt,name=parallel_tasks_per_rollout,json=parallelTasksPerRollout,proto3" json:"parallel_tasks_per_rollout,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *Project) Reset() {@@ -217,6 +219,13 @@ func (x *Project) GetCiSamplingSize() int32 {return 0}+func (x *Project) GetParallelTasksPerRollout() int32 {+ if x != nil {+ return x.ParallelTasksPerRollout+ }+ return 0+}+type Project_ExecutionRetryPolicy struct {state protoimpl.MessageState `protogen:"open.v1"`// The maximum number of retries for the lock timeout issue.@@ -270,7 +279,7 @@ const file_store_project_proto_rawDesc = "" +"\x05Label\x12\x14\n" +"\x05value\x18\x01 \x01(\tR\x05value\x12\x14\n" +"\x05color\x18\x02 \x01(\tR\x05color\x12\x14\n" +- "\x05group\x18\x03 \x01(\tR\x05group\"\xa9\x05\n" ++ "\x05group\x18\x03 \x01(\tR\x05group\"\xe6\x05\n" +"\aProject\x128\n" +"\fissue_labels\x18\x02 \x03(\v2\x15.bytebase.store.LabelR\vissueLabels\x12,\n" +"\x12force_issue_labels\x18\x03 \x01(\bR\x10forceIssueLabels\x124\n" +@@ -283,7 +292,8 @@ const file_store_project_proto_rawDesc = "" +"\x13allow_self_approval\x18\n" +" \x01(\bR\x11allowSelfApproval\x12b\n" +"\x16execution_retry_policy\x18\v \x01(\v2,.bytebase.store.Project.ExecutionRetryPolicyR\x14executionRetryPolicy\x12(\n" +- "\x10ci_sampling_size\x18\f \x01(\x05R\x0eciSamplingSize\x1a?\n" ++ "\x10ci_sampling_size\x18\f \x01(\x05R\x0eciSamplingSize\x12;\n" ++ "\x1aparallel_tasks_per_rollout\x18\r \x01(\x05R\x17parallelTasksPerRollout\x1a?\n" +"\x14ExecutionRetryPolicy\x12'\n" +"\x0fmaximum_retries\x18\x01 \x01(\x05R\x0emaximumRetriesJ\x04\b\x01\x10\x02B\x14Z\x12generated-go/storeb\x06proto3"diff --git a/proto/generated-go/v1/project_service.pb.go b/proto/generated-go/v1/project_service.pb.goindex 30b13c0742..24e3bcdc9b 100644--- a/proto/generated-go/v1/project_service.pb.go+++ b/proto/generated-go/v1/project_service.pb.go@@ -963,8 +963,10 @@ type Project struct {// The maximum databases of rows to sample during CI data validation.// Without specification, sampling is disabled, resulting in a full validation.CiSamplingSize int32 `protobuf:"varint,23,opt,name=ci_sampling_size,json=ciSamplingSize,proto3" json:"ci_sampling_size,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ // The maximum number of parallel tasks to run during the rollout.+ ParallelTasksPerRollout int32 `protobuf:"varint,24,opt,name=parallel_tasks_per_rollout,json=parallelTasksPerRollout,proto3" json:"parallel_tasks_per_rollout,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *Project) Reset() {@@ -1109,6 +1111,13 @@ func (x *Project) GetCiSamplingSize() int32 {return 0}+func (x *Project) GetParallelTasksPerRollout() int32 {+ if x != nil {+ return x.ParallelTasksPerRollout+ }+ return 0+}+type AddWebhookRequest struct {state protoimpl.MessageState `protogen:"open.v1"`// The name of the project to add the webhook to.@@ -1650,7 +1659,7 @@ const file_v1_project_service_proto_rawDesc = "" +"\x05Label\x12\x14\n" +"\x05value\x18\x01 \x01(\tR\x05value\x12\x14\n" +"\x05color\x18\x02 \x01(\tR\x05color\x12\x14\n" +- "\x05group\x18\x03 \x01(\tR\x05group\"\x9b\a\n" ++ "\x05group\x18\x03 \x01(\tR\x05group\"\xd8\a\n" +"\aProject\x12\x12\n" +"\x04name\x18\x01 \x01(\tR\x04name\x12(\n" +"\x05state\x18\x03 \x01(\x0e2\x12.bytebase.v1.StateR\x05state\x12\x14\n" +@@ -1667,7 +1676,8 @@ const file_v1_project_service_proto_rawDesc = "" +"\x1dpostgres_database_tenant_mode\x18\x14 \x01(\bR\x1apostgresDatabaseTenantMode\x12.\n" +"\x13allow_self_approval\x18\x15 \x01(\bR\x11allowSelfApproval\x12_\n" +"\x16execution_retry_policy\x18\x16 \x01(\v2).bytebase.v1.Project.ExecutionRetryPolicyR\x14executionRetryPolicy\x12(\n" +- "\x10ci_sampling_size\x18\x17 \x01(\x05R\x0eciSamplingSize\x1a?\n" ++ "\x10ci_sampling_size\x18\x17 \x01(\x05R\x0eciSamplingSize\x12;\n" ++ "\x1aparallel_tasks_per_rollout\x18\x18 \x01(\x05R\x17parallelTasksPerRollout\x1a?\n" +"\x14ExecutionRetryPolicy\x12'\n" +"\x0fmaximum_retries\x18\x01 \x01(\x05R\x0emaximumRetries:-\xeaA*\n" +"\x14bytebase.com/Project\x12\x12projects/{project}J\x04\b\x02\x10\x03\"\x82\x01\n" +diff --git a/proto/store/store/project.proto b/proto/store/store/project.protoindex ad50401806..7823166832 100644--- a/proto/store/store/project.proto+++ b/proto/store/store/project.proto@@ -47,4 +47,7 @@ message Project {// The maximum number of databases to sample during CI data validation.// Without specification, sampling is disabled, resulting in a full validation.int32 ci_sampling_size = 12;++ // The maximum number of parallel tasks to run during the rollout.+ int32 parallel_tasks_per_rollout = 13;}diff --git a/proto/v1/v1/project_service.proto b/proto/v1/v1/project_service.protoindex 24135585d1..1fdfc65ce8 100644--- a/proto/v1/v1/project_service.proto+++ b/proto/v1/v1/project_service.proto@@ -345,6 +345,9 @@ message Project {// The maximum databases of rows to sample during CI data validation.// Without specification, sampling is disabled, resulting in a full validation.int32 ci_sampling_size = 23;++ // The maximum number of parallel tasks to run during the rollout.+ int32 parallel_tasks_per_rollout = 24;}message AddWebhookRequest {