Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

refactor: remove preview rollout API and generate rollout locally (#18592)

boojack93c63cde3fe6
diff --git a/backend/api/mcp/gen/openapi.yaml b/backend/api/mcp/gen/openapi.yaml
index 579d3675e5..f603923ae5 100644
--- a/backend/api/mcp/gen/openapi.yaml
+++ b/backend/api/mcp/gen/openapi.yaml
@@ -5064,44 +5064,6 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/bytebase.v1.ListTaskRunsResponse'
- /bytebase.v1.RolloutService/PreviewRollout:
- post:
- tags:
- - bytebase.v1.RolloutService
- summary: 'Previews the rollout that would be created from a plan. Permissions required: bb.rollouts.preview'
- description: |-
- Previews the rollout that would be created from a plan.
- Permissions required: bb.rollouts.preview
- operationId: bytebase.v1.RolloutService.PreviewRollout
- parameters:
- - name: Connect-Protocol-Version
- in: header
- required: true
- schema:
- $ref: '#/components/schemas/connect-protocol-version'
- - name: Connect-Timeout-Ms
- in: header
- schema:
- $ref: '#/components/schemas/connect-timeout-header'
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/bytebase.v1.PreviewRolloutRequest'
- required: true
- responses:
- default:
- description: Error
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/connect.error'
- "200":
- description: Success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/bytebase.v1.Rollout'
/bytebase.v1.RolloutService/PreviewTaskRunRollback:
post:
tags:
@@ -13353,21 +13315,6 @@ components:
- If only line is known, set line and leave column as 0 (e.g., line=5, column=0)
- If only column is known (rare), set column and leave line as 0
Frontends should check for nil/undefined/zero values and handle them appropriately.
- bytebase.v1.PreviewRolloutRequest:
- type: object
- properties:
- project:
- type: string
- title: project
- description: |-
- The name of the project.
- Format: projects/{project}
- plan:
- title: plan
- description: The plan used to preview rollout.
- $ref: '#/components/schemas/bytebase.v1.Plan'
- title: PreviewRolloutRequest
- additionalProperties: false
bytebase.v1.PreviewTaskRunRollbackRequest:
type: object
properties:
diff --git a/backend/api/v1/rollout_service.go b/backend/api/v1/rollout_service.go
index 08f07bfdd3..bd1445ccbb 100644
--- a/backend/api/v1/rollout_service.go
+++ b/backend/api/v1/rollout_service.go
@@ -56,37 +56,6 @@ func NewRolloutService(store *store.Store, sheetManager *sheet.Manager, licenseS
}
}
-// PreviewRollout previews the rollout for a plan.
-func (s *RolloutService) PreviewRollout(ctx context.Context, req *connect.Request[v1pb.PreviewRolloutRequest]) (*connect.Response[v1pb.Rollout], error) {
- request := req.Msg
- projectID, err := common.GetProjectID(request.Project)
- if err != nil {
- return nil, connect.NewError(connect.CodeInvalidArgument, err)
- }
- project, err := s.store.GetProject(ctx, &store.FindProjectMessage{
- ResourceID: &projectID,
- })
- if err != nil {
- return nil, connect.NewError(connect.CodeInternal, errors.Errorf("failed to get project, error: %v", err))
- }
- if project == nil {
- return nil, connect.NewError(connect.CodeNotFound, errors.Errorf("project %q not found", projectID))
- }
-
- specs := convertPlanSpecs(request.Plan.Specs)
-
- rollout, err := GetPipelineCreate(ctx, s.store, s.dbFactory, specs, project)
- if err != nil {
- return nil, connect.NewError(connect.CodeInvalidArgument, errors.Errorf("failed to get pipeline create, error: %v", err))
- }
-
- rolloutV1, err := convertToRollout(ctx, s.store, project, rollout)
- if err != nil {
- return nil, connect.NewError(connect.CodeInternal, errors.Errorf("failed to convert to rollout, error: %v", err))
- }
- return connect.NewResponse(rolloutV1), nil
-}
-
// GetRollout gets a rollout.
func (s *RolloutService) GetRollout(ctx context.Context, req *connect.Request[v1pb.GetRolloutRequest]) (*connect.Response[v1pb.Rollout], error) {
request := req.Msg
diff --git a/backend/component/iam/acl.yaml b/backend/component/iam/acl.yaml
index 311a2fe403..ab4bcafe20 100644
--- a/backend/component/iam/acl.yaml
+++ b/backend/component/iam/acl.yaml
@@ -86,7 +86,6 @@ roles:
- bb.rollouts.create
- bb.rollouts.get
- bb.rollouts.list
- - bb.rollouts.preview
- bb.settings.get
- bb.settings.list
- bb.settings.set
@@ -200,7 +199,6 @@ roles:
- bb.rollouts.create
- bb.rollouts.get
- bb.rollouts.list
- - bb.rollouts.preview
- bb.settings.get
- bb.settings.list
- bb.settings.set
@@ -298,7 +296,6 @@ roles:
- bb.rollouts.create
- bb.rollouts.get
- bb.rollouts.list
- - bb.rollouts.preview
- bb.sheets.create
- bb.sheets.get
- bb.sheets.update
@@ -345,7 +342,6 @@ roles:
- bb.rollouts.create
- bb.rollouts.get
- bb.rollouts.list
- - bb.rollouts.preview
- bb.sheets.create
- bb.sheets.get
- bb.sheets.update
diff --git a/backend/component/iam/permission.go b/backend/component/iam/permission.go
index 775985a964..dabbfca86f 100644
--- a/backend/component/iam/permission.go
+++ b/backend/component/iam/permission.go
@@ -87,7 +87,6 @@ const (
PermissionRolloutsCreate Permission = "bb.rollouts.create"
PermissionRolloutsGet Permission = "bb.rollouts.get"
PermissionRolloutsList Permission = "bb.rollouts.list"
- PermissionRolloutsPreview Permission = "bb.rollouts.preview"
PermissionSettingsGet Permission = "bb.settings.get"
PermissionSettingsList Permission = "bb.settings.list"
PermissionSettingsSet Permission = "bb.settings.set"
@@ -205,7 +204,6 @@ var allPermissions = []Permission{
PermissionRolloutsCreate,
PermissionRolloutsGet,
PermissionRolloutsList,
- PermissionRolloutsPreview,
PermissionSettingsGet,
PermissionSettingsList,
PermissionSettingsSet,
diff --git a/backend/component/iam/permission.yaml b/backend/component/iam/permission.yaml
index b1a697a67c..1d6ee82bff 100644
--- a/backend/component/iam/permission.yaml
+++ b/backend/component/iam/permission.yaml
@@ -88,7 +88,6 @@ permissions:
- bb.rollouts.create
- bb.rollouts.get
- bb.rollouts.list
- - bb.rollouts.preview
- bb.settings.get
- bb.settings.list
- bb.settings.set
diff --git a/backend/generated-go/v1/rollout_service.pb.go b/backend/generated-go/v1/rollout_service.pb.go
index 6583e2d0c9..e5f331d579 100644
--- a/backend/generated-go/v1/rollout_service.pb.go
+++ b/backend/generated-go/v1/rollout_service.pb.go
@@ -93,7 +93,7 @@ func (x Task_Status) Number() protoreflect.EnumNumber {
// Deprecated: Use Task_Status.Descriptor instead.
func (Task_Status) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{16, 0}
}
type Task_Type int32
@@ -161,7 +161,7 @@ func (x Task_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use Task_Type.Descriptor instead.
func (Task_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 1}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{16, 1}
}
type TaskRun_Status int32
@@ -225,7 +225,7 @@ func (x TaskRun_Status) Number() protoreflect.EnumNumber {
// Deprecated: Use TaskRun_Status.Descriptor instead.
func (TaskRun_Status) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{18, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 0}
}
type TaskRun_ExportArchiveStatus int32
@@ -277,7 +277,7 @@ func (x TaskRun_ExportArchiveStatus) Number() protoreflect.EnumNumber {
// Deprecated: Use TaskRun_ExportArchiveStatus.Descriptor instead.
func (TaskRun_ExportArchiveStatus) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{18, 1}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 1}
}
// The type of log entry.
@@ -354,7 +354,7 @@ func (x TaskRunLogEntry_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use TaskRunLogEntry_Type.Descriptor instead.
func (TaskRunLogEntry_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 0}
}
// Internal status for task run execution.
@@ -407,7 +407,7 @@ func (x TaskRunLogEntry_TaskRunStatusUpdate_Status) Number() protoreflect.EnumNu
// Deprecated: Use TaskRunLogEntry_TaskRunStatusUpdate_Status.Descriptor instead.
func (TaskRunLogEntry_TaskRunStatusUpdate_Status) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 3, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 3, 0}
}
// Transaction control type.
@@ -464,7 +464,7 @@ func (x TaskRunLogEntry_TransactionControl_Type) Number() protoreflect.EnumNumbe
// Deprecated: Use TaskRunLogEntry_TransactionControl_Type.Descriptor instead.
func (TaskRunLogEntry_TransactionControl_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 4, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 4, 0}
}
type BatchRunTasksRequest struct {
@@ -1032,61 +1032,6 @@ func (x *CreateRolloutRequest) GetValidateOnly() bool {
return false
}
-type PreviewRolloutRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // The name of the project.
- // Format: projects/{project}
- Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
- // The plan used to preview rollout.
- Plan *Plan `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
-}
-
-func (x *PreviewRolloutRequest) Reset() {
- *x = PreviewRolloutRequest{}
- mi := &file_v1_rollout_service_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *PreviewRolloutRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PreviewRolloutRequest) ProtoMessage() {}
-
-func (x *PreviewRolloutRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[10]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use PreviewRolloutRequest.ProtoReflect.Descriptor instead.
-func (*PreviewRolloutRequest) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{10}
-}
-
-func (x *PreviewRolloutRequest) GetProject() string {
- if x != nil {
- return x.Project
- }
- return ""
-}
-
-func (x *PreviewRolloutRequest) GetPlan() *Plan {
- if x != nil {
- return x.Plan
- }
- return nil
-}
-
type ListTaskRunsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The parent, which owns this collection of plans.
@@ -1099,7 +1044,7 @@ type ListTaskRunsRequest struct {
func (x *ListTaskRunsRequest) Reset() {
*x = ListTaskRunsRequest{}
- mi := &file_v1_rollout_service_proto_msgTypes[11]
+ mi := &file_v1_rollout_service_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1111,7 +1056,7 @@ func (x *ListTaskRunsRequest) String() string {
func (*ListTaskRunsRequest) ProtoMessage() {}
func (x *ListTaskRunsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[11]
+ mi := &file_v1_rollout_service_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1124,7 +1069,7 @@ func (x *ListTaskRunsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListTaskRunsRequest.ProtoReflect.Descriptor instead.
func (*ListTaskRunsRequest) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{11}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{10}
}
func (x *ListTaskRunsRequest) GetParent() string {
@@ -1144,7 +1089,7 @@ type ListTaskRunsResponse struct {
func (x *ListTaskRunsResponse) Reset() {
*x = ListTaskRunsResponse{}
- mi := &file_v1_rollout_service_proto_msgTypes[12]
+ mi := &file_v1_rollout_service_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1156,7 +1101,7 @@ func (x *ListTaskRunsResponse) String() string {
func (*ListTaskRunsResponse) ProtoMessage() {}
func (x *ListTaskRunsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[12]
+ mi := &file_v1_rollout_service_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1169,7 +1114,7 @@ func (x *ListTaskRunsResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListTaskRunsResponse.ProtoReflect.Descriptor instead.
func (*ListTaskRunsResponse) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{12}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{11}
}
func (x *ListTaskRunsResponse) GetTaskRuns() []*TaskRun {
@@ -1189,7 +1134,7 @@ type GetTaskRunRequest struct {
func (x *GetTaskRunRequest) Reset() {
*x = GetTaskRunRequest{}
- mi := &file_v1_rollout_service_proto_msgTypes[13]
+ mi := &file_v1_rollout_service_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1201,7 +1146,7 @@ func (x *GetTaskRunRequest) String() string {
func (*GetTaskRunRequest) ProtoMessage() {}
func (x *GetTaskRunRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[13]
+ mi := &file_v1_rollout_service_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1214,7 +1159,7 @@ func (x *GetTaskRunRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetTaskRunRequest.ProtoReflect.Descriptor instead.
func (*GetTaskRunRequest) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{13}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{12}
}
func (x *GetTaskRunRequest) GetName() string {
@@ -1235,7 +1180,7 @@ type GetTaskRunLogRequest struct {
func (x *GetTaskRunLogRequest) Reset() {
*x = GetTaskRunLogRequest{}
- mi := &file_v1_rollout_service_proto_msgTypes[14]
+ mi := &file_v1_rollout_service_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1247,7 +1192,7 @@ func (x *GetTaskRunLogRequest) String() string {
func (*GetTaskRunLogRequest) ProtoMessage() {}
func (x *GetTaskRunLogRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[14]
+ mi := &file_v1_rollout_service_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1260,7 +1205,7 @@ func (x *GetTaskRunLogRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetTaskRunLogRequest.ProtoReflect.Descriptor instead.
func (*GetTaskRunLogRequest) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{14}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{13}
}
func (x *GetTaskRunLogRequest) GetParent() string {
@@ -1296,7 +1241,7 @@ type Rollout struct {
func (x *Rollout) Reset() {
*x = Rollout{}
- mi := &file_v1_rollout_service_proto_msgTypes[15]
+ mi := &file_v1_rollout_service_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1308,7 +1253,7 @@ func (x *Rollout) String() string {
func (*Rollout) ProtoMessage() {}
func (x *Rollout) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[15]
+ mi := &file_v1_rollout_service_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1321,7 +1266,7 @@ func (x *Rollout) ProtoReflect() protoreflect.Message {
// Deprecated: Use Rollout.ProtoReflect.Descriptor instead.
func (*Rollout) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{15}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{14}
}
func (x *Rollout) GetName() string {
@@ -1400,7 +1345,7 @@ type Stage struct {
func (x *Stage) Reset() {
*x = Stage{}
- mi := &file_v1_rollout_service_proto_msgTypes[16]
+ mi := &file_v1_rollout_service_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1412,7 +1357,7 @@ func (x *Stage) String() string {
func (*Stage) ProtoMessage() {}
func (x *Stage) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[16]
+ mi := &file_v1_rollout_service_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1425,7 +1370,7 @@ func (x *Stage) ProtoReflect() protoreflect.Message {
// Deprecated: Use Stage.ProtoReflect.Descriptor instead.
func (*Stage) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{16}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{15}
}
func (x *Stage) GetName() string {
@@ -1489,7 +1434,7 @@ type Task struct {
func (x *Task) Reset() {
*x = Task{}
- mi := &file_v1_rollout_service_proto_msgTypes[17]
+ mi := &file_v1_rollout_service_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1501,7 +1446,7 @@ func (x *Task) String() string {
func (*Task) ProtoMessage() {}
func (x *Task) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[17]
+ mi := &file_v1_rollout_service_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1514,7 +1459,7 @@ func (x *Task) ProtoReflect() protoreflect.Message {
// Deprecated: Use Task.ProtoReflect.Descriptor instead.
func (*Task) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{17}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{16}
}
func (x *Task) GetName() string {
@@ -1666,7 +1611,7 @@ type TaskRun struct {
func (x *TaskRun) Reset() {
*x = TaskRun{}
- mi := &file_v1_rollout_service_proto_msgTypes[18]
+ mi := &file_v1_rollout_service_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1678,7 +1623,7 @@ func (x *TaskRun) String() string {
func (*TaskRun) ProtoMessage() {}
func (x *TaskRun) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[18]
+ mi := &file_v1_rollout_service_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1691,7 +1636,7 @@ func (x *TaskRun) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRun.ProtoReflect.Descriptor instead.
func (*TaskRun) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{18}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17}
}
func (x *TaskRun) GetName() string {
@@ -1804,7 +1749,7 @@ type TaskRunLog struct {
func (x *TaskRunLog) Reset() {
*x = TaskRunLog{}
- mi := &file_v1_rollout_service_proto_msgTypes[19]
+ mi := &file_v1_rollout_service_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1816,7 +1761,7 @@ func (x *TaskRunLog) String() string {
func (*TaskRunLog) ProtoMessage() {}
func (x *TaskRunLog) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[19]
+ mi := &file_v1_rollout_service_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1829,7 +1774,7 @@ func (x *TaskRunLog) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRunLog.ProtoReflect.Descriptor instead.
func (*TaskRunLog) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{19}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{18}
}
func (x *TaskRunLog) GetName() string {
@@ -1876,7 +1821,7 @@ type TaskRunLogEntry struct {
func (x *TaskRunLogEntry) Reset() {
*x = TaskRunLogEntry{}
- mi := &file_v1_rollout_service_proto_msgTypes[20]
+ mi := &file_v1_rollout_service_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1888,7 +1833,7 @@ func (x *TaskRunLogEntry) String() string {
func (*TaskRunLogEntry) ProtoMessage() {}
func (x *TaskRunLogEntry) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[20]
+ mi := &file_v1_rollout_service_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1901,7 +1846,7 @@ func (x *TaskRunLogEntry) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRunLogEntry.ProtoReflect.Descriptor instead.
func (*TaskRunLogEntry) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19}
}
func (x *TaskRunLogEntry) GetType() TaskRunLogEntry_Type {
@@ -1991,7 +1936,7 @@ type GetTaskRunSessionRequest struct {
func (x *GetTaskRunSessionRequest) Reset() {
*x = GetTaskRunSessionRequest{}
- mi := &file_v1_rollout_service_proto_msgTypes[21]
+ mi := &file_v1_rollout_service_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2003,7 +1948,7 @@ func (x *GetTaskRunSessionRequest) String() string {
func (*GetTaskRunSessionRequest) ProtoMessage() {}
func (x *GetTaskRunSessionRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[21]
+ mi := &file_v1_rollout_service_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2016,7 +1961,7 @@ func (x *GetTaskRunSessionRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetTaskRunSessionRequest.ProtoReflect.Descriptor instead.
func (*GetTaskRunSessionRequest) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{21}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{20}
}
func (x *GetTaskRunSessionRequest) GetParent() string {
@@ -2042,7 +1987,7 @@ type TaskRunSession struct {
func (x *TaskRunSession) Reset() {
*x = TaskRunSession{}
- mi := &file_v1_rollout_service_proto_msgTypes[22]
+ mi := &file_v1_rollout_service_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2054,7 +1999,7 @@ func (x *TaskRunSession) String() string {
func (*TaskRunSession) ProtoMessage() {}
func (x *TaskRunSession) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[22]
+ mi := &file_v1_rollout_service_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2067,7 +2012,7 @@ func (x *TaskRunSession) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRunSession.ProtoReflect.Descriptor instead.
func (*TaskRunSession) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{22}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{21}
}
func (x *TaskRunSession) GetName() string {
@@ -2114,7 +2059,7 @@ type PreviewTaskRunRollbackRequest struct {
func (x *PreviewTaskRunRollbackRequest) Reset() {
*x = PreviewTaskRunRollbackRequest{}
- mi := &file_v1_rollout_service_proto_msgTypes[23]
+ mi := &file_v1_rollout_service_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2126,7 +2071,7 @@ func (x *PreviewTaskRunRollbackRequest) String() string {
func (*PreviewTaskRunRollbackRequest) ProtoMessage() {}
func (x *PreviewTaskRunRollbackRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[23]
+ mi := &file_v1_rollout_service_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2139,7 +2084,7 @@ func (x *PreviewTaskRunRollbackRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use PreviewTaskRunRollbackRequest.ProtoReflect.Descriptor instead.
func (*PreviewTaskRunRollbackRequest) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{23}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{22}
}
func (x *PreviewTaskRunRollbackRequest) GetName() string {
@@ -2159,7 +2104,7 @@ type PreviewTaskRunRollbackResponse struct {
func (x *PreviewTaskRunRollbackResponse) Reset() {
*x = PreviewTaskRunRollbackResponse{}
- mi := &file_v1_rollout_service_proto_msgTypes[24]
+ mi := &file_v1_rollout_service_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2171,7 +2116,7 @@ func (x *PreviewTaskRunRollbackResponse) String() string {
func (*PreviewTaskRunRollbackResponse) ProtoMessage() {}
func (x *PreviewTaskRunRollbackResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[24]
+ mi := &file_v1_rollout_service_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2184,7 +2129,7 @@ func (x *PreviewTaskRunRollbackResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use PreviewTaskRunRollbackResponse.ProtoReflect.Descriptor instead.
func (*PreviewTaskRunRollbackResponse) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{24}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{23}
}
func (x *PreviewTaskRunRollbackResponse) GetStatement() string {
@@ -2218,7 +2163,7 @@ type Task_DatabaseCreate struct {
func (x *Task_DatabaseCreate) Reset() {
*x = Task_DatabaseCreate{}
- mi := &file_v1_rollout_service_proto_msgTypes[25]
+ mi := &file_v1_rollout_service_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2230,7 +2175,7 @@ func (x *Task_DatabaseCreate) String() string {
func (*Task_DatabaseCreate) ProtoMessage() {}
func (x *Task_DatabaseCreate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[25]
+ mi := &file_v1_rollout_service_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2243,7 +2188,7 @@ func (x *Task_DatabaseCreate) ProtoReflect() protoreflect.Message {
// Deprecated: Use Task_DatabaseCreate.ProtoReflect.Descriptor instead.
func (*Task_DatabaseCreate) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{16, 0}
}
func (x *Task_DatabaseCreate) GetProject() string {
@@ -2310,7 +2255,7 @@ type Task_DatabaseUpdate struct {
func (x *Task_DatabaseUpdate) Reset() {
*x = Task_DatabaseUpdate{}
- mi := &file_v1_rollout_service_proto_msgTypes[26]
+ mi := &file_v1_rollout_service_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2322,7 +2267,7 @@ func (x *Task_DatabaseUpdate) String() string {
func (*Task_DatabaseUpdate) ProtoMessage() {}
func (x *Task_DatabaseUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[26]
+ mi := &file_v1_rollout_service_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2335,7 +2280,7 @@ func (x *Task_DatabaseUpdate) ProtoReflect() protoreflect.Message {
// Deprecated: Use Task_DatabaseUpdate.ProtoReflect.Descriptor instead.
func (*Task_DatabaseUpdate) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 1}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{16, 1}
}
func (x *Task_DatabaseUpdate) GetSheet() string {
@@ -2379,7 +2324,7 @@ type Task_DatabaseDataExport struct {
func (x *Task_DatabaseDataExport) Reset() {
*x = Task_DatabaseDataExport{}
- mi := &file_v1_rollout_service_proto_msgTypes[27]
+ mi := &file_v1_rollout_service_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2391,7 +2336,7 @@ func (x *Task_DatabaseDataExport) String() string {
func (*Task_DatabaseDataExport) ProtoMessage() {}
func (x *Task_DatabaseDataExport) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[27]
+ mi := &file_v1_rollout_service_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2404,7 +2349,7 @@ func (x *Task_DatabaseDataExport) ProtoReflect() protoreflect.Message {
// Deprecated: Use Task_DatabaseDataExport.ProtoReflect.Descriptor instead.
func (*Task_DatabaseDataExport) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 2}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{16, 2}
}
func (x *Task_DatabaseDataExport) GetTarget() string {
@@ -2446,7 +2391,7 @@ type TaskRun_PriorBackupDetail struct {
func (x *TaskRun_PriorBackupDetail) Reset() {
*x = TaskRun_PriorBackupDetail{}
- mi := &file_v1_rollout_service_proto_msgTypes[28]
+ mi := &file_v1_rollout_service_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2458,7 +2403,7 @@ func (x *TaskRun_PriorBackupDetail) String() string {
func (*TaskRun_PriorBackupDetail) ProtoMessage() {}
func (x *TaskRun_PriorBackupDetail) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[28]
+ mi := &file_v1_rollout_service_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2471,7 +2416,7 @@ func (x *TaskRun_PriorBackupDetail) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRun_PriorBackupDetail.ProtoReflect.Descriptor instead.
func (*TaskRun_PriorBackupDetail) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{18, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 0}
}
func (x *TaskRun_PriorBackupDetail) GetItems() []*TaskRun_PriorBackupDetail_Item {
@@ -2494,7 +2439,7 @@ type TaskRun_SchedulerInfo struct {
func (x *TaskRun_SchedulerInfo) Reset() {
*x = TaskRun_SchedulerInfo{}
- mi := &file_v1_rollout_service_proto_msgTypes[29]
+ mi := &file_v1_rollout_service_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2506,7 +2451,7 @@ func (x *TaskRun_SchedulerInfo) String() string {
func (*TaskRun_SchedulerInfo) ProtoMessage() {}
func (x *TaskRun_SchedulerInfo) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[29]
+ mi := &file_v1_rollout_service_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2519,7 +2464,7 @@ func (x *TaskRun_SchedulerInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRun_SchedulerInfo.ProtoReflect.Descriptor instead.
func (*TaskRun_SchedulerInfo) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{18, 1}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 1}
}
func (x *TaskRun_SchedulerInfo) GetReportTime() *timestamppb.Timestamp {
@@ -2553,7 +2498,7 @@ type TaskRun_PriorBackupDetail_Item struct {
func (x *TaskRun_PriorBackupDetail_Item) Reset() {
*x = TaskRun_PriorBackupDetail_Item{}
- mi := &file_v1_rollout_service_proto_msgTypes[30]
+ mi := &file_v1_rollout_service_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2565,7 +2510,7 @@ func (x *TaskRun_PriorBackupDetail_Item) String() string {
func (*TaskRun_PriorBackupDetail_Item) ProtoMessage() {}
func (x *TaskRun_PriorBackupDetail_Item) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[30]
+ mi := &file_v1_rollout_service_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2578,7 +2523,7 @@ func (x *TaskRun_PriorBackupDetail_Item) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRun_PriorBackupDetail_Item.ProtoReflect.Descriptor instead.
func (*TaskRun_PriorBackupDetail_Item) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{18, 0, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 0, 0}
}
func (x *TaskRun_PriorBackupDetail_Item) GetSourceTable() *TaskRun_PriorBackupDetail_Item_Table {
@@ -2625,7 +2570,7 @@ type TaskRun_PriorBackupDetail_Item_Table struct {
func (x *TaskRun_PriorBackupDetail_Item_Table) Reset() {
*x = TaskRun_PriorBackupDetail_Item_Table{}
- mi := &file_v1_rollout_service_proto_msgTypes[31]
+ mi := &file_v1_rollout_service_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2637,7 +2582,7 @@ func (x *TaskRun_PriorBackupDetail_Item_Table) String() string {
func (*TaskRun_PriorBackupDetail_Item_Table) ProtoMessage() {}
func (x *TaskRun_PriorBackupDetail_Item_Table) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[31]
+ mi := &file_v1_rollout_service_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2650,7 +2595,7 @@ func (x *TaskRun_PriorBackupDetail_Item_Table) ProtoReflect() protoreflect.Messa
// Deprecated: Use TaskRun_PriorBackupDetail_Item_Table.ProtoReflect.Descriptor instead.
func (*TaskRun_PriorBackupDetail_Item_Table) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{18, 0, 0, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 0, 0, 0}
}
func (x *TaskRun_PriorBackupDetail_Item_Table) GetDatabase() string {
@@ -2691,7 +2636,7 @@ type TaskRun_SchedulerInfo_WaitingCause struct {
func (x *TaskRun_SchedulerInfo_WaitingCause) Reset() {
*x = TaskRun_SchedulerInfo_WaitingCause{}
- mi := &file_v1_rollout_service_proto_msgTypes[32]
+ mi := &file_v1_rollout_service_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2703,7 +2648,7 @@ func (x *TaskRun_SchedulerInfo_WaitingCause) String() string {
func (*TaskRun_SchedulerInfo_WaitingCause) ProtoMessage() {}
func (x *TaskRun_SchedulerInfo_WaitingCause) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[32]
+ mi := &file_v1_rollout_service_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2716,7 +2661,7 @@ func (x *TaskRun_SchedulerInfo_WaitingCause) ProtoReflect() protoreflect.Message
// Deprecated: Use TaskRun_SchedulerInfo_WaitingCause.ProtoReflect.Descriptor instead.
func (*TaskRun_SchedulerInfo_WaitingCause) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{18, 1, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 1, 0}
}
func (x *TaskRun_SchedulerInfo_WaitingCause) GetCause() isTaskRun_SchedulerInfo_WaitingCause_Cause {
@@ -2791,7 +2736,7 @@ type TaskRun_SchedulerInfo_WaitingCause_Task struct {
func (x *TaskRun_SchedulerInfo_WaitingCause_Task) Reset() {
*x = TaskRun_SchedulerInfo_WaitingCause_Task{}
- mi := &file_v1_rollout_service_proto_msgTypes[33]
+ mi := &file_v1_rollout_service_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2803,7 +2748,7 @@ func (x *TaskRun_SchedulerInfo_WaitingCause_Task) String() string {
func (*TaskRun_SchedulerInfo_WaitingCause_Task) ProtoMessage() {}
func (x *TaskRun_SchedulerInfo_WaitingCause_Task) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[33]
+ mi := &file_v1_rollout_service_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2816,7 +2761,7 @@ func (x *TaskRun_SchedulerInfo_WaitingCause_Task) ProtoReflect() protoreflect.Me
// Deprecated: Use TaskRun_SchedulerInfo_WaitingCause_Task.ProtoReflect.Descriptor instead.
func (*TaskRun_SchedulerInfo_WaitingCause_Task) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{18, 1, 0, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 1, 0, 0}
}
func (x *TaskRun_SchedulerInfo_WaitingCause_Task) GetTask() string {
@@ -2841,7 +2786,7 @@ type TaskRunLogEntry_SchemaDump struct {
func (x *TaskRunLogEntry_SchemaDump) Reset() {
*x = TaskRunLogEntry_SchemaDump{}
- mi := &file_v1_rollout_service_proto_msgTypes[34]
+ mi := &file_v1_rollout_service_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2853,7 +2798,7 @@ func (x *TaskRunLogEntry_SchemaDump) String() string {
func (*TaskRunLogEntry_SchemaDump) ProtoMessage() {}
func (x *TaskRunLogEntry_SchemaDump) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[34]
+ mi := &file_v1_rollout_service_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2866,7 +2811,7 @@ func (x *TaskRunLogEntry_SchemaDump) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRunLogEntry_SchemaDump.ProtoReflect.Descriptor instead.
func (*TaskRunLogEntry_SchemaDump) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 0}
}
func (x *TaskRunLogEntry_SchemaDump) GetStartTime() *timestamppb.Timestamp {
@@ -2909,7 +2854,7 @@ type TaskRunLogEntry_CommandExecute struct {
func (x *TaskRunLogEntry_CommandExecute) Reset() {
*x = TaskRunLogEntry_CommandExecute{}
- mi := &file_v1_rollout_service_proto_msgTypes[35]
+ mi := &file_v1_rollout_service_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2921,7 +2866,7 @@ func (x *TaskRunLogEntry_CommandExecute) String() string {
func (*TaskRunLogEntry_CommandExecute) ProtoMessage() {}
func (x *TaskRunLogEntry_CommandExecute) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[35]
+ mi := &file_v1_rollout_service_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2934,7 +2879,7 @@ func (x *TaskRunLogEntry_CommandExecute) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRunLogEntry_CommandExecute.ProtoReflect.Descriptor instead.
func (*TaskRunLogEntry_CommandExecute) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 1}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 1}
}
func (x *TaskRunLogEntry_CommandExecute) GetLogTime() *timestamppb.Timestamp {
@@ -2980,7 +2925,7 @@ type TaskRunLogEntry_DatabaseSync struct {
func (x *TaskRunLogEntry_DatabaseSync) Reset() {
*x = TaskRunLogEntry_DatabaseSync{}
- mi := &file_v1_rollout_service_proto_msgTypes[36]
+ mi := &file_v1_rollout_service_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2992,7 +2937,7 @@ func (x *TaskRunLogEntry_DatabaseSync) String() string {
func (*TaskRunLogEntry_DatabaseSync) ProtoMessage() {}
func (x *TaskRunLogEntry_DatabaseSync) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[36]
+ mi := &file_v1_rollout_service_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3005,7 +2950,7 @@ func (x *TaskRunLogEntry_DatabaseSync) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRunLogEntry_DatabaseSync.ProtoReflect.Descriptor instead.
func (*TaskRunLogEntry_DatabaseSync) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 2}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 2}
}
func (x *TaskRunLogEntry_DatabaseSync) GetStartTime() *timestamppb.Timestamp {
@@ -3040,7 +2985,7 @@ type TaskRunLogEntry_TaskRunStatusUpdate struct {
func (x *TaskRunLogEntry_TaskRunStatusUpdate) Reset() {
*x = TaskRunLogEntry_TaskRunStatusUpdate{}
- mi := &file_v1_rollout_service_proto_msgTypes[37]
+ mi := &file_v1_rollout_service_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3052,7 +2997,7 @@ func (x *TaskRunLogEntry_TaskRunStatusUpdate) String() string {
func (*TaskRunLogEntry_TaskRunStatusUpdate) ProtoMessage() {}
func (x *TaskRunLogEntry_TaskRunStatusUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[37]
+ mi := &file_v1_rollout_service_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3065,7 +3010,7 @@ func (x *TaskRunLogEntry_TaskRunStatusUpdate) ProtoReflect() protoreflect.Messag
// Deprecated: Use TaskRunLogEntry_TaskRunStatusUpdate.ProtoReflect.Descriptor instead.
func (*TaskRunLogEntry_TaskRunStatusUpdate) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 3}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 3}
}
func (x *TaskRunLogEntry_TaskRunStatusUpdate) GetStatus() TaskRunLogEntry_TaskRunStatusUpdate_Status {
@@ -3088,7 +3033,7 @@ type TaskRunLogEntry_TransactionControl struct {
func (x *TaskRunLogEntry_TransactionControl) Reset() {
*x = TaskRunLogEntry_TransactionControl{}
- mi := &file_v1_rollout_service_proto_msgTypes[38]
+ mi := &file_v1_rollout_service_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3100,7 +3045,7 @@ func (x *TaskRunLogEntry_TransactionControl) String() string {
func (*TaskRunLogEntry_TransactionControl) ProtoMessage() {}
func (x *TaskRunLogEntry_TransactionControl) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[38]
+ mi := &file_v1_rollout_service_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3113,7 +3058,7 @@ func (x *TaskRunLogEntry_TransactionControl) ProtoReflect() protoreflect.Message
// Deprecated: Use TaskRunLogEntry_TransactionControl.ProtoReflect.Descriptor instead.
func (*TaskRunLogEntry_TransactionControl) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 4}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 4}
}
func (x *TaskRunLogEntry_TransactionControl) GetType() TaskRunLogEntry_TransactionControl_Type {
@@ -3147,7 +3092,7 @@ type TaskRunLogEntry_PriorBackup struct {
func (x *TaskRunLogEntry_PriorBackup) Reset() {
*x = TaskRunLogEntry_PriorBackup{}
- mi := &file_v1_rollout_service_proto_msgTypes[39]
+ mi := &file_v1_rollout_service_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3159,7 +3104,7 @@ func (x *TaskRunLogEntry_PriorBackup) String() string {
func (*TaskRunLogEntry_PriorBackup) ProtoMessage() {}
func (x *TaskRunLogEntry_PriorBackup) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[39]
+ mi := &file_v1_rollout_service_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3172,7 +3117,7 @@ func (x *TaskRunLogEntry_PriorBackup) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRunLogEntry_PriorBackup.ProtoReflect.Descriptor instead.
func (*TaskRunLogEntry_PriorBackup) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 5}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 5}
}
func (x *TaskRunLogEntry_PriorBackup) GetStartTime() *timestamppb.Timestamp {
@@ -3218,7 +3163,7 @@ type TaskRunLogEntry_RetryInfo struct {
func (x *TaskRunLogEntry_RetryInfo) Reset() {
*x = TaskRunLogEntry_RetryInfo{}
- mi := &file_v1_rollout_service_proto_msgTypes[40]
+ mi := &file_v1_rollout_service_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3230,7 +3175,7 @@ func (x *TaskRunLogEntry_RetryInfo) String() string {
func (*TaskRunLogEntry_RetryInfo) ProtoMessage() {}
func (x *TaskRunLogEntry_RetryInfo) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[40]
+ mi := &file_v1_rollout_service_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3243,7 +3188,7 @@ func (x *TaskRunLogEntry_RetryInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRunLogEntry_RetryInfo.ProtoReflect.Descriptor instead.
func (*TaskRunLogEntry_RetryInfo) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 6}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 6}
}
func (x *TaskRunLogEntry_RetryInfo) GetError() string {
@@ -3282,7 +3227,7 @@ type TaskRunLogEntry_ComputeDiff struct {
func (x *TaskRunLogEntry_ComputeDiff) Reset() {
*x = TaskRunLogEntry_ComputeDiff{}
- mi := &file_v1_rollout_service_proto_msgTypes[41]
+ mi := &file_v1_rollout_service_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3294,7 +3239,7 @@ func (x *TaskRunLogEntry_ComputeDiff) String() string {
func (*TaskRunLogEntry_ComputeDiff) ProtoMessage() {}
func (x *TaskRunLogEntry_ComputeDiff) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[41]
+ mi := &file_v1_rollout_service_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3307,7 +3252,7 @@ func (x *TaskRunLogEntry_ComputeDiff) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRunLogEntry_ComputeDiff.ProtoReflect.Descriptor instead.
func (*TaskRunLogEntry_ComputeDiff) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 7}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 7}
}
func (x *TaskRunLogEntry_ComputeDiff) GetStartTime() *timestamppb.Timestamp {
@@ -3349,7 +3294,7 @@ type TaskRunLogEntry_CommandExecute_CommandResponse struct {
func (x *TaskRunLogEntry_CommandExecute_CommandResponse) Reset() {
*x = TaskRunLogEntry_CommandExecute_CommandResponse{}
- mi := &file_v1_rollout_service_proto_msgTypes[42]
+ mi := &file_v1_rollout_service_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3361,7 +3306,7 @@ func (x *TaskRunLogEntry_CommandExecute_CommandResponse) String() string {
func (*TaskRunLogEntry_CommandExecute_CommandResponse) ProtoMessage() {}
func (x *TaskRunLogEntry_CommandExecute_CommandResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[42]
+ mi := &file_v1_rollout_service_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3374,7 +3319,7 @@ func (x *TaskRunLogEntry_CommandExecute_CommandResponse) ProtoReflect() protoref
// Deprecated: Use TaskRunLogEntry_CommandExecute_CommandResponse.ProtoReflect.Descriptor instead.
func (*TaskRunLogEntry_CommandExecute_CommandResponse) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{20, 1, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 1, 0}
}
func (x *TaskRunLogEntry_CommandExecute_CommandResponse) GetLogTime() *timestamppb.Timestamp {
@@ -3420,7 +3365,7 @@ type TaskRunSession_Postgres struct {
func (x *TaskRunSession_Postgres) Reset() {
*x = TaskRunSession_Postgres{}
- mi := &file_v1_rollout_service_proto_msgTypes[43]
+ mi := &file_v1_rollout_service_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3432,7 +3377,7 @@ func (x *TaskRunSession_Postgres) String() string {
func (*TaskRunSession_Postgres) ProtoMessage() {}
func (x *TaskRunSession_Postgres) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[43]
+ mi := &file_v1_rollout_service_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3445,7 +3390,7 @@ func (x *TaskRunSession_Postgres) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRunSession_Postgres.ProtoReflect.Descriptor instead.
func (*TaskRunSession_Postgres) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{22, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{21, 0}
}
func (x *TaskRunSession_Postgres) GetSession() *TaskRunSession_Postgres_Session {
@@ -3506,7 +3451,7 @@ type TaskRunSession_Postgres_Session struct {
func (x *TaskRunSession_Postgres_Session) Reset() {
*x = TaskRunSession_Postgres_Session{}
- mi := &file_v1_rollout_service_proto_msgTypes[44]
+ mi := &file_v1_rollout_service_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3518,7 +3463,7 @@ func (x *TaskRunSession_Postgres_Session) String() string {
func (*TaskRunSession_Postgres_Session) ProtoMessage() {}
func (x *TaskRunSession_Postgres_Session) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[44]
+ mi := &file_v1_rollout_service_proto_msgTypes[43]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3531,7 +3476,7 @@ func (x *TaskRunSession_Postgres_Session) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRunSession_Postgres_Session.ProtoReflect.Descriptor instead.
func (*TaskRunSession_Postgres_Session) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{22, 0, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{21, 0, 0}
}
func (x *TaskRunSession_Postgres_Session) GetPid() string {
@@ -3636,7 +3581,7 @@ var File_v1_rollout_service_proto protoreflect.FileDescriptor
const file_v1_rollout_service_proto_rawDesc = "" +
"\n" +
- "\x18v1/rollout_service.proto\x12\vbytebase.v1\x1a\x1bbuf/validate/validate.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13v1/annotation.proto\x1a\x0fv1/common.proto\x1a\x15v1/plan_service.proto\"\x8d\x01\n" +
+ "\x18v1/rollout_service.proto\x12\vbytebase.v1\x1a\x1bbuf/validate/validate.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13v1/annotation.proto\x1a\x0fv1/common.proto\"\x8d\x01\n" +
"\x14BatchRunTasksRequest\x12\x16\n" +
"\x06parent\x18\x01 \x01(\tR\x06parent\x12\x14\n" +
"\x05tasks\x18\x02 \x03(\tR\x05tasks\x12:\n" +
@@ -3671,11 +3616,7 @@ const file_v1_rollout_service_proto_rawDesc = "" +
"\arollout\x18\x02 \x01(\v2\x14.bytebase.v1.RolloutB\x03\xe0A\x02R\arollout\x12\x1b\n" +
"\x06target\x18\x03 \x01(\tH\x00R\x06target\x88\x01\x01\x12#\n" +
"\rvalidate_only\x18\x04 \x01(\bR\fvalidateOnlyB\t\n" +
- "\a_target\"v\n" +
- "\x15PreviewRolloutRequest\x126\n" +
- "\aproject\x18\x01 \x01(\tB\x1c\xe0A\x02\xfaA\x16\n" +
- "\x14bytebase.com/ProjectR\aproject\x12%\n" +
- "\x04plan\x18\x02 \x01(\v2\x11.bytebase.v1.PlanR\x04plan\"H\n" +
+ "\a_target\"H\n" +
"\x13ListTaskRunsRequest\x121\n" +
"\x06parent\x18\x01 \x01(\tB\x19\xe0A\x02\xfaA\x13\n" +
"\x11bytebase.com/TaskR\x06parent\"I\n" +
@@ -3944,13 +3885,12 @@ const file_v1_rollout_service_proto_rawDesc = "" +
"\x04name\x18\x01 \x01(\tB\x1c\xe0A\x02\xfaA\x16\n" +
"\x14bytebase.com/TaskRunR\x04name\">\n" +
"\x1ePreviewTaskRunRollbackResponse\x12\x1c\n" +
- "\tstatement\x18\x01 \x01(\tR\tstatement2\x92\x11\n" +
+ "\tstatement\x18\x01 \x01(\tR\tstatement2\xef\x0f\n" +
"\x0eRolloutService\x12\x8a\x01\n" +
"\n" +
"GetRollout\x12\x1e.bytebase.v1.GetRolloutRequest\x1a\x14.bytebase.v1.Rollout\"F\xdaA\x04name\x8a\xea0\x0fbb.rollouts.get\x90\xea0\x01\x82\xd3\xe4\x93\x02\"\x12 /v1/{name=projects/*/rollouts/*}\x12\x9e\x01\n" +
"\fListRollouts\x12 .bytebase.v1.ListRolloutsRequest\x1a!.bytebase.v1.ListRolloutsResponse\"I\xdaA\x06parent\x8a\xea0\x10bb.rollouts.list\x90\xea0\x01\x82\xd3\xe4\x93\x02\"\x12 /v1/{parent=projects/*}/rollouts\x12\xaa\x01\n" +
- "\rCreateRollout\x12!.bytebase.v1.CreateRolloutRequest\x1a\x14.bytebase.v1.Rollout\"`\xdaA\x0eparent,rollout\x8a\xea0\x12bb.rollouts.create\x90\xea0\x01\x98\xea0\x01\x82\xd3\xe4\x93\x02+:\arollout\" /v1/{parent=projects/*}/rollouts\x12\xa0\x01\n" +
- "\x0ePreviewRollout\x12\".bytebase.v1.PreviewRolloutRequest\x1a\x14.bytebase.v1.Rollout\"T\xdaA\x04name\x8a\xea0\x13bb.rollouts.preview\x90\xea0\x01\x82\xd3\xe4\x93\x02,:\x01*\"'/v1/{project=projects/*}:previewRollout\x12\xba\x01\n" +
+ "\rCreateRollout\x12!.bytebase.v1.CreateRolloutRequest\x1a\x14.bytebase.v1.Rollout\"`\xdaA\x0eparent,rollout\x8a\xea0\x12bb.rollouts.create\x90\xea0\x01\x98\xea0\x01\x82\xd3\xe4\x93\x02+:\arollout\" /v1/{parent=projects/*}/rollouts\x12\xba\x01\n" +
"\fListTaskRuns\x12 .bytebase.v1.ListTaskRunsRequest\x1a!.bytebase.v1.ListTaskRunsResponse\"e\xdaA\x06parent\x8a\xea0\x10bb.taskRuns.list\x90\xea0\x01\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/rollouts/*/stages/*/tasks/*}/taskRuns\x12\xa7\x01\n" +
"\n" +
"GetTaskRun\x12\x1e.bytebase.v1.GetTaskRunRequest\x1a\x14.bytebase.v1.TaskRun\"c\xdaA\x04name\x8a\xea0\x10bb.taskRuns.list\x90\xea0\x01\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/rollouts/*/stages/*/tasks/*/taskRuns/*}\x12\xb8\x01\n" +
@@ -3975,7 +3915,7 @@ func file_v1_rollout_service_proto_rawDescGZIP() []byte {
}
var file_v1_rollout_service_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
-var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 45)
+var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 44)
var file_v1_rollout_service_proto_goTypes = []any{
(Task_Status)(0), // 0: bytebase.v1.Task.Status
(Task_Type)(0), // 1: bytebase.v1.Task.Type
@@ -3994,145 +3934,140 @@ var file_v1_rollout_service_proto_goTypes = []any{
(*ListRolloutsRequest)(nil), // 14: bytebase.v1.ListRolloutsRequest
(*ListRolloutsResponse)(nil), // 15: bytebase.v1.ListRolloutsResponse
(*CreateRolloutRequest)(nil), // 16: bytebase.v1.CreateRolloutRequest
- (*PreviewRolloutRequest)(nil), // 17: bytebase.v1.PreviewRolloutRequest
- (*ListTaskRunsRequest)(nil), // 18: bytebase.v1.ListTaskRunsRequest
- (*ListTaskRunsResponse)(nil), // 19: bytebase.v1.ListTaskRunsResponse
- (*GetTaskRunRequest)(nil), // 20: bytebase.v1.GetTaskRunRequest
- (*GetTaskRunLogRequest)(nil), // 21: bytebase.v1.GetTaskRunLogRequest
- (*Rollout)(nil), // 22: bytebase.v1.Rollout
- (*Stage)(nil), // 23: bytebase.v1.Stage
- (*Task)(nil), // 24: bytebase.v1.Task
- (*TaskRun)(nil), // 25: bytebase.v1.TaskRun
- (*TaskRunLog)(nil), // 26: bytebase.v1.TaskRunLog
- (*TaskRunLogEntry)(nil), // 27: bytebase.v1.TaskRunLogEntry
- (*GetTaskRunSessionRequest)(nil), // 28: bytebase.v1.GetTaskRunSessionRequest
- (*TaskRunSession)(nil), // 29: bytebase.v1.TaskRunSession
- (*PreviewTaskRunRollbackRequest)(nil), // 30: bytebase.v1.PreviewTaskRunRollbackRequest
- (*PreviewTaskRunRollbackResponse)(nil), // 31: bytebase.v1.PreviewTaskRunRollbackResponse
- (*Task_DatabaseCreate)(nil), // 32: bytebase.v1.Task.DatabaseCreate
- (*Task_DatabaseUpdate)(nil), // 33: bytebase.v1.Task.DatabaseUpdate
- (*Task_DatabaseDataExport)(nil), // 34: bytebase.v1.Task.DatabaseDataExport
- (*TaskRun_PriorBackupDetail)(nil), // 35: bytebase.v1.TaskRun.PriorBackupDetail
- (*TaskRun_SchedulerInfo)(nil), // 36: bytebase.v1.TaskRun.SchedulerInfo
- (*TaskRun_PriorBackupDetail_Item)(nil), // 37: bytebase.v1.TaskRun.PriorBackupDetail.Item
- (*TaskRun_PriorBackupDetail_Item_Table)(nil), // 38: bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
- (*TaskRun_SchedulerInfo_WaitingCause)(nil), // 39: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause
- (*TaskRun_SchedulerInfo_WaitingCause_Task)(nil), // 40: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.Task
- (*TaskRunLogEntry_SchemaDump)(nil), // 41: bytebase.v1.TaskRunLogEntry.SchemaDump
- (*TaskRunLogEntry_CommandExecute)(nil), // 42: bytebase.v1.TaskRunLogEntry.CommandExecute
- (*TaskRunLogEntry_DatabaseSync)(nil), // 43: bytebase.v1.TaskRunLogEntry.DatabaseSync
- (*TaskRunLogEntry_TaskRunStatusUpdate)(nil), // 44: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate
- (*TaskRunLogEntry_TransactionControl)(nil), // 45: bytebase.v1.TaskRunLogEntry.TransactionControl
- (*TaskRunLogEntry_PriorBackup)(nil), // 46: bytebase.v1.TaskRunLogEntry.PriorBackup
- (*TaskRunLogEntry_RetryInfo)(nil), // 47: bytebase.v1.TaskRunLogEntry.RetryInfo
- (*TaskRunLogEntry_ComputeDiff)(nil), // 48: bytebase.v1.TaskRunLogEntry.ComputeDiff
- (*TaskRunLogEntry_CommandExecute_CommandResponse)(nil), // 49: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse
- (*TaskRunSession_Postgres)(nil), // 50: bytebase.v1.TaskRunSession.Postgres
- (*TaskRunSession_Postgres_Session)(nil), // 51: bytebase.v1.TaskRunSession.Postgres.Session
- (*timestamppb.Timestamp)(nil), // 52: google.protobuf.Timestamp
- (*Plan)(nil), // 53: bytebase.v1.Plan
- (DatabaseChangeType)(0), // 54: bytebase.v1.DatabaseChangeType
- (ExportFormat)(0), // 55: bytebase.v1.ExportFormat
- (*Position)(nil), // 56: bytebase.v1.Position
- (*Range)(nil), // 57: bytebase.v1.Range
+ (*ListTaskRunsRequest)(nil), // 17: bytebase.v1.ListTaskRunsRequest
+ (*ListTaskRunsResponse)(nil), // 18: bytebase.v1.ListTaskRunsResponse
+ (*GetTaskRunRequest)(nil), // 19: bytebase.v1.GetTaskRunRequest
+ (*GetTaskRunLogRequest)(nil), // 20: bytebase.v1.GetTaskRunLogRequest
+ (*Rollout)(nil), // 21: bytebase.v1.Rollout
+ (*Stage)(nil), // 22: bytebase.v1.Stage
+ (*Task)(nil), // 23: bytebase.v1.Task
+ (*TaskRun)(nil), // 24: bytebase.v1.TaskRun
+ (*TaskRunLog)(nil), // 25: bytebase.v1.TaskRunLog
+ (*TaskRunLogEntry)(nil), // 26: bytebase.v1.TaskRunLogEntry
+ (*GetTaskRunSessionRequest)(nil), // 27: bytebase.v1.GetTaskRunSessionRequest
+ (*TaskRunSession)(nil), // 28: bytebase.v1.TaskRunSession
+ (*PreviewTaskRunRollbackRequest)(nil), // 29: bytebase.v1.PreviewTaskRunRollbackRequest
+ (*PreviewTaskRunRollbackResponse)(nil), // 30: bytebase.v1.PreviewTaskRunRollbackResponse
+ (*Task_DatabaseCreate)(nil), // 31: bytebase.v1.Task.DatabaseCreate
+ (*Task_DatabaseUpdate)(nil), // 32: bytebase.v1.Task.DatabaseUpdate
+ (*Task_DatabaseDataExport)(nil), // 33: bytebase.v1.Task.DatabaseDataExport
+ (*TaskRun_PriorBackupDetail)(nil), // 34: bytebase.v1.TaskRun.PriorBackupDetail
+ (*TaskRun_SchedulerInfo)(nil), // 35: bytebase.v1.TaskRun.SchedulerInfo
+ (*TaskRun_PriorBackupDetail_Item)(nil), // 36: bytebase.v1.TaskRun.PriorBackupDetail.Item
+ (*TaskRun_PriorBackupDetail_Item_Table)(nil), // 37: bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
+ (*TaskRun_SchedulerInfo_WaitingCause)(nil), // 38: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause
+ (*TaskRun_SchedulerInfo_WaitingCause_Task)(nil), // 39: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.Task
+ (*TaskRunLogEntry_SchemaDump)(nil), // 40: bytebase.v1.TaskRunLogEntry.SchemaDump
+ (*TaskRunLogEntry_CommandExecute)(nil), // 41: bytebase.v1.TaskRunLogEntry.CommandExecute
+ (*TaskRunLogEntry_DatabaseSync)(nil), // 42: bytebase.v1.TaskRunLogEntry.DatabaseSync
+ (*TaskRunLogEntry_TaskRunStatusUpdate)(nil), // 43: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate
+ (*TaskRunLogEntry_TransactionControl)(nil), // 44: bytebase.v1.TaskRunLogEntry.TransactionControl
+ (*TaskRunLogEntry_PriorBackup)(nil), // 45: bytebase.v1.TaskRunLogEntry.PriorBackup
+ (*TaskRunLogEntry_RetryInfo)(nil), // 46: bytebase.v1.TaskRunLogEntry.RetryInfo
+ (*TaskRunLogEntry_ComputeDiff)(nil), // 47: bytebase.v1.TaskRunLogEntry.ComputeDiff
+ (*TaskRunLogEntry_CommandExecute_CommandResponse)(nil), // 48: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse
+ (*TaskRunSession_Postgres)(nil), // 49: bytebase.v1.TaskRunSession.Postgres
+ (*TaskRunSession_Postgres_Session)(nil), // 50: bytebase.v1.TaskRunSession.Postgres.Session
+ (*timestamppb.Timestamp)(nil), // 51: google.protobuf.Timestamp
+ (DatabaseChangeType)(0), // 52: bytebase.v1.DatabaseChangeType
+ (ExportFormat)(0), // 53: bytebase.v1.ExportFormat
+ (*Position)(nil), // 54: bytebase.v1.Position
+ (*Range)(nil), // 55: bytebase.v1.Range
}
var file_v1_rollout_service_proto_depIdxs = []int32{
- 52, // 0: bytebase.v1.BatchRunTasksRequest.run_time:type_name -> google.protobuf.Timestamp
- 22, // 1: bytebase.v1.ListRolloutsResponse.rollouts:type_name -> bytebase.v1.Rollout
- 22, // 2: bytebase.v1.CreateRolloutRequest.rollout:type_name -> bytebase.v1.Rollout
- 53, // 3: bytebase.v1.PreviewRolloutRequest.plan:type_name -> bytebase.v1.Plan
- 25, // 4: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun
- 23, // 5: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage
- 52, // 6: bytebase.v1.Rollout.create_time:type_name -> google.protobuf.Timestamp
- 52, // 7: bytebase.v1.Rollout.update_time:type_name -> google.protobuf.Timestamp
- 24, // 8: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task
- 0, // 9: bytebase.v1.Task.status:type_name -> bytebase.v1.Task.Status
- 1, // 10: bytebase.v1.Task.type:type_name -> bytebase.v1.Task.Type
- 32, // 11: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate
- 33, // 12: bytebase.v1.Task.database_update:type_name -> bytebase.v1.Task.DatabaseUpdate
- 34, // 13: bytebase.v1.Task.database_data_export:type_name -> bytebase.v1.Task.DatabaseDataExport
- 52, // 14: bytebase.v1.Task.update_time:type_name -> google.protobuf.Timestamp
- 52, // 15: bytebase.v1.Task.run_time:type_name -> google.protobuf.Timestamp
- 52, // 16: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp
- 52, // 17: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp
- 2, // 18: bytebase.v1.TaskRun.status:type_name -> bytebase.v1.TaskRun.Status
- 52, // 19: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp
- 3, // 20: bytebase.v1.TaskRun.export_archive_status:type_name -> bytebase.v1.TaskRun.ExportArchiveStatus
- 35, // 21: bytebase.v1.TaskRun.prior_backup_detail:type_name -> bytebase.v1.TaskRun.PriorBackupDetail
- 36, // 22: bytebase.v1.TaskRun.scheduler_info:type_name -> bytebase.v1.TaskRun.SchedulerInfo
- 52, // 23: bytebase.v1.TaskRun.run_time:type_name -> google.protobuf.Timestamp
- 27, // 24: bytebase.v1.TaskRunLog.entries:type_name -> bytebase.v1.TaskRunLogEntry
- 4, // 25: bytebase.v1.TaskRunLogEntry.type:type_name -> bytebase.v1.TaskRunLogEntry.Type
- 52, // 26: bytebase.v1.TaskRunLogEntry.log_time:type_name -> google.protobuf.Timestamp
- 41, // 27: bytebase.v1.TaskRunLogEntry.schema_dump:type_name -> bytebase.v1.TaskRunLogEntry.SchemaDump
- 42, // 28: bytebase.v1.TaskRunLogEntry.command_execute:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute
- 43, // 29: bytebase.v1.TaskRunLogEntry.database_sync:type_name -> bytebase.v1.TaskRunLogEntry.DatabaseSync
- 44, // 30: bytebase.v1.TaskRunLogEntry.task_run_status_update:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate
- 45, // 31: bytebase.v1.TaskRunLogEntry.transaction_control:type_name -> bytebase.v1.TaskRunLogEntry.TransactionControl
- 46, // 32: bytebase.v1.TaskRunLogEntry.prior_backup:type_name -> bytebase.v1.TaskRunLogEntry.PriorBackup
- 47, // 33: bytebase.v1.TaskRunLogEntry.retry_info:type_name -> bytebase.v1.TaskRunLogEntry.RetryInfo
- 48, // 34: bytebase.v1.TaskRunLogEntry.compute_diff:type_name -> bytebase.v1.TaskRunLogEntry.ComputeDiff
- 50, // 35: bytebase.v1.TaskRunSession.postgres:type_name -> bytebase.v1.TaskRunSession.Postgres
- 54, // 36: bytebase.v1.Task.DatabaseUpdate.database_change_type:type_name -> bytebase.v1.DatabaseChangeType
- 55, // 37: bytebase.v1.Task.DatabaseDataExport.format:type_name -> bytebase.v1.ExportFormat
- 37, // 38: bytebase.v1.TaskRun.PriorBackupDetail.items:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item
- 52, // 39: bytebase.v1.TaskRun.SchedulerInfo.report_time:type_name -> google.protobuf.Timestamp
- 39, // 40: bytebase.v1.TaskRun.SchedulerInfo.waiting_cause:type_name -> bytebase.v1.TaskRun.SchedulerInfo.WaitingCause
- 38, // 41: bytebase.v1.TaskRun.PriorBackupDetail.Item.source_table:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
- 38, // 42: bytebase.v1.TaskRun.PriorBackupDetail.Item.target_table:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
- 56, // 43: bytebase.v1.TaskRun.PriorBackupDetail.Item.start_position:type_name -> bytebase.v1.Position
- 56, // 44: bytebase.v1.TaskRun.PriorBackupDetail.Item.end_position:type_name -> bytebase.v1.Position
- 40, // 45: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.task:type_name -> bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.Task
- 52, // 46: bytebase.v1.TaskRunLogEntry.SchemaDump.start_time:type_name -> google.protobuf.Timestamp
- 52, // 47: bytebase.v1.TaskRunLogEntry.SchemaDump.end_time:type_name -> google.protobuf.Timestamp
- 52, // 48: bytebase.v1.TaskRunLogEntry.CommandExecute.log_time:type_name -> google.protobuf.Timestamp
- 57, // 49: bytebase.v1.TaskRunLogEntry.CommandExecute.range:type_name -> bytebase.v1.Range
- 49, // 50: bytebase.v1.TaskRunLogEntry.CommandExecute.response:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse
- 52, // 51: bytebase.v1.TaskRunLogEntry.DatabaseSync.start_time:type_name -> google.protobuf.Timestamp
- 52, // 52: bytebase.v1.TaskRunLogEntry.DatabaseSync.end_time:type_name -> google.protobuf.Timestamp
- 5, // 53: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.status:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status
- 6, // 54: bytebase.v1.TaskRunLogEntry.TransactionControl.type:type_name -> bytebase.v1.TaskRunLogEntry.TransactionControl.Type
- 52, // 55: bytebase.v1.TaskRunLogEntry.PriorBackup.start_time:type_name -> google.protobuf.Timestamp
- 52, // 56: bytebase.v1.TaskRunLogEntry.PriorBackup.end_time:type_name -> google.protobuf.Timestamp
- 35, // 57: bytebase.v1.TaskRunLogEntry.PriorBackup.prior_backup_detail:type_name -> bytebase.v1.TaskRun.PriorBackupDetail
- 52, // 58: bytebase.v1.TaskRunLogEntry.ComputeDiff.start_time:type_name -> google.protobuf.Timestamp
- 52, // 59: bytebase.v1.TaskRunLogEntry.ComputeDiff.end_time:type_name -> google.protobuf.Timestamp
- 52, // 60: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.log_time:type_name -> google.protobuf.Timestamp
- 51, // 61: bytebase.v1.TaskRunSession.Postgres.session:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
- 51, // 62: bytebase.v1.TaskRunSession.Postgres.blocking_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
- 51, // 63: bytebase.v1.TaskRunSession.Postgres.blocked_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
- 52, // 64: bytebase.v1.TaskRunSession.Postgres.Session.backend_start:type_name -> google.protobuf.Timestamp
- 52, // 65: bytebase.v1.TaskRunSession.Postgres.Session.xact_start:type_name -> google.protobuf.Timestamp
- 52, // 66: bytebase.v1.TaskRunSession.Postgres.Session.query_start:type_name -> google.protobuf.Timestamp
- 13, // 67: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest
- 14, // 68: bytebase.v1.RolloutService.ListRollouts:input_type -> bytebase.v1.ListRolloutsRequest
- 16, // 69: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest
- 17, // 70: bytebase.v1.RolloutService.PreviewRollout:input_type -> bytebase.v1.PreviewRolloutRequest
- 18, // 71: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest
- 20, // 72: bytebase.v1.RolloutService.GetTaskRun:input_type -> bytebase.v1.GetTaskRunRequest
- 21, // 73: bytebase.v1.RolloutService.GetTaskRunLog:input_type -> bytebase.v1.GetTaskRunLogRequest
- 28, // 74: bytebase.v1.RolloutService.GetTaskRunSession:input_type -> bytebase.v1.GetTaskRunSessionRequest
- 7, // 75: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest
- 9, // 76: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest
- 11, // 77: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest
- 30, // 78: bytebase.v1.RolloutService.PreviewTaskRunRollback:input_type -> bytebase.v1.PreviewTaskRunRollbackRequest
- 22, // 79: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout
- 15, // 80: bytebase.v1.RolloutService.ListRollouts:output_type -> bytebase.v1.ListRolloutsResponse
- 22, // 81: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout
- 22, // 82: bytebase.v1.RolloutService.PreviewRollout:output_type -> bytebase.v1.Rollout
- 19, // 83: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse
- 25, // 84: bytebase.v1.RolloutService.GetTaskRun:output_type -> bytebase.v1.TaskRun
- 26, // 85: bytebase.v1.RolloutService.GetTaskRunLog:output_type -> bytebase.v1.TaskRunLog
- 29, // 86: bytebase.v1.RolloutService.GetTaskRunSession:output_type -> bytebase.v1.TaskRunSession
- 8, // 87: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse
- 10, // 88: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse
- 12, // 89: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse
- 31, // 90: bytebase.v1.RolloutService.PreviewTaskRunRollback:output_type -> bytebase.v1.PreviewTaskRunRollbackResponse
- 79, // [79:91] is the sub-list for method output_type
- 67, // [67:79] is the sub-list for method input_type
- 67, // [67:67] is the sub-list for extension type_name
- 67, // [67:67] is the sub-list for extension extendee
- 0, // [0:67] is the sub-list for field type_name
+ 51, // 0: bytebase.v1.BatchRunTasksRequest.run_time:type_name -> google.protobuf.Timestamp
+ 21, // 1: bytebase.v1.ListRolloutsResponse.rollouts:type_name -> bytebase.v1.Rollout
+ 21, // 2: bytebase.v1.CreateRolloutRequest.rollout:type_name -> bytebase.v1.Rollout
+ 24, // 3: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun
+ 22, // 4: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage
+ 51, // 5: bytebase.v1.Rollout.create_time:type_name -> google.protobuf.Timestamp
+ 51, // 6: bytebase.v1.Rollout.update_time:type_name -> google.protobuf.Timestamp
+ 23, // 7: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task
+ 0, // 8: bytebase.v1.Task.status:type_name -> bytebase.v1.Task.Status
+ 1, // 9: bytebase.v1.Task.type:type_name -> bytebase.v1.Task.Type
+ 31, // 10: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate
+ 32, // 11: bytebase.v1.Task.database_update:type_name -> bytebase.v1.Task.DatabaseUpdate
+ 33, // 12: bytebase.v1.Task.database_data_export:type_name -> bytebase.v1.Task.DatabaseDataExport
+ 51, // 13: bytebase.v1.Task.update_time:type_name -> google.protobuf.Timestamp
+ 51, // 14: bytebase.v1.Task.run_time:type_name -> google.protobuf.Timestamp
+ 51, // 15: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp
+ 51, // 16: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp
+ 2, // 17: bytebase.v1.TaskRun.status:type_name -> bytebase.v1.TaskRun.Status
+ 51, // 18: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp
+ 3, // 19: bytebase.v1.TaskRun.export_archive_status:type_name -> bytebase.v1.TaskRun.ExportArchiveStatus
+ 34, // 20: bytebase.v1.TaskRun.prior_backup_detail:type_name -> bytebase.v1.TaskRun.PriorBackupDetail
+ 35, // 21: bytebase.v1.TaskRun.scheduler_info:type_name -> bytebase.v1.TaskRun.SchedulerInfo
+ 51, // 22: bytebase.v1.TaskRun.run_time:type_name -> google.protobuf.Timestamp
+ 26, // 23: bytebase.v1.TaskRunLog.entries:type_name -> bytebase.v1.TaskRunLogEntry
+ 4, // 24: bytebase.v1.TaskRunLogEntry.type:type_name -> bytebase.v1.TaskRunLogEntry.Type
+ 51, // 25: bytebase.v1.TaskRunLogEntry.log_time:type_name -> google.protobuf.Timestamp
+ 40, // 26: bytebase.v1.TaskRunLogEntry.schema_dump:type_name -> bytebase.v1.TaskRunLogEntry.SchemaDump
+ 41, // 27: bytebase.v1.TaskRunLogEntry.command_execute:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute
+ 42, // 28: bytebase.v1.TaskRunLogEntry.database_sync:type_name -> bytebase.v1.TaskRunLogEntry.DatabaseSync
+ 43, // 29: bytebase.v1.TaskRunLogEntry.task_run_status_update:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate
+ 44, // 30: bytebase.v1.TaskRunLogEntry.transaction_control:type_name -> bytebase.v1.TaskRunLogEntry.TransactionControl
+ 45, // 31: bytebase.v1.TaskRunLogEntry.prior_backup:type_name -> bytebase.v1.TaskRunLogEntry.PriorBackup
+ 46, // 32: bytebase.v1.TaskRunLogEntry.retry_info:type_name -> bytebase.v1.TaskRunLogEntry.RetryInfo
+ 47, // 33: bytebase.v1.TaskRunLogEntry.compute_diff:type_name -> bytebase.v1.TaskRunLogEntry.ComputeDiff
+ 49, // 34: bytebase.v1.TaskRunSession.postgres:type_name -> bytebase.v1.TaskRunSession.Postgres
+ 52, // 35: bytebase.v1.Task.DatabaseUpdate.database_change_type:type_name -> bytebase.v1.DatabaseChangeType
+ 53, // 36: bytebase.v1.Task.DatabaseDataExport.format:type_name -> bytebase.v1.ExportFormat
+ 36, // 37: bytebase.v1.TaskRun.PriorBackupDetail.items:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item
+ 51, // 38: bytebase.v1.TaskRun.SchedulerInfo.report_time:type_name -> google.protobuf.Timestamp
+ 38, // 39: bytebase.v1.TaskRun.SchedulerInfo.waiting_cause:type_name -> bytebase.v1.TaskRun.SchedulerInfo.WaitingCause
+ 37, // 40: bytebase.v1.TaskRun.PriorBackupDetail.Item.source_table:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
+ 37, // 41: bytebase.v1.TaskRun.PriorBackupDetail.Item.target_table:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
+ 54, // 42: bytebase.v1.TaskRun.PriorBackupDetail.Item.start_position:type_name -> bytebase.v1.Position
+ 54, // 43: bytebase.v1.TaskRun.PriorBackupDetail.Item.end_position:type_name -> bytebase.v1.Position
+ 39, // 44: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.task:type_name -> bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.Task
+ 51, // 45: bytebase.v1.TaskRunLogEntry.SchemaDump.start_time:type_name -> google.protobuf.Timestamp
+ 51, // 46: bytebase.v1.TaskRunLogEntry.SchemaDump.end_time:type_name -> google.protobuf.Timestamp
+ 51, // 47: bytebase.v1.TaskRunLogEntry.CommandExecute.log_time:type_name -> google.protobuf.Timestamp
+ 55, // 48: bytebase.v1.TaskRunLogEntry.CommandExecute.range:type_name -> bytebase.v1.Range
+ 48, // 49: bytebase.v1.TaskRunLogEntry.CommandExecute.response:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse
+ 51, // 50: bytebase.v1.TaskRunLogEntry.DatabaseSync.start_time:type_name -> google.protobuf.Timestamp
+ 51, // 51: bytebase.v1.TaskRunLogEntry.DatabaseSync.end_time:type_name -> google.protobuf.Timestamp
+ 5, // 52: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.status:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status
+ 6, // 53: bytebase.v1.TaskRunLogEntry.TransactionControl.type:type_name -> bytebase.v1.TaskRunLogEntry.TransactionControl.Type
+ 51, // 54: bytebase.v1.TaskRunLogEntry.PriorBackup.start_time:type_name -> google.protobuf.Timestamp
+ 51, // 55: bytebase.v1.TaskRunLogEntry.PriorBackup.end_time:type_name -> google.protobuf.Timestamp
+ 34, // 56: bytebase.v1.TaskRunLogEntry.PriorBackup.prior_backup_detail:type_name -> bytebase.v1.TaskRun.PriorBackupDetail
+ 51, // 57: bytebase.v1.TaskRunLogEntry.ComputeDiff.start_time:type_name -> google.protobuf.Timestamp
+ 51, // 58: bytebase.v1.TaskRunLogEntry.ComputeDiff.end_time:type_name -> google.protobuf.Timestamp
+ 51, // 59: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.log_time:type_name -> google.protobuf.Timestamp
+ 50, // 60: bytebase.v1.TaskRunSession.Postgres.session:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
+ 50, // 61: bytebase.v1.TaskRunSession.Postgres.blocking_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
+ 50, // 62: bytebase.v1.TaskRunSession.Postgres.blocked_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
+ 51, // 63: bytebase.v1.TaskRunSession.Postgres.Session.backend_start:type_name -> google.protobuf.Timestamp
+ 51, // 64: bytebase.v1.TaskRunSession.Postgres.Session.xact_start:type_name -> google.protobuf.Timestamp
+ 51, // 65: bytebase.v1.TaskRunSession.Postgres.Session.query_start:type_name -> google.protobuf.Timestamp
+ 13, // 66: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest
+ 14, // 67: bytebase.v1.RolloutService.ListRollouts:input_type -> bytebase.v1.ListRolloutsRequest
+ 16, // 68: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest
+ 17, // 69: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest
+ 19, // 70: bytebase.v1.RolloutService.GetTaskRun:input_type -> bytebase.v1.GetTaskRunRequest
+ 20, // 71: bytebase.v1.RolloutService.GetTaskRunLog:input_type -> bytebase.v1.GetTaskRunLogRequest
+ 27, // 72: bytebase.v1.RolloutService.GetTaskRunSession:input_type -> bytebase.v1.GetTaskRunSessionRequest
+ 7, // 73: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest
+ 9, // 74: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest
+ 11, // 75: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest
+ 29, // 76: bytebase.v1.RolloutService.PreviewTaskRunRollback:input_type -> bytebase.v1.PreviewTaskRunRollbackRequest
+ 21, // 77: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout
+ 15, // 78: bytebase.v1.RolloutService.ListRollouts:output_type -> bytebase.v1.ListRolloutsResponse
+ 21, // 79: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout
+ 18, // 80: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse
+ 24, // 81: bytebase.v1.RolloutService.GetTaskRun:output_type -> bytebase.v1.TaskRun
+ 25, // 82: bytebase.v1.RolloutService.GetTaskRunLog:output_type -> bytebase.v1.TaskRunLog
+ 28, // 83: bytebase.v1.RolloutService.GetTaskRunSession:output_type -> bytebase.v1.TaskRunSession
+ 8, // 84: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse
+ 10, // 85: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse
+ 12, // 86: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse
+ 30, // 87: bytebase.v1.RolloutService.PreviewTaskRunRollback:output_type -> bytebase.v1.PreviewTaskRunRollbackResponse
+ 77, // [77:88] is the sub-list for method output_type
+ 66, // [66:77] is the sub-list for method input_type
+ 66, // [66:66] is the sub-list for extension type_name
+ 66, // [66:66] is the sub-list for extension extendee
+ 0, // [0:66] is the sub-list for field type_name
}
func init() { file_v1_rollout_service_proto_init() }
@@ -4142,32 +4077,31 @@ func file_v1_rollout_service_proto_init() {
}
file_v1_annotation_proto_init()
file_v1_common_proto_init()
- file_v1_plan_service_proto_init()
file_v1_rollout_service_proto_msgTypes[0].OneofWrappers = []any{}
file_v1_rollout_service_proto_msgTypes[9].OneofWrappers = []any{}
- file_v1_rollout_service_proto_msgTypes[17].OneofWrappers = []any{
+ file_v1_rollout_service_proto_msgTypes[16].OneofWrappers = []any{
(*Task_DatabaseCreate_)(nil),
(*Task_DatabaseUpdate_)(nil),
(*Task_DatabaseDataExport_)(nil),
}
- file_v1_rollout_service_proto_msgTypes[18].OneofWrappers = []any{}
- file_v1_rollout_service_proto_msgTypes[22].OneofWrappers = []any{
+ file_v1_rollout_service_proto_msgTypes[17].OneofWrappers = []any{}
+ file_v1_rollout_service_proto_msgTypes[21].OneofWrappers = []any{
(*TaskRunSession_Postgres_)(nil),
}
- file_v1_rollout_service_proto_msgTypes[27].OneofWrappers = []any{}
- file_v1_rollout_service_proto_msgTypes[32].OneofWrappers = []any{
+ file_v1_rollout_service_proto_msgTypes[26].OneofWrappers = []any{}
+ file_v1_rollout_service_proto_msgTypes[31].OneofWrappers = []any{
(*TaskRun_SchedulerInfo_WaitingCause_ConnectionLimit)(nil),
(*TaskRun_SchedulerInfo_WaitingCause_Task_)(nil),
(*TaskRun_SchedulerInfo_WaitingCause_ParallelTasksLimit)(nil),
}
- file_v1_rollout_service_proto_msgTypes[44].OneofWrappers = []any{}
+ file_v1_rollout_service_proto_msgTypes[43].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_rollout_service_proto_rawDesc), len(file_v1_rollout_service_proto_rawDesc)),
NumEnums: 7,
- NumMessages: 45,
+ NumMessages: 44,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/backend/generated-go/v1/rollout_service.pb.gw.go b/backend/generated-go/v1/rollout_service.pb.gw.go
index d1aa51c57f..41cd1d2b3c 100644
--- a/backend/generated-go/v1/rollout_service.pb.gw.go
+++ b/backend/generated-go/v1/rollout_service.pb.gw.go
@@ -186,51 +186,6 @@ func local_request_RolloutService_CreateRollout_0(ctx context.Context, marshaler
return msg, metadata, err
}
-func request_RolloutService_PreviewRollout_0(ctx context.Context, marshaler runtime.Marshaler, client RolloutServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var (
- protoReq PreviewRolloutRequest
- metadata runtime.ServerMetadata
- err error
- )
- if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && !errors.Is(err, io.EOF) {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
- if req.Body != nil {
- _, _ = io.Copy(io.Discard, req.Body)
- }
- val, ok := pathParams["project"]
- if !ok {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")
- }
- protoReq.Project, err = runtime.String(val)
- if err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)
- }
- msg, err := client.PreviewRollout(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
- return msg, metadata, err
-}
-
-func local_request_RolloutService_PreviewRollout_0(ctx context.Context, marshaler runtime.Marshaler, server RolloutServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var (
- protoReq PreviewRolloutRequest
- metadata runtime.ServerMetadata
- err error
- )
- if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && !errors.Is(err, io.EOF) {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
- val, ok := pathParams["project"]
- if !ok {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")
- }
- protoReq.Project, err = runtime.String(val)
- if err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)
- }
- msg, err := server.PreviewRollout(ctx, &protoReq)
- return msg, metadata, err
-}
-
func request_RolloutService_ListTaskRuns_0(ctx context.Context, marshaler runtime.Marshaler, client RolloutServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var (
protoReq ListTaskRunsRequest
@@ -633,26 +588,6 @@ func RegisterRolloutServiceHandlerServer(ctx context.Context, mux *runtime.Serve
}
forward_RolloutService_CreateRollout_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle(http.MethodPost, pattern_RolloutService_PreviewRollout_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
- ctx, cancel := context.WithCancel(req.Context())
- defer cancel()
- var stream runtime.ServerTransportStream
- ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
- inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- annotatedContext, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.RolloutService/PreviewRollout", runtime.WithHTTPPathPattern("/v1/{project=projects/*}:previewRollout"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := local_request_RolloutService_PreviewRollout_0(annotatedContext, inboundMarshaler, server, req, pathParams)
- md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
- if err != nil {
- runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
- return
- }
- forward_RolloutService_PreviewRollout_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
- })
mux.Handle(http.MethodGet, pattern_RolloutService_ListTaskRuns_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
@@ -904,23 +839,6 @@ func RegisterRolloutServiceHandlerClient(ctx context.Context, mux *runtime.Serve
}
forward_RolloutService_CreateRollout_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle(http.MethodPost, pattern_RolloutService_PreviewRollout_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
- ctx, cancel := context.WithCancel(req.Context())
- defer cancel()
- inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- annotatedContext, err := runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.RolloutService/PreviewRollout", runtime.WithHTTPPathPattern("/v1/{project=projects/*}:previewRollout"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := request_RolloutService_PreviewRollout_0(annotatedContext, inboundMarshaler, client, req, pathParams)
- annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
- if err != nil {
- runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
- return
- }
- forward_RolloutService_PreviewRollout_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
- })
mux.Handle(http.MethodGet, pattern_RolloutService_ListTaskRuns_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
@@ -1064,7 +982,6 @@ var (
pattern_RolloutService_GetRollout_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "rollouts", "name"}, ""))
pattern_RolloutService_ListRollouts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "rollouts"}, ""))
pattern_RolloutService_CreateRollout_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "rollouts"}, ""))
- pattern_RolloutService_PreviewRollout_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2}, []string{"v1", "projects", "project"}, "previewRollout"))
pattern_RolloutService_ListTaskRuns_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 1, 0, 2, 4, 1, 0, 4, 8, 5, 5, 2, 6}, []string{"v1", "projects", "rollouts", "stages", "tasks", "parent", "taskRuns"}, ""))
pattern_RolloutService_GetTaskRun_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 1, 0, 2, 4, 1, 0, 2, 5, 1, 0, 4, 10, 5, 6}, []string{"v1", "projects", "rollouts", "stages", "tasks", "taskRuns", "name"}, ""))
pattern_RolloutService_GetTaskRunLog_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 1, 0, 2, 4, 1, 0, 2, 5, 1, 0, 4, 10, 5, 6, 2, 7}, []string{"v1", "projects", "rollouts", "stages", "tasks", "taskRuns", "parent", "log"}, ""))
@@ -1079,7 +996,6 @@ var (
forward_RolloutService_GetRollout_0 = runtime.ForwardResponseMessage
forward_RolloutService_ListRollouts_0 = runtime.ForwardResponseMessage
forward_RolloutService_CreateRollout_0 = runtime.ForwardResponseMessage
- forward_RolloutService_PreviewRollout_0 = runtime.ForwardResponseMessage
forward_RolloutService_ListTaskRuns_0 = runtime.ForwardResponseMessage
forward_RolloutService_GetTaskRun_0 = runtime.ForwardResponseMessage
forward_RolloutService_GetTaskRunLog_0 = runtime.ForwardResponseMessage
diff --git a/backend/generated-go/v1/rollout_service_equal.pb.go b/backend/generated-go/v1/rollout_service_equal.pb.go
index 3cd8bd08b3..d54c433626 100644
--- a/backend/generated-go/v1/rollout_service_equal.pb.go
+++ b/backend/generated-go/v1/rollout_service_equal.pb.go
@@ -180,22 +180,6 @@ func (x *CreateRolloutRequest) Equal(y *CreateRolloutRequest) bool {
return true
}
-func (x *PreviewRolloutRequest) Equal(y *PreviewRolloutRequest) bool {
- if x == y {
- return true
- }
- if x == nil || y == nil {
- return x == nil && y == nil
- }
- if x.Project != y.Project {
- return false
- }
- if !x.Plan.Equal(y.Plan) {
- return false
- }
- return true
-}
-
func (x *ListTaskRunsRequest) Equal(y *ListTaskRunsRequest) bool {
if x == y {
return true
diff --git a/backend/generated-go/v1/rollout_service_grpc.pb.go b/backend/generated-go/v1/rollout_service_grpc.pb.go
index f58da89f25..89237ac5a0 100644
--- a/backend/generated-go/v1/rollout_service_grpc.pb.go
+++ b/backend/generated-go/v1/rollout_service_grpc.pb.go
@@ -22,7 +22,6 @@ const (
RolloutService_GetRollout_FullMethodName = "/bytebase.v1.RolloutService/GetRollout"
RolloutService_ListRollouts_FullMethodName = "/bytebase.v1.RolloutService/ListRollouts"
RolloutService_CreateRollout_FullMethodName = "/bytebase.v1.RolloutService/CreateRollout"
- RolloutService_PreviewRollout_FullMethodName = "/bytebase.v1.RolloutService/PreviewRollout"
RolloutService_ListTaskRuns_FullMethodName = "/bytebase.v1.RolloutService/ListTaskRuns"
RolloutService_GetTaskRun_FullMethodName = "/bytebase.v1.RolloutService/GetTaskRun"
RolloutService_GetTaskRunLog_FullMethodName = "/bytebase.v1.RolloutService/GetTaskRunLog"
@@ -48,9 +47,6 @@ type RolloutServiceClient interface {
// Creates a new rollout from a plan.
// Permissions required: bb.rollouts.create
CreateRollout(ctx context.Context, in *CreateRolloutRequest, opts ...grpc.CallOption) (*Rollout, error)
- // Previews the rollout that would be created from a plan.
- // Permissions required: bb.rollouts.preview
- PreviewRollout(ctx context.Context, in *PreviewRolloutRequest, opts ...grpc.CallOption) (*Rollout, error)
// Lists task run executions for a task.
// Permissions required: bb.taskRuns.list
ListTaskRuns(ctx context.Context, in *ListTaskRunsRequest, opts ...grpc.CallOption) (*ListTaskRunsResponse, error)
@@ -115,16 +111,6 @@ func (c *rolloutServiceClient) CreateRollout(ctx context.Context, in *CreateRoll
return out, nil
}
-func (c *rolloutServiceClient) PreviewRollout(ctx context.Context, in *PreviewRolloutRequest, opts ...grpc.CallOption) (*Rollout, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Rollout)
- err := c.cc.Invoke(ctx, RolloutService_PreviewRollout_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
func (c *rolloutServiceClient) ListTaskRuns(ctx context.Context, in *ListTaskRunsRequest, opts ...grpc.CallOption) (*ListTaskRunsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(ListTaskRunsResponse)
@@ -220,9 +206,6 @@ type RolloutServiceServer interface {
// Creates a new rollout from a plan.
// Permissions required: bb.rollouts.create
CreateRollout(context.Context, *CreateRolloutRequest) (*Rollout, error)
- // Previews the rollout that would be created from a plan.
- // Permissions required: bb.rollouts.preview
- PreviewRollout(context.Context, *PreviewRolloutRequest) (*Rollout, error)
// Lists task run executions for a task.
// Permissions required: bb.taskRuns.list
ListTaskRuns(context.Context, *ListTaskRunsRequest) (*ListTaskRunsResponse, error)
@@ -266,9 +249,6 @@ func (UnimplementedRolloutServiceServer) ListRollouts(context.Context, *ListRoll
func (UnimplementedRolloutServiceServer) CreateRollout(context.Context, *CreateRolloutRequest) (*Rollout, error) {
return nil, status.Error(codes.Unimplemented, "method CreateRollout not implemented")
}
-func (UnimplementedRolloutServiceServer) PreviewRollout(context.Context, *PreviewRolloutRequest) (*Rollout, error) {
- return nil, status.Error(codes.Unimplemented, "method PreviewRollout not implemented")
-}
func (UnimplementedRolloutServiceServer) ListTaskRuns(context.Context, *ListTaskRunsRequest) (*ListTaskRunsResponse, error) {
return nil, status.Error(codes.Unimplemented, "method ListTaskRuns not implemented")
}
@@ -368,24 +348,6 @@ func _RolloutService_CreateRollout_Handler(srv interface{}, ctx context.Context,
return interceptor(ctx, in, info, handler)
}
-func _RolloutService_PreviewRollout_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(PreviewRolloutRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(RolloutServiceServer).PreviewRollout(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: RolloutService_PreviewRollout_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(RolloutServiceServer).PreviewRollout(ctx, req.(*PreviewRolloutRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
func _RolloutService_ListTaskRuns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListTaskRunsRequest)
if err := dec(in); err != nil {
@@ -549,10 +511,6 @@ var RolloutService_ServiceDesc = grpc.ServiceDesc{
MethodName: "CreateRollout",
Handler: _RolloutService_CreateRollout_Handler,
},
- {
- MethodName: "PreviewRollout",
- Handler: _RolloutService_PreviewRollout_Handler,
- },
{
MethodName: "ListTaskRuns",
Handler: _RolloutService_ListTaskRuns_Handler,
diff --git a/backend/generated-go/v1/v1connect/rollout_service.connect.go b/backend/generated-go/v1/v1connect/rollout_service.connect.go
index 92c8e7aaf6..b8848d7ae3 100644
--- a/backend/generated-go/v1/v1connect/rollout_service.connect.go
+++ b/backend/generated-go/v1/v1connect/rollout_service.connect.go
@@ -42,9 +42,6 @@ const (
// RolloutServiceCreateRolloutProcedure is the fully-qualified name of the RolloutService's
// CreateRollout RPC.
RolloutServiceCreateRolloutProcedure = "/bytebase.v1.RolloutService/CreateRollout"
- // RolloutServicePreviewRolloutProcedure is the fully-qualified name of the RolloutService's
- // PreviewRollout RPC.
- RolloutServicePreviewRolloutProcedure = "/bytebase.v1.RolloutService/PreviewRollout"
// RolloutServiceListTaskRunsProcedure is the fully-qualified name of the RolloutService's
// ListTaskRuns RPC.
RolloutServiceListTaskRunsProcedure = "/bytebase.v1.RolloutService/ListTaskRuns"
@@ -82,9 +79,6 @@ type RolloutServiceClient interface {
// Creates a new rollout from a plan.
// Permissions required: bb.rollouts.create
CreateRollout(context.Context, *connect.Request[v1.CreateRolloutRequest]) (*connect.Response[v1.Rollout], error)
- // Previews the rollout that would be created from a plan.
- // Permissions required: bb.rollouts.preview
- PreviewRollout(context.Context, *connect.Request[v1.PreviewRolloutRequest]) (*connect.Response[v1.Rollout], error)
// Lists task run executions for a task.
// Permissions required: bb.taskRuns.list
ListTaskRuns(context.Context, *connect.Request[v1.ListTaskRunsRequest]) (*connect.Response[v1.ListTaskRunsResponse], error)
@@ -140,12 +134,6 @@ func NewRolloutServiceClient(httpClient connect.HTTPClient, baseURL string, opts
connect.WithSchema(rolloutServiceMethods.ByName("CreateRollout")),
connect.WithClientOptions(opts...),
),
- previewRollout: connect.NewClient[v1.PreviewRolloutRequest, v1.Rollout](
- httpClient,
- baseURL+RolloutServicePreviewRolloutProcedure,
- connect.WithSchema(rolloutServiceMethods.ByName("PreviewRollout")),
- connect.WithClientOptions(opts...),
- ),
listTaskRuns: connect.NewClient[v1.ListTaskRunsRequest, v1.ListTaskRunsResponse](
httpClient,
baseURL+RolloutServiceListTaskRunsProcedure,
@@ -202,7 +190,6 @@ type rolloutServiceClient struct {
getRollout *connect.Client[v1.GetRolloutRequest, v1.Rollout]
listRollouts *connect.Client[v1.ListRolloutsRequest, v1.ListRolloutsResponse]
createRollout *connect.Client[v1.CreateRolloutRequest, v1.Rollout]
- previewRollout *connect.Client[v1.PreviewRolloutRequest, v1.Rollout]
listTaskRuns *connect.Client[v1.ListTaskRunsRequest, v1.ListTaskRunsResponse]
getTaskRun *connect.Client[v1.GetTaskRunRequest, v1.TaskRun]
getTaskRunLog *connect.Client[v1.GetTaskRunLogRequest, v1.TaskRunLog]
@@ -228,11 +215,6 @@ func (c *rolloutServiceClient) CreateRollout(ctx context.Context, req *connect.R
return c.createRollout.CallUnary(ctx, req)
}
-// PreviewRollout calls bytebase.v1.RolloutService.PreviewRollout.
-func (c *rolloutServiceClient) PreviewRollout(ctx context.Context, req *connect.Request[v1.PreviewRolloutRequest]) (*connect.Response[v1.Rollout], error) {
- return c.previewRollout.CallUnary(ctx, req)
-}
-
// ListTaskRuns calls bytebase.v1.RolloutService.ListTaskRuns.
func (c *rolloutServiceClient) ListTaskRuns(ctx context.Context, req *connect.Request[v1.ListTaskRunsRequest]) (*connect.Response[v1.ListTaskRunsResponse], error) {
return c.listTaskRuns.CallUnary(ctx, req)
@@ -284,9 +266,6 @@ type RolloutServiceHandler interface {
// Creates a new rollout from a plan.
// Permissions required: bb.rollouts.create
CreateRollout(context.Context, *connect.Request[v1.CreateRolloutRequest]) (*connect.Response[v1.Rollout], error)
- // Previews the rollout that would be created from a plan.
- // Permissions required: bb.rollouts.preview
- PreviewRollout(context.Context, *connect.Request[v1.PreviewRolloutRequest]) (*connect.Response[v1.Rollout], error)
// Lists task run executions for a task.
// Permissions required: bb.taskRuns.list
ListTaskRuns(context.Context, *connect.Request[v1.ListTaskRunsRequest]) (*connect.Response[v1.ListTaskRunsResponse], error)
@@ -338,12 +317,6 @@ func NewRolloutServiceHandler(svc RolloutServiceHandler, opts ...connect.Handler
connect.WithSchema(rolloutServiceMethods.ByName("CreateRollout")),
connect.WithHandlerOptions(opts...),
)
- rolloutServicePreviewRolloutHandler := connect.NewUnaryHandler(
- RolloutServicePreviewRolloutProcedure,
- svc.PreviewRollout,
- connect.WithSchema(rolloutServiceMethods.ByName("PreviewRollout")),
- connect.WithHandlerOptions(opts...),
- )
rolloutServiceListTaskRunsHandler := connect.NewUnaryHandler(
RolloutServiceListTaskRunsProcedure,
svc.ListTaskRuns,
@@ -400,8 +373,6 @@ func NewRolloutServiceHandler(svc RolloutServiceHandler, opts ...connect.Handler
rolloutServiceListRolloutsHandler.ServeHTTP(w, r)
case RolloutServiceCreateRolloutProcedure:
rolloutServiceCreateRolloutHandler.ServeHTTP(w, r)
- case RolloutServicePreviewRolloutProcedure:
- rolloutServicePreviewRolloutHandler.ServeHTTP(w, r)
case RolloutServiceListTaskRunsProcedure:
rolloutServiceListTaskRunsHandler.ServeHTTP(w, r)
case RolloutServiceGetTaskRunProcedure:
@@ -439,10 +410,6 @@ func (UnimplementedRolloutServiceHandler) CreateRollout(context.Context, *connec
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("bytebase.v1.RolloutService.CreateRollout is not implemented"))
}
-func (UnimplementedRolloutServiceHandler) PreviewRollout(context.Context, *connect.Request[v1.PreviewRolloutRequest]) (*connect.Response[v1.Rollout], error) {
- return nil, connect.NewError(connect.CodeUnimplemented, errors.New("bytebase.v1.RolloutService.PreviewRollout is not implemented"))
-}
-
func (UnimplementedRolloutServiceHandler) ListTaskRuns(context.Context, *connect.Request[v1.ListTaskRunsRequest]) (*connect.Response[v1.ListTaskRunsResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("bytebase.v1.RolloutService.ListTaskRuns is not implemented"))
}
diff --git a/backend/migrator/migration/3.14/0005##remove_rollouts_preview_permission.sql b/backend/migrator/migration/3.14/0005##remove_rollouts_preview_permission.sql
new file mode 100644
index 0000000000..7778f6dd80
--- /dev/null
+++ b/backend/migrator/migration/3.14/0005##remove_rollouts_preview_permission.sql
@@ -0,0 +1,6 @@
+-- Remove bb.rollouts.preview permission from existing roles
+UPDATE role
+SET permissions = jsonb_set(permissions, '{permissions}',
+ (permissions->'permissions')::jsonb
+ - 'bb.rollouts.preview'
+);
diff --git a/backend/migrator/migrator_test.go b/backend/migrator/migrator_test.go
index 3e4bf3f14e..077562ba8b 100644
--- a/backend/migrator/migrator_test.go
+++ b/backend/migrator/migrator_test.go
@@ -12,7 +12,7 @@ import (
func TestLatestVersion(t *testing.T) {
files, err := getSortedVersionedFiles()
require.NoError(t, err)
- require.Equal(t, semver.MustParse("3.14.4"), *files[len(files)-1].version)
+ require.Equal(t, semver.MustParse("3.14.5"), *files[len(files)-1].version)
}
func TestVersionUnique(t *testing.T) {
diff --git a/frontend/src/components/IssueV1/components/StageSection/StageSection.vue b/frontend/src/components/IssueV1/components/StageSection/StageSection.vue
index 3b3d24e96b..3e3ab02fe5 100644
--- a/frontend/src/components/IssueV1/components/StageSection/StageSection.vue
+++ b/frontend/src/components/IssueV1/components/StageSection/StageSection.vue
@@ -41,11 +41,7 @@
</div>
</template>
<template v-else>
- <NoPermissionPlaceholder
- v-if="placeholder === 'PERMISSION_DENIED'"
- class="py-6"
- />
- <NEmpty v-else class="py-6" />
+ <NEmpty class="py-6" />
</template>
</div>
</template>
@@ -54,25 +50,11 @@
import { NEmpty, NScrollbar } from "naive-ui";
import { computed } from "vue";
import { useIssueContext } from "@/components/IssueV1/logic";
-import NoPermissionPlaceholder from "@/components/misc/NoPermissionPlaceholder.vue";
-import { useCurrentProjectV1 } from "@/store";
-import { hasProjectPermissionV2 } from "@/utils";
import StageCard from "./StageCard.vue";
-const { isCreating, issue } = useIssueContext();
-const { project } = useCurrentProjectV1();
+const { issue } = useIssueContext();
const stageList = computed(() => {
return issue.value.rolloutEntity?.stages || [];
});
-
-const placeholder = computed(() => {
- if (
- isCreating.value &&
- !hasProjectPermissionV2(project.value, "bb.rollouts.preview")
- ) {
- return "PERMISSION_DENIED";
- }
- return "NO_DATA";
-});
</script>
diff --git a/frontend/src/components/IssueV1/logic/initialize/create.ts b/frontend/src/components/IssueV1/logic/initialize/create.ts
index e5ff7ff090..6835331e10 100644
--- a/frontend/src/components/IssueV1/logic/initialize/create.ts
+++ b/frontend/src/components/IssueV1/logic/initialize/create.ts
@@ -1,30 +1,23 @@
-import { create } from "@bufbuild/protobuf";
import { reactive } from "vue";
import { useRoute } from "vue-router";
import {
buildPlan,
type CreatePlanParams,
extractInitialSQLFromQuery,
+ generateRolloutPreview,
getLocalSheetByName,
} from "@/components/Plan";
-import { rolloutServiceClientConnect } from "@/grpcweb";
import { useCurrentUserV1, useProjectV1Store, useSheetV1Store } from "@/store";
import { projectNamePrefix } from "@/store/modules/v1/common";
import type { IssueType } from "@/types";
import { emptyIssue, TaskTypeListWithStatement } from "@/types";
import { Issue_Type, IssueStatus } from "@/types/proto-es/v1/issue_service_pb";
import type { Plan } from "@/types/proto-es/v1/plan_service_pb";
-import type { Rollout, Stage } from "@/types/proto-es/v1/rollout_service_pb";
-import {
- PreviewRolloutRequestSchema,
- RolloutSchema,
-} from "@/types/proto-es/v1/rollout_service_pb";
+import type { Stage } from "@/types/proto-es/v1/rollout_service_pb";
import {
extractEnvironmentResourceName,
- extractProjectResourceName,
extractSheetUID,
getSheetStatement,
- hasProjectPermissionV2,
sheetNameOfTaskV1,
} from "@/utils";
import { nextUID } from "../base";
@@ -94,18 +87,8 @@ const generateRolloutFromPlan = async (
plan: Plan,
params: CreatePlanParams
) => {
- const project = await useProjectV1Store().getOrFetchProjectByName(
- `projects/${extractProjectResourceName(plan.name)}`
- );
- let rollout: Rollout = create(RolloutSchema, {});
- if (hasProjectPermissionV2(project, "bb.rollouts.preview")) {
- const request = create(PreviewRolloutRequestSchema, {
- project: params.project.name,
- plan: plan,
- });
- // TODO(steven): Remove me after preview rollout is deprecated.
- rollout = await rolloutServiceClientConnect.previewRollout(request);
- }
+ const rollout = await generateRolloutPreview(plan, params.project.name);
+
// Touch UIDs for each object for local referencing
rollout.plan = plan.name;
rollout.name = `${params.project.name}/rollouts/${nextUID()}`;
diff --git a/frontend/src/types/iam/permission.ts b/frontend/src/types/iam/permission.ts
index 3946662042..40d680daaa 100644
--- a/frontend/src/types/iam/permission.ts
+++ b/frontend/src/types/iam/permission.ts
@@ -90,7 +90,6 @@ export type Permission =
| "bb.rollouts.create"
| "bb.rollouts.get"
| "bb.rollouts.list"
- | "bb.rollouts.preview"
| "bb.settings.get"
| "bb.settings.list"
| "bb.settings.set"
diff --git a/frontend/src/types/proto-es/v1/rollout_service_pb.d.ts b/frontend/src/types/proto-es/v1/rollout_service_pb.d.ts
index 036b919dbd..5ca6307c00 100644
--- a/frontend/src/types/proto-es/v1/rollout_service_pb.d.ts
+++ b/frontend/src/types/proto-es/v1/rollout_service_pb.d.ts
@@ -5,7 +5,6 @@
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
import type { Message } from "@bufbuild/protobuf";
import type { Timestamp } from "@bufbuild/protobuf/wkt";
-import type { Plan } from "./plan_service_pb";
import type { DatabaseChangeType, ExportFormat, Position, Range } from "./common_pb";
/**
@@ -293,32 +292,6 @@ export declare type CreateRolloutRequest = Message<"bytebase.v1.CreateRolloutReq
*/
export declare const CreateRolloutRequestSchema: GenMessage<CreateRolloutRequest>;
-/**
- * @generated from message bytebase.v1.PreviewRolloutRequest
- */
-export declare type PreviewRolloutRequest = Message<"bytebase.v1.PreviewRolloutRequest"> & {
- /**
- * The name of the project.
- * Format: projects/{project}
- *
- * @generated from field: string project = 1;
- */
- project: string;
-
- /**
- * The plan used to preview rollout.
- *
- * @generated from field: bytebase.v1.Plan plan = 2;
- */
- plan?: Plan;
-};
-
-/**
- * Describes the message bytebase.v1.PreviewRolloutRequest.
- * Use `create(PreviewRolloutRequestSchema)` to create a new message.
- */
-export declare const PreviewRolloutRequestSchema: GenMessage<PreviewRolloutRequest>;
-
/**
* @generated from message bytebase.v1.ListTaskRunsRequest
*/
@@ -2078,17 +2051,6 @@ export declare const RolloutService: GenService<{
input: typeof CreateRolloutRequestSchema;
output: typeof RolloutSchema;
},
- /**
- * Previews the rollout that would be created from a plan.
- * Permissions required: bb.rollouts.preview
- *
- * @generated from rpc bytebase.v1.RolloutService.PreviewRollout
- */
- previewRollout: {
- methodKind: "unary";
- input: typeof PreviewRolloutRequestSchema;
- output: typeof RolloutSchema;
- },
/**
* Lists task run executions for a task.
* Permissions required: bb.taskRuns.list
diff --git a/frontend/src/types/proto-es/v1/rollout_service_pb.js b/frontend/src/types/proto-es/v1/rollout_service_pb.js
index 0e0dc06806..d1f971e8f0 100644
--- a/frontend/src/types/proto-es/v1/rollout_service_pb.js
+++ b/frontend/src/types/proto-es/v1/rollout_service_pb.js
@@ -11,13 +11,12 @@ import { file_google_api_resource } from "../google/api/resource_pb";
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
import { file_v1_annotation } from "./annotation_pb";
import { file_v1_common } from "./common_pb";
-import { file_v1_plan_service } from "./plan_service_pb";
/**
* Describes the file v1/rollout_service.proto.
*/
export const file_v1_rollout_service = /*@__PURE__*/
- fileDesc("Chh2MS9yb2xsb3V0X3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxInUKFEJhdGNoUnVuVGFza3NSZXF1ZXN0Eg4KBnBhcmVudBgBIAEoCRINCgV0YXNrcxgCIAMoCRIxCghydW5fdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIAIgBAUILCglfcnVuX3RpbWUiFwoVQmF0Y2hSdW5UYXNrc1Jlc3BvbnNlIlAKFUJhdGNoU2tpcFRhc2tzUmVxdWVzdBIOCgZwYXJlbnQYASABKAkSDQoFdGFza3MYAiADKAkSGAoGcmVhc29uGAMgASgJQgi6SAVyAxjoByIYChZCYXRjaFNraXBUYXNrc1Jlc3BvbnNlIj8KGkJhdGNoQ2FuY2VsVGFza1J1bnNSZXF1ZXN0Eg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NlbFRhc2tSdW5zEicuYnl0ZWJhc2UudjEuQmF0Y2hDYW5jZWxUYXNrUnVuc1JlcXVlc3QaKC5ieXRlYmFzZS52MS5CYXRjaENhbmNlbFRhc2tSdW5zUmVzcG9uc2UiYNpBBnBhcmVudJDqMAKC0+STAk06ASoiSC92MS97cGFyZW50PXByb2plY3RzLyovcm9sbG91dHMvKi9zdGFnZXMvKi90YXNrcy8qfS90YXNrUnVuczpiYXRjaENhbmNlbBLpAQoWUHJldmlld1Rhc2tSdW5Sb2xsYmFjaxIqLmJ5dGViYXNlLnYxLlByZXZpZXdUYXNrUnVuUm9sbGJhY2tSZXF1ZXN0GisuYnl0ZWJhc2UudjEuUHJldmlld1Rhc2tSdW5Sb2xsYmFja1Jlc3BvbnNlInbaQQRuYW1liuowEGJiLnRhc2tSdW5zLmxpc3SQ6jABgtPkkwJROgEqIkwvdjEve25hbWU9cHJvamVjdHMvKi9yb2xsb3V0cy8qL3N0YWdlcy8qL3Rhc2tzLyovdGFza1J1bnMvKn06cHJldmlld1JvbGxiYWNrQqkBCg9jb20uYnl0ZWJhc2UudjFCE1JvbGxvdXRTZXJ2aWNlUHJvdG9QAVo0Z2l0aHViLmNvbS9ieXRlYmFzZS9ieXRlYmFzZS9iYWNrZW5kL2dlbmVyYXRlZC1nby92MaICA0JYWKoCC0J5dGViYXNlLlYxygILQnl0ZWJhc2VcVjHiAhdCeXRlYmFzZVxWMVxHUEJNZXRhZGF0YeoCDEJ5dGViYXNlOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_timestamp, file_v1_annotation, file_v1_common, file_v1_plan_service]);
+ fileDesc("Chh2MS9yb2xsb3V0X3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxInUKFEJhdGNoUnVuVGFza3NSZXF1ZXN0Eg4KBnBhcmVudBgBIAEoCRINCgV0YXNrcxgCIAMoCRIxCghydW5fdGltZRgDIAEoCzIa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GViYXNlLnYxLkJhdGNoQ2FuY2VsVGFza1J1bnNSZXNwb25zZSJg2kEGcGFyZW50kOowAoLT5JMCTToBKiJIL3YxL3twYXJlbnQ9cHJvamVjdHMvKi9yb2xsb3V0cy8qL3N0YWdlcy8qL3Rhc2tzLyp9L3Rhc2tSdW5zOmJhdGNoQ2FuY2VsEukBChZQcmV2aWV3VGFza1J1blJvbGxiYWNrEiouYnl0ZWJhc2UudjEuUHJldmlld1Rhc2tSdW5Sb2xsYmFja1JlcXVlc3QaKy5ieXRlYmFzZS52MS5QcmV2aWV3VGFza1J1blJvbGxiYWNrUmVzcG9uc2UidtpBBG5hbWWK6jAQYmIudGFza1J1bnMubGlzdJDqMAGC0+STAlE6ASoiTC92MS97bmFtZT1wcm9qZWN0cy8qL3JvbGxvdXRzLyovc3RhZ2VzLyovdGFza3MvKi90YXNrUnVucy8qfTpwcmV2aWV3Um9sbGJhY2tCqQEKD2NvbS5ieXRlYmFzZS52MUITUm9sbG91dFNlcnZpY2VQcm90b1ABWjRnaXRodWIuY29tL2J5dGViYXNlL2J5dGViYXNlL2JhY2tlbmQvZ2VuZXJhdGVkLWdvL3YxogIDQlhYqgILQnl0ZWJhc2UuVjHKAgtCeXRlYmFzZVxWMeICF0J5dGViYXNlXFYxXEdQQk1ldGFkYXRh6gIMQnl0ZWJhc2U6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_timestamp, file_v1_annotation, file_v1_common]);
/**
* Describes the message bytebase.v1.BatchRunTasksRequest.
@@ -89,88 +88,81 @@ export const ListRolloutsResponseSchema = /*@__PURE__*/
export const CreateRolloutRequestSchema = /*@__PURE__*/
messageDesc(file_v1_rollout_service, 9);
-/**
- * Describes the message bytebase.v1.PreviewRolloutRequest.
- * Use `create(PreviewRolloutRequestSchema)` to create a new message.
- */
-export const PreviewRolloutRequestSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 10);
-
/**
* Describes the message bytebase.v1.ListTaskRunsRequest.
* Use `create(ListTaskRunsRequestSchema)` to create a new message.
*/
export const ListTaskRunsRequestSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 11);
+ messageDesc(file_v1_rollout_service, 10);
/**
* Describes the message bytebase.v1.ListTaskRunsResponse.
* Use `create(ListTaskRunsResponseSchema)` to create a new message.
*/
export const ListTaskRunsResponseSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 12);
+ messageDesc(file_v1_rollout_service, 11);
/**
* Describes the message bytebase.v1.GetTaskRunRequest.
* Use `create(GetTaskRunRequestSchema)` to create a new message.
*/
export const GetTaskRunRequestSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 13);
+ messageDesc(file_v1_rollout_service, 12);
/**
* Describes the message bytebase.v1.GetTaskRunLogRequest.
* Use `create(GetTaskRunLogRequestSchema)` to create a new message.
*/
export const GetTaskRunLogRequestSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 14);
+ messageDesc(file_v1_rollout_service, 13);
/**
* Describes the message bytebase.v1.Rollout.
* Use `create(RolloutSchema)` to create a new message.
*/
export const RolloutSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 15);
+ messageDesc(file_v1_rollout_service, 14);
/**
* Describes the message bytebase.v1.Stage.
* Use `create(StageSchema)` to create a new message.
*/
export const StageSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 16);
+ messageDesc(file_v1_rollout_service, 15);
/**
* Describes the message bytebase.v1.Task.
* Use `create(TaskSchema)` to create a new message.
*/
export const TaskSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 17);
+ messageDesc(file_v1_rollout_service, 16);
/**
* Describes the message bytebase.v1.Task.DatabaseCreate.
* Use `create(Task_DatabaseCreateSchema)` to create a new message.
*/
export const Task_DatabaseCreateSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 17, 0);
+ messageDesc(file_v1_rollout_service, 16, 0);
/**
* Describes the message bytebase.v1.Task.DatabaseUpdate.
* Use `create(Task_DatabaseUpdateSchema)` to create a new message.
*/
export const Task_DatabaseUpdateSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 17, 1);
+ messageDesc(file_v1_rollout_service, 16, 1);
/**
* Describes the message bytebase.v1.Task.DatabaseDataExport.
* Use `create(Task_DatabaseDataExportSchema)` to create a new message.
*/
export const Task_DatabaseDataExportSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 17, 2);
+ messageDesc(file_v1_rollout_service, 16, 2);
/**
* Describes the enum bytebase.v1.Task.Status.
*/
export const Task_StatusSchema = /*@__PURE__*/
- enumDesc(file_v1_rollout_service, 17, 0);
+ enumDesc(file_v1_rollout_service, 16, 0);
/**
* @generated from enum bytebase.v1.Task.Status
@@ -182,7 +174,7 @@ export const Task_Status = /*@__PURE__*/
* Describes the enum bytebase.v1.Task.Type.
*/
export const Task_TypeSchema = /*@__PURE__*/
- enumDesc(file_v1_rollout_service, 17, 1);
+ enumDesc(file_v1_rollout_service, 16, 1);
/**
* @generated from enum bytebase.v1.Task.Type
@@ -195,55 +187,55 @@ export const Task_Type = /*@__PURE__*/
* Use `create(TaskRunSchema)` to create a new message.
*/
export const TaskRunSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 18);
+ messageDesc(file_v1_rollout_service, 17);
/**
* Describes the message bytebase.v1.TaskRun.PriorBackupDetail.
* Use `create(TaskRun_PriorBackupDetailSchema)` to create a new message.
*/
export const TaskRun_PriorBackupDetailSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 18, 0);
+ messageDesc(file_v1_rollout_service, 17, 0);
/**
* Describes the message bytebase.v1.TaskRun.PriorBackupDetail.Item.
* Use `create(TaskRun_PriorBackupDetail_ItemSchema)` to create a new message.
*/
export const TaskRun_PriorBackupDetail_ItemSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 18, 0, 0);
+ messageDesc(file_v1_rollout_service, 17, 0, 0);
/**
* Describes the message bytebase.v1.TaskRun.PriorBackupDetail.Item.Table.
* Use `create(TaskRun_PriorBackupDetail_Item_TableSchema)` to create a new message.
*/
export const TaskRun_PriorBackupDetail_Item_TableSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 18, 0, 0, 0);
+ messageDesc(file_v1_rollout_service, 17, 0, 0, 0);
/**
* Describes the message bytebase.v1.TaskRun.SchedulerInfo.
* Use `create(TaskRun_SchedulerInfoSchema)` to create a new message.
*/
export const TaskRun_SchedulerInfoSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 18, 1);
+ messageDesc(file_v1_rollout_service, 17, 1);
/**
* Describes the message bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.
* Use `create(TaskRun_SchedulerInfo_WaitingCauseSchema)` to create a new message.
*/
export const TaskRun_SchedulerInfo_WaitingCauseSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 18, 1, 0);
+ messageDesc(file_v1_rollout_service, 17, 1, 0);
/**
* Describes the message bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.Task.
* Use `create(TaskRun_SchedulerInfo_WaitingCause_TaskSchema)` to create a new message.
*/
export const TaskRun_SchedulerInfo_WaitingCause_TaskSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 18, 1, 0, 0);
+ messageDesc(file_v1_rollout_service, 17, 1, 0, 0);
/**
* Describes the enum bytebase.v1.TaskRun.Status.
*/
export const TaskRun_StatusSchema = /*@__PURE__*/
- enumDesc(file_v1_rollout_service, 18, 0);
+ enumDesc(file_v1_rollout_service, 17, 0);
/**
* @generated from enum bytebase.v1.TaskRun.Status
@@ -255,7 +247,7 @@ export const TaskRun_Status = /*@__PURE__*/
* Describes the enum bytebase.v1.TaskRun.ExportArchiveStatus.
*/
export const TaskRun_ExportArchiveStatusSchema = /*@__PURE__*/
- enumDesc(file_v1_rollout_service, 18, 1);
+ enumDesc(file_v1_rollout_service, 17, 1);
/**
* @generated from enum bytebase.v1.TaskRun.ExportArchiveStatus
@@ -268,55 +260,55 @@ export const TaskRun_ExportArchiveStatus = /*@__PURE__*/
* Use `create(TaskRunLogSchema)` to create a new message.
*/
export const TaskRunLogSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 19);
+ messageDesc(file_v1_rollout_service, 18);
/**
* Describes the message bytebase.v1.TaskRunLogEntry.
* Use `create(TaskRunLogEntrySchema)` to create a new message.
*/
export const TaskRunLogEntrySchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 20);
+ messageDesc(file_v1_rollout_service, 19);
/**
* Describes the message bytebase.v1.TaskRunLogEntry.SchemaDump.
* Use `create(TaskRunLogEntry_SchemaDumpSchema)` to create a new message.
*/
export const TaskRunLogEntry_SchemaDumpSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 20, 0);
+ messageDesc(file_v1_rollout_service, 19, 0);
/**
* Describes the message bytebase.v1.TaskRunLogEntry.CommandExecute.
* Use `create(TaskRunLogEntry_CommandExecuteSchema)` to create a new message.
*/
export const TaskRunLogEntry_CommandExecuteSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 20, 1);
+ messageDesc(file_v1_rollout_service, 19, 1);
/**
* Describes the message bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.
* Use `create(TaskRunLogEntry_CommandExecute_CommandResponseSchema)` to create a new message.
*/
export const TaskRunLogEntry_CommandExecute_CommandResponseSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 20, 1, 0);
+ messageDesc(file_v1_rollout_service, 19, 1, 0);
/**
* Describes the message bytebase.v1.TaskRunLogEntry.DatabaseSync.
* Use `create(TaskRunLogEntry_DatabaseSyncSchema)` to create a new message.
*/
export const TaskRunLogEntry_DatabaseSyncSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 20, 2);
+ messageDesc(file_v1_rollout_service, 19, 2);
/**
* Describes the message bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.
* Use `create(TaskRunLogEntry_TaskRunStatusUpdateSchema)` to create a new message.
*/
export const TaskRunLogEntry_TaskRunStatusUpdateSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 20, 3);
+ messageDesc(file_v1_rollout_service, 19, 3);
/**
* Describes the enum bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status.
*/
export const TaskRunLogEntry_TaskRunStatusUpdate_StatusSchema = /*@__PURE__*/
- enumDesc(file_v1_rollout_service, 20, 3, 0);
+ enumDesc(file_v1_rollout_service, 19, 3, 0);
/**
* Internal status for task run execution.
@@ -331,13 +323,13 @@ export const TaskRunLogEntry_TaskRunStatusUpdate_Status = /*@__PURE__*/
* Use `create(TaskRunLogEntry_TransactionControlSchema)` to create a new message.
*/
export const TaskRunLogEntry_TransactionControlSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 20, 4);
+ messageDesc(file_v1_rollout_service, 19, 4);
/**
* Describes the enum bytebase.v1.TaskRunLogEntry.TransactionControl.Type.
*/
export const TaskRunLogEntry_TransactionControl_TypeSchema = /*@__PURE__*/
- enumDesc(file_v1_rollout_service, 20, 4, 0);
+ enumDesc(file_v1_rollout_service, 19, 4, 0);
/**
* Transaction control type.
@@ -352,27 +344,27 @@ export const TaskRunLogEntry_TransactionControl_Type = /*@__PURE__*/
* Use `create(TaskRunLogEntry_PriorBackupSchema)` to create a new message.
*/
export const TaskRunLogEntry_PriorBackupSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 20, 5);
+ messageDesc(file_v1_rollout_service, 19, 5);
/**
* Describes the message bytebase.v1.TaskRunLogEntry.RetryInfo.
* Use `create(TaskRunLogEntry_RetryInfoSchema)` to create a new message.
*/
export const TaskRunLogEntry_RetryInfoSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 20, 6);
+ messageDesc(file_v1_rollout_service, 19, 6);
/**
* Describes the message bytebase.v1.TaskRunLogEntry.ComputeDiff.
* Use `create(TaskRunLogEntry_ComputeDiffSchema)` to create a new message.
*/
export const TaskRunLogEntry_ComputeDiffSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 20, 7);
+ messageDesc(file_v1_rollout_service, 19, 7);
/**
* Describes the enum bytebase.v1.TaskRunLogEntry.Type.
*/
export const TaskRunLogEntry_TypeSchema = /*@__PURE__*/
- enumDesc(file_v1_rollout_service, 20, 0);
+ enumDesc(file_v1_rollout_service, 19, 0);
/**
* The type of log entry.
@@ -387,42 +379,42 @@ export const TaskRunLogEntry_Type = /*@__PURE__*/
* Use `create(GetTaskRunSessionRequestSchema)` to create a new message.
*/
export const GetTaskRunSessionRequestSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 21);
+ messageDesc(file_v1_rollout_service, 20);
/**
* Describes the message bytebase.v1.TaskRunSession.
* Use `create(TaskRunSessionSchema)` to create a new message.
*/
export const TaskRunSessionSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 22);
+ messageDesc(file_v1_rollout_service, 21);
/**
* Describes the message bytebase.v1.TaskRunSession.Postgres.
* Use `create(TaskRunSession_PostgresSchema)` to create a new message.
*/
export const TaskRunSession_PostgresSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 22, 0);
+ messageDesc(file_v1_rollout_service, 21, 0);
/**
* Describes the message bytebase.v1.TaskRunSession.Postgres.Session.
* Use `create(TaskRunSession_Postgres_SessionSchema)` to create a new message.
*/
export const TaskRunSession_Postgres_SessionSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 22, 0, 0);
+ messageDesc(file_v1_rollout_service, 21, 0, 0);
/**
* Describes the message bytebase.v1.PreviewTaskRunRollbackRequest.
* Use `create(PreviewTaskRunRollbackRequestSchema)` to create a new message.
*/
export const PreviewTaskRunRollbackRequestSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 23);
+ messageDesc(file_v1_rollout_service, 22);
/**
* Describes the message bytebase.v1.PreviewTaskRunRollbackResponse.
* Use `create(PreviewTaskRunRollbackResponseSchema)` to create a new message.
*/
export const PreviewTaskRunRollbackResponseSchema = /*@__PURE__*/
- messageDesc(file_v1_rollout_service, 24);
+ messageDesc(file_v1_rollout_service, 23);
/**
* RolloutService manages the execution of deployment plans.
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index 9e28568b3a..587c4cfc89 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -6227,40 +6227,6 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Status'
- /v1/projects/{project}:previewRollout:
- post:
- tags:
- - RolloutService
- description: |-
- Previews the rollout that would be created from a plan.
- Permissions required: bb.rollouts.preview
- operationId: RolloutService_PreviewRollout
- parameters:
- - name: project
- in: path
- description: The project id.
- required: true
- schema:
- type: string
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PreviewRolloutRequest'
- required: true
- responses:
- "200":
- description: OK
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Rollout'
- default:
- description: Default error response
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Status'
/v1/projects/{project}:setIamPolicy:
post:
tags:
@@ -12181,20 +12147,6 @@ components:
description: When the current query started.
format: date-time
description: PostgreSQL session information read from `pg_stat_activity`.
- PreviewRolloutRequest:
- required:
- - project
- type: object
- properties:
- project:
- type: string
- description: |-
- The name of the project.
- Format: projects/{project}
- plan:
- allOf:
- - $ref: '#/components/schemas/Plan'
- description: The plan used to preview rollout.
PreviewTaskRunRollbackRequest:
required:
- name
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 9e8e4ee1ea..b2b1bf11d4 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -593,7 +593,6 @@
- [ListRolloutsResponse](#bytebase-v1-ListRolloutsResponse)
- [ListTaskRunsRequest](#bytebase-v1-ListTaskRunsRequest)
- [ListTaskRunsResponse](#bytebase-v1-ListTaskRunsResponse)
- - [PreviewRolloutRequest](#bytebase-v1-PreviewRolloutRequest)
- [PreviewTaskRunRollbackRequest](#bytebase-v1-PreviewTaskRunRollbackRequest)
- [PreviewTaskRunRollbackResponse](#bytebase-v1-PreviewTaskRunRollbackResponse)
- [Rollout](#bytebase-v1-Rollout)
@@ -9667,22 +9666,6 @@ For example: creator == &#34;users/[email protected]&#34; &amp;&amp; update_time &
-<a name="bytebase-v1-PreviewRolloutRequest"></a>
-
-### PreviewRolloutRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| project | [string](#string) | | The name of the project. Format: projects/{project} |
-| plan | [Plan](#bytebase-v1-Plan) | | The plan used to preview rollout. |
-
-
-
-
-
-
<a name="bytebase-v1-PreviewTaskRunRollbackRequest"></a>
### PreviewTaskRunRollbackRequest
@@ -10340,7 +10323,6 @@ RolloutService manages the execution of deployment plans.
| GetRollout | [GetRolloutRequest](#bytebase-v1-GetRolloutRequest) | [Rollout](#bytebase-v1-Rollout) | Retrieves a rollout by name. Permissions required: bb.rollouts.get |
| ListRollouts | [ListRolloutsRequest](#bytebase-v1-ListRolloutsRequest) | [ListRolloutsResponse](#bytebase-v1-ListRolloutsResponse) | Lists rollouts in a project. Permissions required: bb.rollouts.list |
| CreateRollout | [CreateRolloutRequest](#bytebase-v1-CreateRolloutRequest) | [Rollout](#bytebase-v1-Rollout) | Creates a new rollout from a plan. Permissions required: bb.rollouts.create |
-| PreviewRollout | [PreviewRolloutRequest](#bytebase-v1-PreviewRolloutRequest) | [Rollout](#bytebase-v1-Rollout) | Previews the rollout that would be created from a plan. Permissions required: bb.rollouts.preview |
| ListTaskRuns | [ListTaskRunsRequest](#bytebase-v1-ListTaskRunsRequest) | [ListTaskRunsResponse](#bytebase-v1-ListTaskRunsResponse) | Lists task run executions for a task. Permissions required: bb.taskRuns.list |
| GetTaskRun | [GetTaskRunRequest](#bytebase-v1-GetTaskRunRequest) | [TaskRun](#bytebase-v1-TaskRun) | Retrieves a task run by name. Permissions required: bb.taskRuns.list |
| GetTaskRunLog | [GetTaskRunLogRequest](#bytebase-v1-GetTaskRunLogRequest) | [TaskRunLog](#bytebase-v1-TaskRunLog) | Retrieves execution logs for a task run. Permissions required: bb.taskRuns.list |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index d1fd91524d..f90e29c282 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -2437,10 +2437,6 @@
<a href="#bytebase.v1.ListTaskRunsResponse"><span class="badge">M</span>ListTaskRunsResponse</a>
</li>
- <li>
- <a href="#bytebase.v1.PreviewRolloutRequest"><span class="badge">M</span>PreviewRolloutRequest</a>
- </li>
-
<li>
<a href="#bytebase.v1.PreviewTaskRunRollbackRequest"><span class="badge">M</span>PreviewTaskRunRollbackRequest</a>
</li>
@@ -27152,38 +27148,6 @@ Use &#34;projects/{project}/rollouts/{rollout}/stages/-/tasks/-&#34; to list all
- <h3 id="bytebase.v1.PreviewRolloutRequest">PreviewRolloutRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>project</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the project.
-Format: projects/{project} </p></td>
- </tr>
-
- <tr>
- <td>plan</td>
- <td><a href="#bytebase.v1.Plan">Plan</a></td>
- <td></td>
- <td><p>The plan used to preview rollout. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
<h3 id="bytebase.v1.PreviewTaskRunRollbackRequest">PreviewTaskRunRollbackRequest</h3>
<p></p>
@@ -28935,14 +28899,6 @@ Permissions required: bb.rollouts.list</p></td>
Permissions required: bb.rollouts.create</p></td>
</tr>
- <tr>
- <td>PreviewRollout</td>
- <td><a href="#bytebase.v1.PreviewRolloutRequest">PreviewRolloutRequest</a></td>
- <td><a href="#bytebase.v1.Rollout">Rollout</a></td>
- <td><p>Previews the rollout that would be created from a plan.
-Permissions required: bb.rollouts.preview</p></td>
- </tr>
-
<tr>
<td>ListTaskRuns</td>
<td><a href="#bytebase.v1.ListTaskRunsRequest">ListTaskRunsRequest</a></td>
@@ -29057,16 +29013,6 @@ Permissions required: bb.taskRuns.list</p></td>
- <tr>
- <td>PreviewRollout</td>
- <td>POST</td>
- <td>/v1/{project=projects/*}:previewRollout</td>
- <td>*</td>
- </tr>
-
-
-
-
<tr>
<td>ListTaskRuns</td>
<td>GET</td>
diff --git a/proto/v1/v1/rollout_service.proto b/proto/v1/v1/rollout_service.proto
index 220ee93830..b0e902b6a5 100644
--- a/proto/v1/v1/rollout_service.proto
+++ b/proto/v1/v1/rollout_service.proto
@@ -10,7 +10,6 @@ import "google/api/resource.proto";
import "google/protobuf/timestamp.proto";
import "v1/annotation.proto";
import "v1/common.proto";
-import "v1/plan_service.proto";
option go_package = "github.com/bytebase/bytebase/backend/generated-go/v1";
@@ -47,18 +46,6 @@ service RolloutService {
option (bytebase.v1.audit) = true;
}
- // Previews the rollout that would be created from a plan.
- // Permissions required: bb.rollouts.preview
- rpc PreviewRollout(PreviewRolloutRequest) returns (Rollout) {
- option (google.api.http) = {
- post: "/v1/{project=projects/*}:previewRollout"
- body: "*"
- };
- option (google.api.method_signature) = "name";
- option (bytebase.v1.permission) = "bb.rollouts.preview";
- option (bytebase.v1.auth_method) = IAM;
- }
-
// Lists task run executions for a task.
// Permissions required: bb.taskRuns.list
rpc ListTaskRuns(ListTaskRunsRequest) returns (ListTaskRunsResponse) {
@@ -258,18 +245,6 @@ message CreateRolloutRequest {
bool validate_only = 4;
}
-message PreviewRolloutRequest {
- // The name of the project.
- // Format: projects/{project}
- string project = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {type: "bytebase.com/Project"}
- ];
-
- // The plan used to preview rollout.
- Plan plan = 2;
-}
-
message ListTaskRunsRequest {
// The parent, which owns this collection of plans.
// Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}