Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat: impl more task run log (#12683)
p0nye7265411d701
diff --git a/backend/api/v1/rollout_service_converter.go b/backend/api/v1/rollout_service_converter.goindex 22e990568a..f505e956c2 100644--- a/backend/api/v1/rollout_service_converter.go+++ b/backend/api/v1/rollout_service_converter.go@@ -873,7 +873,8 @@ func convertToTaskRunLogEntries(logs []*store.TaskRunLog) []*v1pb.TaskRunLogEntrswitch l.Payload.Type {case storepb.TaskRunLog_SCHEMA_DUMP_START:e := &v1pb.TaskRunLogEntry{- Type: v1pb.TaskRunLogEntry_SCHEMA_DUMP,+ Type: v1pb.TaskRunLogEntry_SCHEMA_DUMP,+ LogTime: timestamppb.New(l.T),SchemaDump: &v1pb.TaskRunLogEntry_SchemaDump{StartTime: timestamppb.New(l.T),},@@ -893,7 +894,8 @@ func convertToTaskRunLogEntries(logs []*store.TaskRunLog) []*v1pb.TaskRunLogEntrcase storepb.TaskRunLog_COMMAND_EXECUTE:e := &v1pb.TaskRunLogEntry{- Type: v1pb.TaskRunLogEntry_COMMAND_EXECUTE,+ Type: v1pb.TaskRunLogEntry_COMMAND_EXECUTE,+ LogTime: timestamppb.New(l.T),CommandExecute: &v1pb.TaskRunLogEntry_CommandExecute{LogTime: timestamppb.New(l.T),CommandIndexes: l.Payload.CommandExecute.CommandIndexes,@@ -918,12 +920,54 @@ func convertToTaskRunLogEntries(logs []*store.TaskRunLog) []*v1pb.TaskRunLogEntrAffectedRows: l.Payload.CommandResponse.AffectedRows,AllAffectedRows: l.Payload.CommandResponse.AllAffectedRows,}++ case storepb.TaskRunLog_DATABASE_SYNC_START:+ e := &v1pb.TaskRunLogEntry{+ Type: v1pb.TaskRunLogEntry_DATABASE_SYNC,+ LogTime: timestamppb.New(l.T),+ DatabaseSync: &v1pb.TaskRunLogEntry_DatabaseSync{+ StartTime: timestamppb.New(l.T),+ },+ }+ entries = append(entries, e)++ case storepb.TaskRunLog_DATABASE_SYNC_END:+ if len(entries) == 0 {+ continue+ }+ prev := entries[len(entries)-1]+ if prev == nil || prev.Type != v1pb.TaskRunLogEntry_DATABASE_SYNC {+ continue+ }+ prev.DatabaseSync.EndTime = timestamppb.New(l.T)+ prev.DatabaseSync.Error = l.Payload.DatabaseSyncEnd.Error++ case storepb.TaskRunLog_TASK_RUN_STATUS_UPDATE:+ e := &v1pb.TaskRunLogEntry{+ Type: v1pb.TaskRunLogEntry_TASK_RUN_STATUS_UPDATE,+ LogTime: timestamppb.New(l.T),+ TaskRunStatusUpdate: &v1pb.TaskRunLogEntry_TaskRunStatusUpdate{+ Status: convertTaskRunLogTaskRunStatus(l.Payload.TaskRunStatusUpdate.Status),+ },+ }+ entries = append(entries, e)}}return entries}+func convertTaskRunLogTaskRunStatus(s storepb.TaskRunLog_TaskRunStatusUpdate_Status) v1pb.TaskRunLogEntry_TaskRunStatusUpdate_Status {+ switch s {+ case storepb.TaskRunLog_TaskRunStatusUpdate_RUNNING_WAITING:+ return v1pb.TaskRunLogEntry_TaskRunStatusUpdate_RUNNING_WAITING+ case storepb.TaskRunLog_TaskRunStatusUpdate_RUNNING_RUNNING:+ return v1pb.TaskRunLogEntry_TaskRunStatusUpdate_RUNNING_RUNNING+ default:+ return v1pb.TaskRunLogEntry_TaskRunStatusUpdate_STATUS_UNSPECIFIED+ }+}+func getResourceNameForSheet(project *store.ProjectMessage, sheetUID int) string {return fmt.Sprintf("%s%s/%s%d", common.ProjectNamePrefix, project.ResourceID, common.SheetIDPrefix, sheetUID)}diff --git a/backend/runner/taskrun/data_update_executor.go b/backend/runner/taskrun/data_update_executor.goindex 0687619b4d..9f48cd6aed 100644--- a/backend/runner/taskrun/data_update_executor.go+++ b/backend/runner/taskrun/data_update_executor.go@@ -82,13 +82,29 @@ func (exec *DataUpdateExecutor) RunOnce(ctx context.Context, driverCtx context.Cversion := model.Version{Version: payload.SchemaVersion}terminated, result, err := runMigration(ctx, driverCtx, exec.store, exec.dbFactory, exec.stateCfg, exec.profile, task, taskRunUID, db.Data, statement, version, &payload.SheetID)// sync database schema anyways+ exec.store.CreateTaskRunLogS(ctx, taskRunUID, time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_DATABASE_SYNC_START,+ DatabaseSyncStart: &storepb.TaskRunLog_DatabaseSyncStart{},+ })if err := exec.schemaSyncer.SyncDatabaseSchema(ctx, database, true /* force */); err != nil {+ exec.store.CreateTaskRunLogS(ctx, taskRunUID, time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_DATABASE_SYNC_END,+ DatabaseSyncEnd: &storepb.TaskRunLog_DatabaseSyncEnd{+ Error: err.Error(),+ },+ })slog.Error("failed to sync database schema",slog.String("instanceName", instance.ResourceID),slog.String("databaseName", database.DatabaseName),log.BBError(err),)}+ exec.store.CreateTaskRunLogS(ctx, taskRunUID, time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_DATABASE_SYNC_END,+ DatabaseSyncEnd: &storepb.TaskRunLog_DatabaseSyncEnd{+ Error: "",+ },+ })return terminated, result, err}diff --git a/backend/runner/taskrun/schedulerv2.go b/backend/runner/taskrun/schedulerv2.goindex 104e314d7e..6b5b2dc376 100644--- a/backend/runner/taskrun/schedulerv2.go+++ b/backend/runner/taskrun/schedulerv2.go@@ -298,6 +298,12 @@ func (s *SchedulerV2) schedulePendingTaskRun(ctx context.Context, taskRun *store}); err != nil {return errors.Wrapf(err, "failed to update task run status to running")}+ s.store.CreateTaskRunLogS(ctx, taskRun.ID, time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_TASK_RUN_STATUS_UPDATE,+ TaskRunStatusUpdate: &storepb.TaskRunLog_TaskRunStatusUpdate{+ Status: storepb.TaskRunLog_TaskRunStatusUpdate_RUNNING_WAITING,+ },+ })return nil}@@ -376,6 +382,13 @@ func (s *SchedulerV2) scheduleRunningTaskRuns(ctx context.Context) error {if task.DatabaseID != nil {s.stateCfg.RunningDatabaseMigration.Store(*task.DatabaseID, true)}++ s.store.CreateTaskRunLogS(ctx, taskRun.ID, time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_TASK_RUN_STATUS_UPDATE,+ TaskRunStatusUpdate: &storepb.TaskRunLog_TaskRunStatusUpdate{+ Status: storepb.TaskRunLog_TaskRunStatusUpdate_RUNNING_RUNNING,+ },+ })go s.runTaskRunOnce(ctx, taskRun, task, executor)}diff --git a/backend/runner/taskrun/schema_update_executor.go b/backend/runner/taskrun/schema_update_executor.goindex 9b20ecae37..45c9635a2e 100644--- a/backend/runner/taskrun/schema_update_executor.go+++ b/backend/runner/taskrun/schema_update_executor.go@@ -74,13 +74,29 @@ func (exec *SchemaUpdateExecutor) RunOnce(ctx context.Context, driverCtx contextversion := model.Version{Version: payload.SchemaVersion}terminated, result, err := runMigration(ctx, driverCtx, exec.store, exec.dbFactory, exec.stateCfg, exec.profile, task, taskRunUID, db.Migrate, statement, version, &payload.SheetID)// sync database schema anyways+ exec.store.CreateTaskRunLogS(ctx, taskRunUID, time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_DATABASE_SYNC_START,+ DatabaseSyncStart: &storepb.TaskRunLog_DatabaseSyncStart{},+ })if err := exec.schemaSyncer.SyncDatabaseSchema(ctx, database, true /* force */); err != nil {+ exec.store.CreateTaskRunLogS(ctx, taskRunUID, time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_DATABASE_SYNC_END,+ DatabaseSyncEnd: &storepb.TaskRunLog_DatabaseSyncEnd{+ Error: err.Error(),+ },+ })slog.Error("failed to sync database schema",slog.String("instanceName", instance.ResourceID),slog.String("databaseName", database.DatabaseName),log.BBError(err),)}+ exec.store.CreateTaskRunLogS(ctx, taskRunUID, time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_DATABASE_SYNC_END,+ DatabaseSyncEnd: &storepb.TaskRunLog_DatabaseSyncEnd{+ Error: "",+ },+ })return terminated, result, err}diff --git a/backend/store/task_run_log.go b/backend/store/task_run_log.goindex 96767e1597..c0a04b1104 100644--- a/backend/store/task_run_log.go+++ b/backend/store/task_run_log.go@@ -2,12 +2,14 @@ package storeimport ("context"+ "log/slog""time""github.com/pkg/errors""google.golang.org/protobuf/encoding/protojson""github.com/bytebase/bytebase/backend/common"+ "github.com/bytebase/bytebase/backend/common/log"storepb "github.com/bytebase/bytebase/proto/generated-go/store")@@ -16,6 +18,12 @@ type TaskRunLog struct {Payload *storepb.TaskRunLog}+func (s *Store) CreateTaskRunLogS(ctx context.Context, taskRunUID int, t time.Time, e *storepb.TaskRunLog) {+ if err := s.CreateTaskRunLog(ctx, taskRunUID, t, e); err != nil {+ slog.Error("failed to create task run log", log.BBError(err))+ }+}+func (s *Store) CreateTaskRunLog(ctx context.Context, taskRunUID int, t time.Time, e *storepb.TaskRunLog) error {query := `INSERT INTO task_run_log (diff --git a/frontend/src/types/proto/v1/rollout_service.ts b/frontend/src/types/proto/v1/rollout_service.tsindex dd6ef5f168..594e157414 100644--- a/frontend/src/types/proto/v1/rollout_service.ts+++ b/frontend/src/types/proto/v1/rollout_service.ts@@ -692,14 +692,19 @@ export interface TaskRunLog {export interface TaskRunLogEntry {type: TaskRunLogEntry_Type;+ logTime: Date | undefined;schemaDump: TaskRunLogEntry_SchemaDump | undefined;commandExecute: TaskRunLogEntry_CommandExecute | undefined;+ databaseSync: TaskRunLogEntry_DatabaseSync | undefined;+ taskRunStatusUpdate: TaskRunLogEntry_TaskRunStatusUpdate | undefined;}export enum TaskRunLogEntry_Type {TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",SCHEMA_DUMP = "SCHEMA_DUMP",COMMAND_EXECUTE = "COMMAND_EXECUTE",+ DATABASE_SYNC = "DATABASE_SYNC",+ TASK_RUN_STATUS_UPDATE = "TASK_RUN_STATUS_UPDATE",UNRECOGNIZED = "UNRECOGNIZED",}@@ -714,6 +719,12 @@ export function taskRunLogEntry_TypeFromJSON(object: any): TaskRunLogEntry_Typecase 2:case "COMMAND_EXECUTE":return TaskRunLogEntry_Type.COMMAND_EXECUTE;+ case 3:+ case "DATABASE_SYNC":+ return TaskRunLogEntry_Type.DATABASE_SYNC;+ case 4:+ case "TASK_RUN_STATUS_UPDATE":+ return TaskRunLogEntry_Type.TASK_RUN_STATUS_UPDATE;case -1:case "UNRECOGNIZED":default:@@ -729,6 +740,10 @@ export function taskRunLogEntry_TypeToJSON(object: TaskRunLogEntry_Type): stringreturn "SCHEMA_DUMP";case TaskRunLogEntry_Type.COMMAND_EXECUTE:return "COMMAND_EXECUTE";+ case TaskRunLogEntry_Type.DATABASE_SYNC:+ return "DATABASE_SYNC";+ case TaskRunLogEntry_Type.TASK_RUN_STATUS_UPDATE:+ return "TASK_RUN_STATUS_UPDATE";case TaskRunLogEntry_Type.UNRECOGNIZED:default:return "UNRECOGNIZED";@@ -743,6 +758,10 @@ export function taskRunLogEntry_TypeToNumber(object: TaskRunLogEntry_Type): numbreturn 1;case TaskRunLogEntry_Type.COMMAND_EXECUTE:return 2;+ case TaskRunLogEntry_Type.DATABASE_SYNC:+ return 3;+ case TaskRunLogEntry_Type.TASK_RUN_STATUS_UPDATE:+ return 4;case TaskRunLogEntry_Type.UNRECOGNIZED:default:return -1;@@ -775,6 +794,77 @@ export interface TaskRunLogEntry_CommandExecute_CommandResponse {allAffectedRows: number[];}+export interface TaskRunLogEntry_DatabaseSync {+ startTime: Date | undefined;+ endTime: Date | undefined;+ error: string;+}++export interface TaskRunLogEntry_TaskRunStatusUpdate {+ status: TaskRunLogEntry_TaskRunStatusUpdate_Status;+}++export enum TaskRunLogEntry_TaskRunStatusUpdate_Status {+ STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",+ /** RUNNING_WAITING - the task run is ready to be executed by the scheduler */+ RUNNING_WAITING = "RUNNING_WAITING",+ /** RUNNING_RUNNING - the task run is being executed by the scheduler */+ RUNNING_RUNNING = "RUNNING_RUNNING",+ UNRECOGNIZED = "UNRECOGNIZED",+}++export function taskRunLogEntry_TaskRunStatusUpdate_StatusFromJSON(+ object: any,+): TaskRunLogEntry_TaskRunStatusUpdate_Status {+ switch (object) {+ case 0:+ case "STATUS_UNSPECIFIED":+ return TaskRunLogEntry_TaskRunStatusUpdate_Status.STATUS_UNSPECIFIED;+ case 1:+ case "RUNNING_WAITING":+ return TaskRunLogEntry_TaskRunStatusUpdate_Status.RUNNING_WAITING;+ case 2:+ case "RUNNING_RUNNING":+ return TaskRunLogEntry_TaskRunStatusUpdate_Status.RUNNING_RUNNING;+ case -1:+ case "UNRECOGNIZED":+ default:+ return TaskRunLogEntry_TaskRunStatusUpdate_Status.UNRECOGNIZED;+ }+}++export function taskRunLogEntry_TaskRunStatusUpdate_StatusToJSON(+ object: TaskRunLogEntry_TaskRunStatusUpdate_Status,+): string {+ switch (object) {+ case TaskRunLogEntry_TaskRunStatusUpdate_Status.STATUS_UNSPECIFIED:+ return "STATUS_UNSPECIFIED";+ case TaskRunLogEntry_TaskRunStatusUpdate_Status.RUNNING_WAITING:+ return "RUNNING_WAITING";+ case TaskRunLogEntry_TaskRunStatusUpdate_Status.RUNNING_RUNNING:+ return "RUNNING_RUNNING";+ case TaskRunLogEntry_TaskRunStatusUpdate_Status.UNRECOGNIZED:+ default:+ return "UNRECOGNIZED";+ }+}++export function taskRunLogEntry_TaskRunStatusUpdate_StatusToNumber(+ object: TaskRunLogEntry_TaskRunStatusUpdate_Status,+): number {+ switch (object) {+ case TaskRunLogEntry_TaskRunStatusUpdate_Status.STATUS_UNSPECIFIED:+ return 0;+ case TaskRunLogEntry_TaskRunStatusUpdate_Status.RUNNING_WAITING:+ return 1;+ case TaskRunLogEntry_TaskRunStatusUpdate_Status.RUNNING_RUNNING:+ return 2;+ case TaskRunLogEntry_TaskRunStatusUpdate_Status.UNRECOGNIZED:+ default:+ return -1;+ }+}+function createBaseBatchRunTasksRequest(): BatchRunTasksRequest {return { parent: "", tasks: [], reason: "" };}@@ -3243,7 +3333,14 @@ export const TaskRunLog = {};function createBaseTaskRunLogEntry(): TaskRunLogEntry {- return { type: TaskRunLogEntry_Type.TYPE_UNSPECIFIED, schemaDump: undefined, commandExecute: undefined };+ return {+ type: TaskRunLogEntry_Type.TYPE_UNSPECIFIED,+ logTime: undefined,+ schemaDump: undefined,+ commandExecute: undefined,+ databaseSync: undefined,+ taskRunStatusUpdate: undefined,+ };}export const TaskRunLogEntry = {@@ -3251,12 +3348,21 @@ export const TaskRunLogEntry = {if (message.type !== TaskRunLogEntry_Type.TYPE_UNSPECIFIED) {writer.uint32(8).int32(taskRunLogEntry_TypeToNumber(message.type));}+ if (message.logTime !== undefined) {+ Timestamp.encode(toTimestamp(message.logTime), writer.uint32(50).fork()).ldelim();+ }if (message.schemaDump !== undefined) {TaskRunLogEntry_SchemaDump.encode(message.schemaDump, writer.uint32(18).fork()).ldelim();}if (message.commandExecute !== undefined) {TaskRunLogEntry_CommandExecute.encode(message.commandExecute, writer.uint32(26).fork()).ldelim();}+ if (message.databaseSync !== undefined) {+ TaskRunLogEntry_DatabaseSync.encode(message.databaseSync, writer.uint32(34).fork()).ldelim();+ }+ if (message.taskRunStatusUpdate !== undefined) {+ TaskRunLogEntry_TaskRunStatusUpdate.encode(message.taskRunStatusUpdate, writer.uint32(42).fork()).ldelim();+ }return writer;},@@ -3274,6 +3380,13 @@ export const TaskRunLogEntry = {message.type = taskRunLogEntry_TypeFromJSON(reader.int32());continue;+ case 6:+ if (tag !== 50) {+ break;+ }++ message.logTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));+ continue;case 2:if (tag !== 18) {break;@@ -3288,6 +3401,20 @@ export const TaskRunLogEntry = {message.commandExecute = TaskRunLogEntry_CommandExecute.decode(reader, reader.uint32());continue;+ case 4:+ if (tag !== 34) {+ break;+ }++ message.databaseSync = TaskRunLogEntry_DatabaseSync.decode(reader, reader.uint32());+ continue;+ case 5:+ if (tag !== 42) {+ break;+ }++ message.taskRunStatusUpdate = TaskRunLogEntry_TaskRunStatusUpdate.decode(reader, reader.uint32());+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -3300,10 +3427,15 @@ export const TaskRunLogEntry = {fromJSON(object: any): TaskRunLogEntry {return {type: isSet(object.type) ? taskRunLogEntry_TypeFromJSON(object.type) : TaskRunLogEntry_Type.TYPE_UNSPECIFIED,+ logTime: isSet(object.logTime) ? fromJsonTimestamp(object.logTime) : undefined,schemaDump: isSet(object.schemaDump) ? TaskRunLogEntry_SchemaDump.fromJSON(object.schemaDump) : undefined,commandExecute: isSet(object.commandExecute)? TaskRunLogEntry_CommandExecute.fromJSON(object.commandExecute): undefined,+ databaseSync: isSet(object.databaseSync) ? TaskRunLogEntry_DatabaseSync.fromJSON(object.databaseSync) : undefined,+ taskRunStatusUpdate: isSet(object.taskRunStatusUpdate)+ ? TaskRunLogEntry_TaskRunStatusUpdate.fromJSON(object.taskRunStatusUpdate)+ : undefined,};},@@ -3312,12 +3444,21 @@ export const TaskRunLogEntry = {if (message.type !== TaskRunLogEntry_Type.TYPE_UNSPECIFIED) {obj.type = taskRunLogEntry_TypeToJSON(message.type);}+ if (message.logTime !== undefined) {+ obj.logTime = message.logTime.toISOString();+ }if (message.schemaDump !== undefined) {obj.schemaDump = TaskRunLogEntry_SchemaDump.toJSON(message.schemaDump);}if (message.commandExecute !== undefined) {obj.commandExecute = TaskRunLogEntry_CommandExecute.toJSON(message.commandExecute);}+ if (message.databaseSync !== undefined) {+ obj.databaseSync = TaskRunLogEntry_DatabaseSync.toJSON(message.databaseSync);+ }+ if (message.taskRunStatusUpdate !== undefined) {+ obj.taskRunStatusUpdate = TaskRunLogEntry_TaskRunStatusUpdate.toJSON(message.taskRunStatusUpdate);+ }return obj;},@@ -3327,12 +3468,19 @@ export const TaskRunLogEntry = {fromPartial(object: DeepPartial<TaskRunLogEntry>): TaskRunLogEntry {const message = createBaseTaskRunLogEntry();message.type = object.type ?? TaskRunLogEntry_Type.TYPE_UNSPECIFIED;+ message.logTime = object.logTime ?? undefined;message.schemaDump = (object.schemaDump !== undefined && object.schemaDump !== null)? TaskRunLogEntry_SchemaDump.fromPartial(object.schemaDump): undefined;message.commandExecute = (object.commandExecute !== undefined && object.commandExecute !== null)? TaskRunLogEntry_CommandExecute.fromPartial(object.commandExecute): undefined;+ message.databaseSync = (object.databaseSync !== undefined && object.databaseSync !== null)+ ? TaskRunLogEntry_DatabaseSync.fromPartial(object.databaseSync)+ : undefined;+ message.taskRunStatusUpdate = (object.taskRunStatusUpdate !== undefined && object.taskRunStatusUpdate !== null)+ ? TaskRunLogEntry_TaskRunStatusUpdate.fromPartial(object.taskRunStatusUpdate)+ : undefined;return message;},};@@ -3658,6 +3806,156 @@ export const TaskRunLogEntry_CommandExecute_CommandResponse = {},};+function createBaseTaskRunLogEntry_DatabaseSync(): TaskRunLogEntry_DatabaseSync {+ return { startTime: undefined, endTime: undefined, error: "" };+}++export const TaskRunLogEntry_DatabaseSync = {+ encode(message: TaskRunLogEntry_DatabaseSync, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.startTime !== undefined) {+ Timestamp.encode(toTimestamp(message.startTime), writer.uint32(10).fork()).ldelim();+ }+ if (message.endTime !== undefined) {+ Timestamp.encode(toTimestamp(message.endTime), writer.uint32(18).fork()).ldelim();+ }+ if (message.error !== "") {+ writer.uint32(26).string(message.error);+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): TaskRunLogEntry_DatabaseSync {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseTaskRunLogEntry_DatabaseSync();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.startTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));+ continue;+ case 2:+ if (tag !== 18) {+ break;+ }++ message.endTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));+ continue;+ case 3:+ if (tag !== 26) {+ break;+ }++ message.error = reader.string();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): TaskRunLogEntry_DatabaseSync {+ return {+ startTime: isSet(object.startTime) ? fromJsonTimestamp(object.startTime) : undefined,+ endTime: isSet(object.endTime) ? fromJsonTimestamp(object.endTime) : undefined,+ error: isSet(object.error) ? globalThis.String(object.error) : "",+ };+ },++ toJSON(message: TaskRunLogEntry_DatabaseSync): unknown {+ const obj: any = {};+ if (message.startTime !== undefined) {+ obj.startTime = message.startTime.toISOString();+ }+ if (message.endTime !== undefined) {+ obj.endTime = message.endTime.toISOString();+ }+ if (message.error !== "") {+ obj.error = message.error;+ }+ return obj;+ },++ create(base?: DeepPartial<TaskRunLogEntry_DatabaseSync>): TaskRunLogEntry_DatabaseSync {+ return TaskRunLogEntry_DatabaseSync.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<TaskRunLogEntry_DatabaseSync>): TaskRunLogEntry_DatabaseSync {+ const message = createBaseTaskRunLogEntry_DatabaseSync();+ message.startTime = object.startTime ?? undefined;+ message.endTime = object.endTime ?? undefined;+ message.error = object.error ?? "";+ return message;+ },+};++function createBaseTaskRunLogEntry_TaskRunStatusUpdate(): TaskRunLogEntry_TaskRunStatusUpdate {+ return { status: TaskRunLogEntry_TaskRunStatusUpdate_Status.STATUS_UNSPECIFIED };+}++export const TaskRunLogEntry_TaskRunStatusUpdate = {+ encode(message: TaskRunLogEntry_TaskRunStatusUpdate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.status !== TaskRunLogEntry_TaskRunStatusUpdate_Status.STATUS_UNSPECIFIED) {+ writer.uint32(8).int32(taskRunLogEntry_TaskRunStatusUpdate_StatusToNumber(message.status));+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): TaskRunLogEntry_TaskRunStatusUpdate {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseTaskRunLogEntry_TaskRunStatusUpdate();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 8) {+ break;+ }++ message.status = taskRunLogEntry_TaskRunStatusUpdate_StatusFromJSON(reader.int32());+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): TaskRunLogEntry_TaskRunStatusUpdate {+ return {+ status: isSet(object.status)+ ? taskRunLogEntry_TaskRunStatusUpdate_StatusFromJSON(object.status)+ : TaskRunLogEntry_TaskRunStatusUpdate_Status.STATUS_UNSPECIFIED,+ };+ },++ toJSON(message: TaskRunLogEntry_TaskRunStatusUpdate): unknown {+ const obj: any = {};+ if (message.status !== TaskRunLogEntry_TaskRunStatusUpdate_Status.STATUS_UNSPECIFIED) {+ obj.status = taskRunLogEntry_TaskRunStatusUpdate_StatusToJSON(message.status);+ }+ return obj;+ },++ create(base?: DeepPartial<TaskRunLogEntry_TaskRunStatusUpdate>): TaskRunLogEntry_TaskRunStatusUpdate {+ return TaskRunLogEntry_TaskRunStatusUpdate.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<TaskRunLogEntry_TaskRunStatusUpdate>): TaskRunLogEntry_TaskRunStatusUpdate {+ const message = createBaseTaskRunLogEntry_TaskRunStatusUpdate();+ message.status = object.status ?? TaskRunLogEntry_TaskRunStatusUpdate_Status.STATUS_UNSPECIFIED;+ return message;+ },+};+export type RolloutServiceDefinition = typeof RolloutServiceDefinition;export const RolloutServiceDefinition = {name: "RolloutService",diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex a3bd8fdadb..8ef0df1160 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -502,13 +502,16 @@- [TaskRunLogEntry](#bytebase-v1-TaskRunLogEntry)- [TaskRunLogEntry.CommandExecute](#bytebase-v1-TaskRunLogEntry-CommandExecute)- [TaskRunLogEntry.CommandExecute.CommandResponse](#bytebase-v1-TaskRunLogEntry-CommandExecute-CommandResponse)+ - [TaskRunLogEntry.DatabaseSync](#bytebase-v1-TaskRunLogEntry-DatabaseSync)- [TaskRunLogEntry.SchemaDump](#bytebase-v1-TaskRunLogEntry-SchemaDump)+ - [TaskRunLogEntry.TaskRunStatusUpdate](#bytebase-v1-TaskRunLogEntry-TaskRunStatusUpdate)- [Task.Status](#bytebase-v1-Task-Status)- [Task.Type](#bytebase-v1-Task-Type)- [TaskRun.ExecutionStatus](#bytebase-v1-TaskRun-ExecutionStatus)- [TaskRun.ExportArchiveStatus](#bytebase-v1-TaskRun-ExportArchiveStatus)- [TaskRun.Status](#bytebase-v1-TaskRun-Status)+ - [TaskRunLogEntry.TaskRunStatusUpdate.Status](#bytebase-v1-TaskRunLogEntry-TaskRunStatusUpdate-Status)- [TaskRunLogEntry.Type](#bytebase-v1-TaskRunLogEntry-Type)- [RolloutService](#bytebase-v1-RolloutService)@@ -8266,8 +8269,11 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat| Field | Type | Label | Description || ----- | ---- | ----- | ----------- || type | [TaskRunLogEntry.Type](#bytebase-v1-TaskRunLogEntry-Type) | | |+| log_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | || schema_dump | [TaskRunLogEntry.SchemaDump](#bytebase-v1-TaskRunLogEntry-SchemaDump) | | || command_execute | [TaskRunLogEntry.CommandExecute](#bytebase-v1-TaskRunLogEntry-CommandExecute) | | |+| database_sync | [TaskRunLogEntry.DatabaseSync](#bytebase-v1-TaskRunLogEntry-DatabaseSync) | | |+| task_run_status_update | [TaskRunLogEntry.TaskRunStatusUpdate](#bytebase-v1-TaskRunLogEntry-TaskRunStatusUpdate) | | |@@ -8309,6 +8315,23 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat+<a name="bytebase-v1-TaskRunLogEntry-DatabaseSync"></a>++### TaskRunLogEntry.DatabaseSync++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| start_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |+| end_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |+| error | [string](#string) | | |++++++<a name="bytebase-v1-TaskRunLogEntry-SchemaDump"></a>### TaskRunLogEntry.SchemaDump@@ -8325,6 +8348,21 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat++<a name="bytebase-v1-TaskRunLogEntry-TaskRunStatusUpdate"></a>++### TaskRunLogEntry.TaskRunStatusUpdate++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| status | [TaskRunLogEntry.TaskRunStatusUpdate.Status](#bytebase-v1-TaskRunLogEntry-TaskRunStatusUpdate-Status) | | |+++++@@ -8409,6 +8447,19 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat+<a name="bytebase-v1-TaskRunLogEntry-TaskRunStatusUpdate-Status"></a>++### TaskRunLogEntry.TaskRunStatusUpdate.Status+++| Name | Number | Description |+| ---- | ------ | ----------- |+| STATUS_UNSPECIFIED | 0 | |+| RUNNING_WAITING | 1 | the task run is ready to be executed by the scheduler |+| RUNNING_RUNNING | 2 | the task run is being executed by the scheduler |+++<a name="bytebase-v1-TaskRunLogEntry-Type"></a>### TaskRunLogEntry.Type@@ -8419,6 +8470,8 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat| TYPE_UNSPECIFIED | 0 | || SCHEMA_DUMP | 1 | || COMMAND_EXECUTE | 2 | |+| DATABASE_SYNC | 3 | |+| TASK_RUN_STATUS_UPDATE | 4 | |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex bd00aa1d06..c5fc458ec1 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -2105,10 +2105,18 @@<a href="#bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse"><span class="badge">M</span>TaskRunLogEntry.CommandExecute.CommandResponse</a></li>+ <li>+ <a href="#bytebase.v1.TaskRunLogEntry.DatabaseSync"><span class="badge">M</span>TaskRunLogEntry.DatabaseSync</a>+ </li>+<li><a href="#bytebase.v1.TaskRunLogEntry.SchemaDump"><span class="badge">M</span>TaskRunLogEntry.SchemaDump</a></li>+ <li>+ <a href="#bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate"><span class="badge">M</span>TaskRunLogEntry.TaskRunStatusUpdate</a>+ </li>+<li><a href="#bytebase.v1.Task.Status"><span class="badge">E</span>Task.Status</a>@@ -2130,6 +2138,10 @@<a href="#bytebase.v1.TaskRun.Status"><span class="badge">E</span>TaskRun.Status</a></li>+ <li>+ <a href="#bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status"><span class="badge">E</span>TaskRunLogEntry.TaskRunStatusUpdate.Status</a>+ </li>+<li><a href="#bytebase.v1.TaskRunLogEntry.Type"><span class="badge">E</span>TaskRunLogEntry.Type</a></li>@@ -23010,6 +23022,13 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory<td><p> </p></td></tr>+ <tr>+ <td>log_time</td>+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>+<tr><td>schema_dump</td><td><a href="#bytebase.v1.TaskRunLogEntry.SchemaDump">TaskRunLogEntry.SchemaDump</a></td>@@ -23024,6 +23043,20 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory<td><p> </p></td></tr>+ <tr>+ <td>database_sync</td>+ <td><a href="#bytebase.v1.TaskRunLogEntry.DatabaseSync">TaskRunLogEntry.DatabaseSync</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>task_run_status_update</td>+ <td><a href="#bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate">TaskRunLogEntry.TaskRunStatusUpdate</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>+</tbody></table>@@ -23115,6 +23148,44 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory+ <h3 id="bytebase.v1.TaskRunLogEntry.DatabaseSync">TaskRunLogEntry.DatabaseSync</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>start_time</td>+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>end_time</td>+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>error</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ </tbody>+ </table>+++++<h3 id="bytebase.v1.TaskRunLogEntry.SchemaDump">TaskRunLogEntry.SchemaDump</h3><p></p>@@ -23153,6 +23224,30 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory+ <h3 id="bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate">TaskRunLogEntry.TaskRunStatusUpdate</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>status</td>+ <td><a href="#bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status">TaskRunLogEntry.TaskRunStatusUpdate.Status</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ </tbody>+ </table>+++++<h3 id="bytebase.v1.Task.Status">Task.Status</h3>@@ -23396,6 +23491,35 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory</tbody></table>+ <h3 id="bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status">TaskRunLogEntry.TaskRunStatusUpdate.Status</h3>+ <p></p>+ <table class="enum-table">+ <thead>+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>STATUS_UNSPECIFIED</td>+ <td>0</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>RUNNING_WAITING</td>+ <td>1</td>+ <td><p>the task run is ready to be executed by the scheduler</p></td>+ </tr>++ <tr>+ <td>RUNNING_RUNNING</td>+ <td>2</td>+ <td><p>the task run is being executed by the scheduler</p></td>+ </tr>++ </tbody>+ </table>+<h3 id="bytebase.v1.TaskRunLogEntry.Type">TaskRunLogEntry.Type</h3><p></p><table class="enum-table">@@ -23422,6 +23546,18 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory<td><p></p></td></tr>+ <tr>+ <td>DATABASE_SYNC</td>+ <td>3</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>TASK_RUN_STATUS_UPDATE</td>+ <td>4</td>+ <td><p></p></td>+ </tr>+</tbody></table>diff --git a/proto/generated-go/v1/rollout_service.pb.go b/proto/generated-go/v1/rollout_service.pb.goindex 786b3dc167..7594c3a23d 100644--- a/proto/generated-go/v1/rollout_service.pb.go+++ b/proto/generated-go/v1/rollout_service.pb.go@@ -326,9 +326,11 @@ func (TaskRun_ExportArchiveStatus) EnumDescriptor() ([]byte, []int) {type TaskRunLogEntry_Type int32const (- TaskRunLogEntry_TYPE_UNSPECIFIED TaskRunLogEntry_Type = 0- TaskRunLogEntry_SCHEMA_DUMP TaskRunLogEntry_Type = 1- TaskRunLogEntry_COMMAND_EXECUTE TaskRunLogEntry_Type = 2+ TaskRunLogEntry_TYPE_UNSPECIFIED TaskRunLogEntry_Type = 0+ TaskRunLogEntry_SCHEMA_DUMP TaskRunLogEntry_Type = 1+ TaskRunLogEntry_COMMAND_EXECUTE TaskRunLogEntry_Type = 2+ TaskRunLogEntry_DATABASE_SYNC TaskRunLogEntry_Type = 3+ TaskRunLogEntry_TASK_RUN_STATUS_UPDATE TaskRunLogEntry_Type = 4)// Enum value maps for TaskRunLogEntry_Type.@@ -337,11 +339,15 @@ var (0: "TYPE_UNSPECIFIED",1: "SCHEMA_DUMP",2: "COMMAND_EXECUTE",+ 3: "DATABASE_SYNC",+ 4: "TASK_RUN_STATUS_UPDATE",}TaskRunLogEntry_Type_value = map[string]int32{- "TYPE_UNSPECIFIED": 0,- "SCHEMA_DUMP": 1,- "COMMAND_EXECUTE": 2,+ "TYPE_UNSPECIFIED": 0,+ "SCHEMA_DUMP": 1,+ "COMMAND_EXECUTE": 2,+ "DATABASE_SYNC": 3,+ "TASK_RUN_STATUS_UPDATE": 4,})@@ -372,6 +378,57 @@ func (TaskRunLogEntry_Type) EnumDescriptor() ([]byte, []int) {return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 0}}+type TaskRunLogEntry_TaskRunStatusUpdate_Status int32++const (+ TaskRunLogEntry_TaskRunStatusUpdate_STATUS_UNSPECIFIED TaskRunLogEntry_TaskRunStatusUpdate_Status = 0+ // the task run is ready to be executed by the scheduler+ TaskRunLogEntry_TaskRunStatusUpdate_RUNNING_WAITING TaskRunLogEntry_TaskRunStatusUpdate_Status = 1+ // the task run is being executed by the scheduler+ TaskRunLogEntry_TaskRunStatusUpdate_RUNNING_RUNNING TaskRunLogEntry_TaskRunStatusUpdate_Status = 2+)++// Enum value maps for TaskRunLogEntry_TaskRunStatusUpdate_Status.+var (+ TaskRunLogEntry_TaskRunStatusUpdate_Status_name = map[int32]string{+ 0: "STATUS_UNSPECIFIED",+ 1: "RUNNING_WAITING",+ 2: "RUNNING_RUNNING",+ }+ TaskRunLogEntry_TaskRunStatusUpdate_Status_value = map[string]int32{+ "STATUS_UNSPECIFIED": 0,+ "RUNNING_WAITING": 1,+ "RUNNING_RUNNING": 2,+ }+)++func (x TaskRunLogEntry_TaskRunStatusUpdate_Status) Enum() *TaskRunLogEntry_TaskRunStatusUpdate_Status {+ p := new(TaskRunLogEntry_TaskRunStatusUpdate_Status)+ *p = x+ return p+}++func (x TaskRunLogEntry_TaskRunStatusUpdate_Status) String() string {+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))+}++func (TaskRunLogEntry_TaskRunStatusUpdate_Status) Descriptor() protoreflect.EnumDescriptor {+ return file_v1_rollout_service_proto_enumTypes[6].Descriptor()+}++func (TaskRunLogEntry_TaskRunStatusUpdate_Status) Type() protoreflect.EnumType {+ return &file_v1_rollout_service_proto_enumTypes[6]+}++func (x TaskRunLogEntry_TaskRunStatusUpdate_Status) Number() protoreflect.EnumNumber {+ return protoreflect.EnumNumber(x)+}++// Deprecated: Use TaskRunLogEntry_TaskRunStatusUpdate_Status.Descriptor instead.+func (TaskRunLogEntry_TaskRunStatusUpdate_Status) EnumDescriptor() ([]byte, []int) {+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 3, 0}+}+type BatchRunTasksRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -1622,9 +1679,12 @@ type TaskRunLogEntry struct {sizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields- Type TaskRunLogEntry_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.v1.TaskRunLogEntry_Type" json:"type,omitempty"`- SchemaDump *TaskRunLogEntry_SchemaDump `protobuf:"bytes,2,opt,name=schema_dump,json=schemaDump,proto3" json:"schema_dump,omitempty"`- CommandExecute *TaskRunLogEntry_CommandExecute `protobuf:"bytes,3,opt,name=command_execute,json=commandExecute,proto3" json:"command_execute,omitempty"`+ Type TaskRunLogEntry_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.v1.TaskRunLogEntry_Type" json:"type,omitempty"`+ LogTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=log_time,json=logTime,proto3" json:"log_time,omitempty"`+ SchemaDump *TaskRunLogEntry_SchemaDump `protobuf:"bytes,2,opt,name=schema_dump,json=schemaDump,proto3" json:"schema_dump,omitempty"`+ CommandExecute *TaskRunLogEntry_CommandExecute `protobuf:"bytes,3,opt,name=command_execute,json=commandExecute,proto3" json:"command_execute,omitempty"`+ DatabaseSync *TaskRunLogEntry_DatabaseSync `protobuf:"bytes,4,opt,name=database_sync,json=databaseSync,proto3" json:"database_sync,omitempty"`+ TaskRunStatusUpdate *TaskRunLogEntry_TaskRunStatusUpdate `protobuf:"bytes,5,opt,name=task_run_status_update,json=taskRunStatusUpdate,proto3" json:"task_run_status_update,omitempty"`}func (x *TaskRunLogEntry) Reset() {@@ -1666,6 +1726,13 @@ func (x *TaskRunLogEntry) GetType() TaskRunLogEntry_Type {return TaskRunLogEntry_TYPE_UNSPECIFIED}+func (x *TaskRunLogEntry) GetLogTime() *timestamppb.Timestamp {+ if x != nil {+ return x.LogTime+ }+ return nil+}+func (x *TaskRunLogEntry) GetSchemaDump() *TaskRunLogEntry_SchemaDump {if x != nil {return x.SchemaDump@@ -1680,6 +1747,20 @@ func (x *TaskRunLogEntry) GetCommandExecute() *TaskRunLogEntry_CommandExecute {return nil}+func (x *TaskRunLogEntry) GetDatabaseSync() *TaskRunLogEntry_DatabaseSync {+ if x != nil {+ return x.DatabaseSync+ }+ return nil+}++func (x *TaskRunLogEntry) GetTaskRunStatusUpdate() *TaskRunLogEntry_TaskRunStatusUpdate {+ if x != nil {+ return x.TaskRunStatusUpdate+ }+ return nil+}+type Task_DatabaseCreate struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -2281,6 +2362,116 @@ func (x *TaskRunLogEntry_CommandExecute) GetResponse() *TaskRunLogEntry_CommandEreturn nil}+type TaskRunLogEntry_DatabaseSync struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`+ EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`+ Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`+}++func (x *TaskRunLogEntry_DatabaseSync) Reset() {+ *x = TaskRunLogEntry_DatabaseSync{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_rollout_service_proto_msgTypes[28]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *TaskRunLogEntry_DatabaseSync) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*TaskRunLogEntry_DatabaseSync) ProtoMessage() {}++func (x *TaskRunLogEntry_DatabaseSync) ProtoReflect() protoreflect.Message {+ mi := &file_v1_rollout_service_proto_msgTypes[28]+ if protoimpl.UnsafeEnabled && x != nil {+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ if ms.LoadMessageInfo() == nil {+ ms.StoreMessageInfo(mi)+ }+ return ms+ }+ return mi.MessageOf(x)+}++// Deprecated: Use TaskRunLogEntry_DatabaseSync.ProtoReflect.Descriptor instead.+func (*TaskRunLogEntry_DatabaseSync) Descriptor() ([]byte, []int) {+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 2}+}++func (x *TaskRunLogEntry_DatabaseSync) GetStartTime() *timestamppb.Timestamp {+ if x != nil {+ return x.StartTime+ }+ return nil+}++func (x *TaskRunLogEntry_DatabaseSync) GetEndTime() *timestamppb.Timestamp {+ if x != nil {+ return x.EndTime+ }+ return nil+}++func (x *TaskRunLogEntry_DatabaseSync) GetError() string {+ if x != nil {+ return x.Error+ }+ return ""+}++type TaskRunLogEntry_TaskRunStatusUpdate struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Status TaskRunLogEntry_TaskRunStatusUpdate_Status `protobuf:"varint,1,opt,name=status,proto3,enum=bytebase.v1.TaskRunLogEntry_TaskRunStatusUpdate_Status" json:"status,omitempty"`+}++func (x *TaskRunLogEntry_TaskRunStatusUpdate) Reset() {+ *x = TaskRunLogEntry_TaskRunStatusUpdate{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_rollout_service_proto_msgTypes[29]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *TaskRunLogEntry_TaskRunStatusUpdate) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*TaskRunLogEntry_TaskRunStatusUpdate) ProtoMessage() {}++func (x *TaskRunLogEntry_TaskRunStatusUpdate) ProtoReflect() protoreflect.Message {+ mi := &file_v1_rollout_service_proto_msgTypes[29]+ if protoimpl.UnsafeEnabled && x != nil {+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ if ms.LoadMessageInfo() == nil {+ ms.StoreMessageInfo(mi)+ }+ return ms+ }+ return mi.MessageOf(x)+}++// Deprecated: Use TaskRunLogEntry_TaskRunStatusUpdate.ProtoReflect.Descriptor instead.+func (*TaskRunLogEntry_TaskRunStatusUpdate) Descriptor() ([]byte, []int) {+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 3}+}++func (x *TaskRunLogEntry_TaskRunStatusUpdate) GetStatus() TaskRunLogEntry_TaskRunStatusUpdate_Status {+ if x != nil {+ return x.Status+ }+ return TaskRunLogEntry_TaskRunStatusUpdate_STATUS_UNSPECIFIED+}+type TaskRunLogEntry_CommandExecute_CommandResponse struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -2297,7 +2488,7 @@ type TaskRunLogEntry_CommandExecute_CommandResponse struct {func (x *TaskRunLogEntry_CommandExecute_CommandResponse) Reset() {*x = TaskRunLogEntry_CommandExecute_CommandResponse{}if protoimpl.UnsafeEnabled {- mi := &file_v1_rollout_service_proto_msgTypes[28]+ mi := &file_v1_rollout_service_proto_msgTypes[30]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2310,7 +2501,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[28]+ mi := &file_v1_rollout_service_proto_msgTypes[30]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2655,141 +2846,180 @@ var file_v1_rollout_service_proto_rawDesc = []byte{0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61,0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65,- 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xc1, 0x06, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x52,+ 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xac, 0x0b, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x52,0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79,0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f,0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,- 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x64, 0x75, 0x6d, 0x70,- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45,- 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x75, 0x6d, 0x70, 0x52,- 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x54, 0x0a, 0x0f, 0x63,- 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x18, 0x03,- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74,- 0x72, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,- 0x65, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,- 0x65, 0x1a, 0x94, 0x01, 0x0a, 0x0a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x75, 0x6d, 0x70,- 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,- 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65,- 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,- 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69,- 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xfb, 0x02, 0x0a, 0x0e, 0x43, 0x6f, 0x6d,- 0x6d, 0x61, 0x6e, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c,- 0x6f, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,- 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x54, 0x69,- 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x69, 0x6e,- 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x6f, 0x6d,- 0x6d, 0x61, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x08, 0x72,- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e,+ 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,+ 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,+ 0x07, 0x6c, 0x6f, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65,+ 0x6d, 0x61, 0x5f, 0x64, 0x75, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b,- 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,- 0x61, 0x6e, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61,- 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0xaf, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f,- 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12,- 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,- 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65,- 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x66,- 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x6c,- 0x6c, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18,- 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74,- 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x22, 0x42, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14,- 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,- 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x44,- 0x55, 0x4d, 0x50, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44,- 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x45, 0x10, 0x02, 0x32, 0x83, 0x0a, 0x0a, 0x0e, 0x52,- 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a,- 0x0a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x1e, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c,- 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,- 0x74, 0x22, 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22,- 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,- 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f,- 0x2a, 0x7d, 0x12, 0x8c, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c,- 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x42, 0xda,- 0x41, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x07, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22,- 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74,- 0x73, 0x12, 0x85, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c,- 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,- 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x39,- 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a,- 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 0x72, 0x65, 0x76, 0x69,- 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0xa2, 0x01, 0x0a, 0x0c, 0x4c, 0x69,- 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73,- 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54,- 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,- 0x4d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e,- 0x12, 0x3c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74,- 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73,- 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0xa0,- 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67,- 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47,- 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x22, 0x53, 0xda, 0x41,- 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x12, 0x42, 0x2f,- 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a,- 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f,- 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6c, 0x6f,- 0x67, 0x12, 0xa6, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61,- 0x73, 0x6b, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73,- 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0xda, 0x41, 0x06, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a, 0x01, 0x2a, 0x22, 0x3a,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,- 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f,- 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b,- 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x12, 0xaa, 0x01, 0x0a, 0x0e, 0x42,- 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x22, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63,- 0x68, 0x53, 0x6b, 0x69, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,- 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x3a, 0x01, 0x2a, 0x22, 0x3b, 0x2f, 0x76, 0x31, 0x2f,+ 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x63, 0x68, 0x65,+ 0x6d, 0x61, 0x44, 0x75, 0x6d, 0x70, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x75,+ 0x6d, 0x70, 0x12, 0x54, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x65, 0x78,+ 0x65, 0x63, 0x75, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75,+ 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,+ 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,+ 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x4e, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,+ 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61,+ 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x65, 0x0a, 0x16, 0x74, 0x61, 0x73, 0x6b,+ 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x75, 0x70, 0x64, 0x61,+ 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f,+ 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74,+ 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x13, 0x74, 0x61, 0x73, 0x6b,+ 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a,+ 0x94, 0x01, 0x0a, 0x0a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x39,+ 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09,+ 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64,+ 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,+ 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xfb, 0x02, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x61,+ 0x6e, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x6f, 0x67,+ 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x54, 0x69, 0x6d, 0x65,+ 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65,+ 0x78, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,+ 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x08, 0x72, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75,+ 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,+ 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x1a, 0xaf, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65,+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x74, 0x69,+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,+ 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a,+ 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72,+ 0x72, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f,+ 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65,+ 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x5f,+ 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20,+ 0x03, 0x28, 0x05, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64,+ 0x52, 0x6f, 0x77, 0x73, 0x1a, 0x96, 0x01, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,+ 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,+ 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,+ 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07,+ 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xb2, 0x01,+ 0x0a, 0x13, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e,+ 0x74, 0x72, 0x79, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,+ 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06,+ 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,+ 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,+ 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x55, 0x4e, 0x4e,+ 0x49, 0x4e, 0x47, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x13, 0x0a,+ 0x0f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47,+ 0x10, 0x02, 0x22, 0x71, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59,+ 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,+ 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x44, 0x55, 0x4d, 0x50, 0x10,+ 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x5f, 0x45, 0x58, 0x45,+ 0x43, 0x55, 0x54, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,+ 0x53, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x53,+ 0x4b, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44,+ 0x41, 0x54, 0x45, 0x10, 0x04, 0x32, 0x83, 0x0a, 0x0a, 0x0e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,+ 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52,+ 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x2f, 0xda, 0x41,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31,+ 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,+ 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8c, 0x01,+ 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12,+ 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,+ 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x42, 0xda, 0x41, 0x0e, 0x70, 0x61, 0x72,+ 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02,+ 0x2b, 0x3a, 0x07, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x20, 0x2f, 0x76, 0x31, 0x2f,0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74,- 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x62, 0x61,- 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63,- 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12,- 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61,- 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e,- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63,- 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,- 0x73, 0x65, 0x22, 0x5c, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x4d, 0x3a, 0x01, 0x2a, 0x22, 0x48, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,- 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72,- 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73,- 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b,- 0x52, 0x75, 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c,- 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f,- 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x12, 0x85, 0x01, 0x0a,+ 0x0e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12,+ 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,+ 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x39, 0xda, 0x41, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31,+ 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c,+ 0x6c, 0x6f, 0x75, 0x74, 0x12, 0xa2, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73,+ 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75,+ 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0xda, 0x41, 0x06, 0x70,+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x76, 0x31,+ 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73,+ 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d,+ 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0xa0, 0x01, 0x0a, 0x0d, 0x47, 0x65,+ 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x12, 0x21, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73,+ 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73,+ 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x22, 0x53, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65,+ 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x12, 0x42, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,+ 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67,+ 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73,+ 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6c, 0x6f, 0x67, 0x12, 0xa6, 0x01, 0x0a,+ 0x0d, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x21,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74,+ 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a, 0x01, 0x2a, 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x2f, 0x7b,+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,+ 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61,+ 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x62, 0x61, 0x74,+ 0x63, 0x68, 0x52, 0x75, 0x6e, 0x12, 0xaa, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53,+ 0x6b, 0x69, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70,+ 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68,+ 0x53, 0x6b, 0x69, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,+ 0x65, 0x22, 0x4f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x40, 0x3a, 0x01, 0x2a, 0x22, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,+ 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f,+ 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f,+ 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b,+ 0x69, 0x70, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63,+ 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61,+ 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x61, 0x73,+ 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, 0xda,+ 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x3a, 0x01,+ 0x2a, 0x22, 0x48, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,+ 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61,+ 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x3a,+ 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x42, 0x11, 0x5a, 0x0f, 0x67,+ 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06,+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,}var (@@ -2804,8 +3034,8 @@ func file_v1_rollout_service_proto_rawDescGZIP() []byte {return file_v1_rollout_service_proto_rawDescData}-var file_v1_rollout_service_proto_enumTypes = make([]protoimpl.EnumInfo, 6)-var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 29)+var file_v1_rollout_service_proto_enumTypes = make([]protoimpl.EnumInfo, 7)+var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 31)var file_v1_rollout_service_proto_goTypes = []any{(Task_Status)(0), // 0: bytebase.v1.Task.Status(Task_Type)(0), // 1: bytebase.v1.Task.Type@@ -2813,93 +3043,102 @@ var file_v1_rollout_service_proto_goTypes = []any{(TaskRun_ExecutionStatus)(0), // 3: bytebase.v1.TaskRun.ExecutionStatus(TaskRun_ExportArchiveStatus)(0), // 4: bytebase.v1.TaskRun.ExportArchiveStatus(TaskRunLogEntry_Type)(0), // 5: bytebase.v1.TaskRunLogEntry.Type- (*BatchRunTasksRequest)(nil), // 6: bytebase.v1.BatchRunTasksRequest- (*BatchRunTasksResponse)(nil), // 7: bytebase.v1.BatchRunTasksResponse- (*BatchSkipTasksRequest)(nil), // 8: bytebase.v1.BatchSkipTasksRequest- (*BatchSkipTasksResponse)(nil), // 9: bytebase.v1.BatchSkipTasksResponse- (*BatchCancelTaskRunsRequest)(nil), // 10: bytebase.v1.BatchCancelTaskRunsRequest- (*BatchCancelTaskRunsResponse)(nil), // 11: bytebase.v1.BatchCancelTaskRunsResponse- (*GetRolloutRequest)(nil), // 12: bytebase.v1.GetRolloutRequest- (*CreateRolloutRequest)(nil), // 13: bytebase.v1.CreateRolloutRequest- (*PreviewRolloutRequest)(nil), // 14: bytebase.v1.PreviewRolloutRequest- (*ListTaskRunsRequest)(nil), // 15: bytebase.v1.ListTaskRunsRequest- (*ListTaskRunsResponse)(nil), // 16: bytebase.v1.ListTaskRunsResponse- (*GetTaskRunLogRequest)(nil), // 17: bytebase.v1.GetTaskRunLogRequest- (*Rollout)(nil), // 18: bytebase.v1.Rollout- (*Stage)(nil), // 19: bytebase.v1.Stage- (*Task)(nil), // 20: bytebase.v1.Task- (*TaskRun)(nil), // 21: bytebase.v1.TaskRun- (*TaskRunLog)(nil), // 22: bytebase.v1.TaskRunLog- (*TaskRunLogEntry)(nil), // 23: bytebase.v1.TaskRunLogEntry- (*Task_DatabaseCreate)(nil), // 24: bytebase.v1.Task.DatabaseCreate- (*Task_DatabaseSchemaBaseline)(nil), // 25: bytebase.v1.Task.DatabaseSchemaBaseline- (*Task_DatabaseSchemaUpdate)(nil), // 26: bytebase.v1.Task.DatabaseSchemaUpdate- (*Task_DatabaseDataUpdate)(nil), // 27: bytebase.v1.Task.DatabaseDataUpdate- (*Task_DatabaseDataExport)(nil), // 28: bytebase.v1.Task.DatabaseDataExport- nil, // 29: bytebase.v1.Task.DatabaseCreate.LabelsEntry- (*TaskRun_ExecutionDetail)(nil), // 30: bytebase.v1.TaskRun.ExecutionDetail- (*TaskRun_ExecutionDetail_Position)(nil), // 31: bytebase.v1.TaskRun.ExecutionDetail.Position- (*TaskRunLogEntry_SchemaDump)(nil), // 32: bytebase.v1.TaskRunLogEntry.SchemaDump- (*TaskRunLogEntry_CommandExecute)(nil), // 33: bytebase.v1.TaskRunLogEntry.CommandExecute- (*TaskRunLogEntry_CommandExecute_CommandResponse)(nil), // 34: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse- (*Plan)(nil), // 35: bytebase.v1.Plan- (*timestamppb.Timestamp)(nil), // 36: google.protobuf.Timestamp- (ExportFormat)(0), // 37: bytebase.v1.ExportFormat+ (TaskRunLogEntry_TaskRunStatusUpdate_Status)(0), // 6: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status+ (*BatchRunTasksRequest)(nil), // 7: bytebase.v1.BatchRunTasksRequest+ (*BatchRunTasksResponse)(nil), // 8: bytebase.v1.BatchRunTasksResponse+ (*BatchSkipTasksRequest)(nil), // 9: bytebase.v1.BatchSkipTasksRequest+ (*BatchSkipTasksResponse)(nil), // 10: bytebase.v1.BatchSkipTasksResponse+ (*BatchCancelTaskRunsRequest)(nil), // 11: bytebase.v1.BatchCancelTaskRunsRequest+ (*BatchCancelTaskRunsResponse)(nil), // 12: bytebase.v1.BatchCancelTaskRunsResponse+ (*GetRolloutRequest)(nil), // 13: bytebase.v1.GetRolloutRequest+ (*CreateRolloutRequest)(nil), // 14: bytebase.v1.CreateRolloutRequest+ (*PreviewRolloutRequest)(nil), // 15: bytebase.v1.PreviewRolloutRequest+ (*ListTaskRunsRequest)(nil), // 16: bytebase.v1.ListTaskRunsRequest+ (*ListTaskRunsResponse)(nil), // 17: bytebase.v1.ListTaskRunsResponse+ (*GetTaskRunLogRequest)(nil), // 18: bytebase.v1.GetTaskRunLogRequest+ (*Rollout)(nil), // 19: bytebase.v1.Rollout+ (*Stage)(nil), // 20: bytebase.v1.Stage+ (*Task)(nil), // 21: bytebase.v1.Task+ (*TaskRun)(nil), // 22: bytebase.v1.TaskRun+ (*TaskRunLog)(nil), // 23: bytebase.v1.TaskRunLog+ (*TaskRunLogEntry)(nil), // 24: bytebase.v1.TaskRunLogEntry+ (*Task_DatabaseCreate)(nil), // 25: bytebase.v1.Task.DatabaseCreate+ (*Task_DatabaseSchemaBaseline)(nil), // 26: bytebase.v1.Task.DatabaseSchemaBaseline+ (*Task_DatabaseSchemaUpdate)(nil), // 27: bytebase.v1.Task.DatabaseSchemaUpdate+ (*Task_DatabaseDataUpdate)(nil), // 28: bytebase.v1.Task.DatabaseDataUpdate+ (*Task_DatabaseDataExport)(nil), // 29: bytebase.v1.Task.DatabaseDataExport+ nil, // 30: bytebase.v1.Task.DatabaseCreate.LabelsEntry+ (*TaskRun_ExecutionDetail)(nil), // 31: bytebase.v1.TaskRun.ExecutionDetail+ (*TaskRun_ExecutionDetail_Position)(nil), // 32: bytebase.v1.TaskRun.ExecutionDetail.Position+ (*TaskRunLogEntry_SchemaDump)(nil), // 33: bytebase.v1.TaskRunLogEntry.SchemaDump+ (*TaskRunLogEntry_CommandExecute)(nil), // 34: bytebase.v1.TaskRunLogEntry.CommandExecute+ (*TaskRunLogEntry_DatabaseSync)(nil), // 35: bytebase.v1.TaskRunLogEntry.DatabaseSync+ (*TaskRunLogEntry_TaskRunStatusUpdate)(nil), // 36: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate+ (*TaskRunLogEntry_CommandExecute_CommandResponse)(nil), // 37: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse+ (*Plan)(nil), // 38: bytebase.v1.Plan+ (*timestamppb.Timestamp)(nil), // 39: google.protobuf.Timestamp+ (ExportFormat)(0), // 40: bytebase.v1.ExportFormat}var file_v1_rollout_service_proto_depIdxs = []int32{- 18, // 0: bytebase.v1.CreateRolloutRequest.rollout:type_name -> bytebase.v1.Rollout- 35, // 1: bytebase.v1.PreviewRolloutRequest.plan:type_name -> bytebase.v1.Plan- 21, // 2: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun- 19, // 3: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage- 20, // 4: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task+ 19, // 0: bytebase.v1.CreateRolloutRequest.rollout:type_name -> bytebase.v1.Rollout+ 38, // 1: bytebase.v1.PreviewRolloutRequest.plan:type_name -> bytebase.v1.Plan+ 22, // 2: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun+ 20, // 3: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage+ 21, // 4: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task0, // 5: bytebase.v1.Task.status:type_name -> bytebase.v1.Task.Status1, // 6: bytebase.v1.Task.type:type_name -> bytebase.v1.Task.Type- 24, // 7: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate- 25, // 8: bytebase.v1.Task.database_schema_baseline:type_name -> bytebase.v1.Task.DatabaseSchemaBaseline- 26, // 9: bytebase.v1.Task.database_schema_update:type_name -> bytebase.v1.Task.DatabaseSchemaUpdate- 27, // 10: bytebase.v1.Task.database_data_update:type_name -> bytebase.v1.Task.DatabaseDataUpdate- 28, // 11: bytebase.v1.Task.database_data_export:type_name -> bytebase.v1.Task.DatabaseDataExport- 36, // 12: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp- 36, // 13: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp+ 25, // 7: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate+ 26, // 8: bytebase.v1.Task.database_schema_baseline:type_name -> bytebase.v1.Task.DatabaseSchemaBaseline+ 27, // 9: bytebase.v1.Task.database_schema_update:type_name -> bytebase.v1.Task.DatabaseSchemaUpdate+ 28, // 10: bytebase.v1.Task.database_data_update:type_name -> bytebase.v1.Task.DatabaseDataUpdate+ 29, // 11: bytebase.v1.Task.database_data_export:type_name -> bytebase.v1.Task.DatabaseDataExport+ 39, // 12: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp+ 39, // 13: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp2, // 14: bytebase.v1.TaskRun.status:type_name -> bytebase.v1.TaskRun.Status3, // 15: bytebase.v1.TaskRun.execution_status:type_name -> bytebase.v1.TaskRun.ExecutionStatus- 30, // 16: bytebase.v1.TaskRun.execution_detail:type_name -> bytebase.v1.TaskRun.ExecutionDetail- 36, // 17: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp+ 31, // 16: bytebase.v1.TaskRun.execution_detail:type_name -> bytebase.v1.TaskRun.ExecutionDetail+ 39, // 17: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp4, // 18: bytebase.v1.TaskRun.export_archive_status:type_name -> bytebase.v1.TaskRun.ExportArchiveStatus- 23, // 19: bytebase.v1.TaskRunLog.entries:type_name -> bytebase.v1.TaskRunLogEntry+ 24, // 19: bytebase.v1.TaskRunLog.entries:type_name -> bytebase.v1.TaskRunLogEntry5, // 20: bytebase.v1.TaskRunLogEntry.type:type_name -> bytebase.v1.TaskRunLogEntry.Type- 32, // 21: bytebase.v1.TaskRunLogEntry.schema_dump:type_name -> bytebase.v1.TaskRunLogEntry.SchemaDump- 33, // 22: bytebase.v1.TaskRunLogEntry.command_execute:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute- 29, // 23: bytebase.v1.Task.DatabaseCreate.labels:type_name -> bytebase.v1.Task.DatabaseCreate.LabelsEntry- 37, // 24: bytebase.v1.Task.DatabaseDataExport.format:type_name -> bytebase.v1.ExportFormat- 31, // 25: bytebase.v1.TaskRun.ExecutionDetail.command_start_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position- 31, // 26: bytebase.v1.TaskRun.ExecutionDetail.command_end_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position- 36, // 27: bytebase.v1.TaskRunLogEntry.SchemaDump.start_time:type_name -> google.protobuf.Timestamp- 36, // 28: bytebase.v1.TaskRunLogEntry.SchemaDump.end_time:type_name -> google.protobuf.Timestamp- 36, // 29: bytebase.v1.TaskRunLogEntry.CommandExecute.log_time:type_name -> google.protobuf.Timestamp- 34, // 30: bytebase.v1.TaskRunLogEntry.CommandExecute.response:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse- 36, // 31: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.log_time:type_name -> google.protobuf.Timestamp- 12, // 32: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest- 13, // 33: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest- 14, // 34: bytebase.v1.RolloutService.PreviewRollout:input_type -> bytebase.v1.PreviewRolloutRequest- 15, // 35: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest- 17, // 36: bytebase.v1.RolloutService.GetTaskRunLog:input_type -> bytebase.v1.GetTaskRunLogRequest- 6, // 37: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest- 8, // 38: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest- 10, // 39: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest- 18, // 40: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout- 18, // 41: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout- 18, // 42: bytebase.v1.RolloutService.PreviewRollout:output_type -> bytebase.v1.Rollout- 16, // 43: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse- 22, // 44: bytebase.v1.RolloutService.GetTaskRunLog:output_type -> bytebase.v1.TaskRunLog- 7, // 45: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse- 9, // 46: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse- 11, // 47: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse- 40, // [40:48] is the sub-list for method output_type- 32, // [32:40] is the sub-list for method input_type- 32, // [32:32] is the sub-list for extension type_name- 32, // [32:32] is the sub-list for extension extendee- 0, // [0:32] is the sub-list for field type_name+ 39, // 21: bytebase.v1.TaskRunLogEntry.log_time:type_name -> google.protobuf.Timestamp+ 33, // 22: bytebase.v1.TaskRunLogEntry.schema_dump:type_name -> bytebase.v1.TaskRunLogEntry.SchemaDump+ 34, // 23: bytebase.v1.TaskRunLogEntry.command_execute:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute+ 35, // 24: bytebase.v1.TaskRunLogEntry.database_sync:type_name -> bytebase.v1.TaskRunLogEntry.DatabaseSync+ 36, // 25: bytebase.v1.TaskRunLogEntry.task_run_status_update:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate+ 30, // 26: bytebase.v1.Task.DatabaseCreate.labels:type_name -> bytebase.v1.Task.DatabaseCreate.LabelsEntry+ 40, // 27: bytebase.v1.Task.DatabaseDataExport.format:type_name -> bytebase.v1.ExportFormat+ 32, // 28: bytebase.v1.TaskRun.ExecutionDetail.command_start_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position+ 32, // 29: bytebase.v1.TaskRun.ExecutionDetail.command_end_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position+ 39, // 30: bytebase.v1.TaskRunLogEntry.SchemaDump.start_time:type_name -> google.protobuf.Timestamp+ 39, // 31: bytebase.v1.TaskRunLogEntry.SchemaDump.end_time:type_name -> google.protobuf.Timestamp+ 39, // 32: bytebase.v1.TaskRunLogEntry.CommandExecute.log_time:type_name -> google.protobuf.Timestamp+ 37, // 33: bytebase.v1.TaskRunLogEntry.CommandExecute.response:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse+ 39, // 34: bytebase.v1.TaskRunLogEntry.DatabaseSync.start_time:type_name -> google.protobuf.Timestamp+ 39, // 35: bytebase.v1.TaskRunLogEntry.DatabaseSync.end_time:type_name -> google.protobuf.Timestamp+ 6, // 36: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.status:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status+ 39, // 37: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.log_time:type_name -> google.protobuf.Timestamp+ 13, // 38: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest+ 14, // 39: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest+ 15, // 40: bytebase.v1.RolloutService.PreviewRollout:input_type -> bytebase.v1.PreviewRolloutRequest+ 16, // 41: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest+ 18, // 42: bytebase.v1.RolloutService.GetTaskRunLog:input_type -> bytebase.v1.GetTaskRunLogRequest+ 7, // 43: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest+ 9, // 44: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest+ 11, // 45: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest+ 19, // 46: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout+ 19, // 47: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout+ 19, // 48: bytebase.v1.RolloutService.PreviewRollout:output_type -> bytebase.v1.Rollout+ 17, // 49: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse+ 23, // 50: bytebase.v1.RolloutService.GetTaskRunLog:output_type -> bytebase.v1.TaskRunLog+ 8, // 51: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse+ 10, // 52: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse+ 12, // 53: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse+ 46, // [46:54] is the sub-list for method output_type+ 38, // [38:46] is the sub-list for method input_type+ 38, // [38:38] is the sub-list for extension type_name+ 38, // [38:38] is the sub-list for extension extendee+ 0, // [0:38] is the sub-list for field type_name}func init() { file_v1_rollout_service_proto_init() }@@ -3235,6 +3474,30 @@ func file_v1_rollout_service_proto_init() {}}file_v1_rollout_service_proto_msgTypes[28].Exporter = func(v any, i int) any {+ switch v := v.(*TaskRunLogEntry_DatabaseSync); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_rollout_service_proto_msgTypes[29].Exporter = func(v any, i int) any {+ switch v := v.(*TaskRunLogEntry_TaskRunStatusUpdate); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_rollout_service_proto_msgTypes[30].Exporter = func(v any, i int) any {switch v := v.(*TaskRunLogEntry_CommandExecute_CommandResponse); i {case 0:return &v.state@@ -3260,8 +3523,8 @@ func file_v1_rollout_service_proto_init() {File: protoimpl.DescBuilder{GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_v1_rollout_service_proto_rawDesc,- NumEnums: 6,- NumMessages: 29,+ NumEnums: 7,+ NumMessages: 31,NumExtensions: 0,NumServices: 1,},diff --git a/proto/v1/rollout_service.proto b/proto/v1/rollout_service.protoindex 9ad7a14e4e..44f4084902 100644--- a/proto/v1/rollout_service.proto+++ b/proto/v1/rollout_service.proto@@ -381,10 +381,15 @@ message TaskRunLogEntry {TYPE_UNSPECIFIED = 0;SCHEMA_DUMP = 1;COMMAND_EXECUTE = 2;+ DATABASE_SYNC = 3;+ TASK_RUN_STATUS_UPDATE = 4;}Type type = 1;+ google.protobuf.Timestamp log_time = 6;SchemaDump schema_dump = 2;CommandExecute command_execute = 3;+ DatabaseSync database_sync = 4;+ TaskRunStatusUpdate task_run_status_update = 5;message SchemaDump {google.protobuf.Timestamp start_time = 1;@@ -407,4 +412,21 @@ message TaskRunLogEntry {repeated int32 all_affected_rows = 4;}}++ message DatabaseSync {+ google.protobuf.Timestamp start_time = 1;+ google.protobuf.Timestamp end_time = 2;+ string error = 3;+ }++ message TaskRunStatusUpdate {+ Status status = 1;+ enum Status {+ STATUS_UNSPECIFIED = 0;+ // the task run is ready to be executed by the scheduler+ RUNNING_WAITING = 1;+ // the task run is being executed by the scheduler+ RUNNING_RUNNING = 2;+ }+ }}