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: add gh-ost task run logs (#20237)
p0ny0a3ab2438088
diff --git a/backend/api/mcp/gen/openapi.yaml b/backend/api/mcp/gen/openapi.yamlindex d6216a239c..d5c032fb7e 100644--- a/backend/api/mcp/gen/openapi.yaml+++ b/backend/api/mcp/gen/openapi.yaml@@ -18640,6 +18640,10 @@ components:title: release_file_executedescription: Release file execution details (if type is RELEASE_FILE_EXECUTE).$ref: '#/components/schemas/bytebase.v1.TaskRunLogEntry.ReleaseFileExecute'+ ghostMigration:+ title: ghost_migration+ description: gh-ost migration details (if type is GHOST_MIGRATION).+ $ref: '#/components/schemas/bytebase.v1.TaskRunLogEntry.GhostMigration'title: TaskRunLogEntryadditionalProperties: falsebytebase.v1.TaskRunLogEntry.CommandExecute:@@ -18735,6 +18739,24 @@ components:title: DatabaseSyncadditionalProperties: falsedescription: Database synchronization details.+ bytebase.v1.TaskRunLogEntry.GhostMigration:+ type: object+ properties:+ startTime:+ title: start_time+ description: When the gh-ost migration started.+ $ref: '#/components/schemas/google.protobuf.Timestamp'+ endTime:+ title: end_time+ description: When the gh-ost migration ended.+ $ref: '#/components/schemas/google.protobuf.Timestamp'+ error:+ type: string+ title: error+ description: Error message if the gh-ost migration failed.+ title: GhostMigration+ additionalProperties: false+ description: gh-ost migration details.bytebase.v1.TaskRunLogEntry.PriorBackup:type: objectproperties:@@ -18899,6 +18921,7 @@ components:- RETRY_INFO- COMPUTE_DIFF- RELEASE_FILE_EXECUTE+ - GHOST_MIGRATIONdescription: The type of log entry.bytebase.v1.TaskRunSession:type: objectdiff --git a/backend/api/v1/rollout_service_converter.go b/backend/api/v1/rollout_service_converter.goindex d4eaaf2226..779323b7ae 100644--- a/backend/api/v1/rollout_service_converter.go+++ b/backend/api/v1/rollout_service_converter.go@@ -529,6 +529,27 @@ func convertToTaskRunLogEntries(logs []*store.TaskRunLog) []*v1pb.TaskRunLogEntrFilePath: l.Payload.ReleaseFileExecute.FilePath,},})++ case storepb.TaskRunLog_GHOST_MIGRATION_START:+ entries = append(entries, &v1pb.TaskRunLogEntry{+ Type: v1pb.TaskRunLogEntry_GHOST_MIGRATION,+ LogTime: timestamppb.New(l.T),+ ReplicaId: l.Payload.ReplicaId,+ GhostMigration: &v1pb.TaskRunLogEntry_GhostMigration{+ StartTime: timestamppb.New(l.T),+ },+ })++ case storepb.TaskRunLog_GHOST_MIGRATION_END:+ if len(entries) == 0 {+ continue+ }+ prev := entries[len(entries)-1]+ if prev == nil || prev.Type != v1pb.TaskRunLogEntry_GHOST_MIGRATION {+ continue+ }+ prev.GhostMigration.EndTime = timestamppb.New(l.T)+ prev.GhostMigration.Error = l.Payload.GhostMigrationEnd.Errordefault:}}diff --git a/backend/api/v1/rollout_service_converter_test.go b/backend/api/v1/rollout_service_converter_test.gonew file mode 100644index 0000000000..54cbd27214--- /dev/null+++ b/backend/api/v1/rollout_service_converter_test.go@@ -0,0 +1,49 @@+package v1++import (+ "testing"+ "time"++ "github.com/stretchr/testify/require"+ "google.golang.org/protobuf/reflect/protoreflect"++ storepb "github.com/bytebase/bytebase/backend/generated-go/store"+ v1pb "github.com/bytebase/bytebase/backend/generated-go/v1"+ "github.com/bytebase/bytebase/backend/store"+)++func TestConvertToTaskRunLogEntries_GhostMigration(t *testing.T) {+ start := time.Date(2026, 5, 8, 10, 0, 0, 0, time.UTC)+ end := start.Add(3 * time.Second)++ entries := convertToTaskRunLogEntries([]*store.TaskRunLog{+ {+ T: start,+ Payload: &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_GHOST_MIGRATION_START,+ ReplicaId: "replica-a",+ GhostMigrationStart: &storepb.TaskRunLog_GhostMigrationStart{},+ },+ },+ {+ T: end,+ Payload: &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_GHOST_MIGRATION_END,+ ReplicaId: "replica-a",+ GhostMigrationEnd: &storepb.TaskRunLog_GhostMigrationEnd{+ Error: "copy failed",+ },+ },+ },+ })++ require.Len(t, entries, 1)+ entry := entries[0]+ require.Equal(t, v1pb.TaskRunLogEntry_GHOST_MIGRATION, entry.Type)+ require.Equal(t, "replica-a", entry.ReplicaId)+ require.NotNil(t, entry.GhostMigration)+ require.Nil(t, entry.GhostMigration.ProtoReflect().Descriptor().Fields().ByName(protoreflect.Name("statement")))+ require.Equal(t, start.Unix(), entry.GhostMigration.StartTime.AsTime().Unix())+ require.Equal(t, end.Unix(), entry.GhostMigration.EndTime.AsTime().Unix())+ require.Equal(t, "copy failed", entry.GhostMigration.Error)+}diff --git a/backend/generated-go/store/task_run_log.pb.go b/backend/generated-go/store/task_run_log.pb.goindex c470ce0f97..288527015b 100644--- a/backend/generated-go/store/task_run_log.pb.go+++ b/backend/generated-go/store/task_run_log.pb.go@@ -24,20 +24,22 @@ const (type TaskRunLog_Type int32const (- TaskRunLog_TYPE_UNSPECIFIED TaskRunLog_Type = 0- TaskRunLog_SCHEMA_DUMP_START TaskRunLog_Type = 1- TaskRunLog_SCHEMA_DUMP_END TaskRunLog_Type = 2- TaskRunLog_COMMAND_EXECUTE TaskRunLog_Type = 3- TaskRunLog_COMMAND_RESPONSE TaskRunLog_Type = 4- TaskRunLog_DATABASE_SYNC_START TaskRunLog_Type = 5- TaskRunLog_DATABASE_SYNC_END TaskRunLog_Type = 6- TaskRunLog_TRANSACTION_CONTROL TaskRunLog_Type = 8- TaskRunLog_PRIOR_BACKUP_START TaskRunLog_Type = 9- TaskRunLog_PRIOR_BACKUP_END TaskRunLog_Type = 10- TaskRunLog_RETRY_INFO TaskRunLog_Type = 11- TaskRunLog_COMPUTE_DIFF_START TaskRunLog_Type = 12- TaskRunLog_COMPUTE_DIFF_END TaskRunLog_Type = 13- TaskRunLog_RELEASE_FILE_EXECUTE TaskRunLog_Type = 14+ TaskRunLog_TYPE_UNSPECIFIED TaskRunLog_Type = 0+ TaskRunLog_SCHEMA_DUMP_START TaskRunLog_Type = 1+ TaskRunLog_SCHEMA_DUMP_END TaskRunLog_Type = 2+ TaskRunLog_COMMAND_EXECUTE TaskRunLog_Type = 3+ TaskRunLog_COMMAND_RESPONSE TaskRunLog_Type = 4+ TaskRunLog_DATABASE_SYNC_START TaskRunLog_Type = 5+ TaskRunLog_DATABASE_SYNC_END TaskRunLog_Type = 6+ TaskRunLog_TRANSACTION_CONTROL TaskRunLog_Type = 8+ TaskRunLog_PRIOR_BACKUP_START TaskRunLog_Type = 9+ TaskRunLog_PRIOR_BACKUP_END TaskRunLog_Type = 10+ TaskRunLog_RETRY_INFO TaskRunLog_Type = 11+ TaskRunLog_COMPUTE_DIFF_START TaskRunLog_Type = 12+ TaskRunLog_COMPUTE_DIFF_END TaskRunLog_Type = 13+ TaskRunLog_RELEASE_FILE_EXECUTE TaskRunLog_Type = 14+ TaskRunLog_GHOST_MIGRATION_START TaskRunLog_Type = 15+ TaskRunLog_GHOST_MIGRATION_END TaskRunLog_Type = 16)// Enum value maps for TaskRunLog_Type.@@ -57,22 +59,26 @@ var (12: "COMPUTE_DIFF_START",13: "COMPUTE_DIFF_END",14: "RELEASE_FILE_EXECUTE",+ 15: "GHOST_MIGRATION_START",+ 16: "GHOST_MIGRATION_END",}TaskRunLog_Type_value = map[string]int32{- "TYPE_UNSPECIFIED": 0,- "SCHEMA_DUMP_START": 1,- "SCHEMA_DUMP_END": 2,- "COMMAND_EXECUTE": 3,- "COMMAND_RESPONSE": 4,- "DATABASE_SYNC_START": 5,- "DATABASE_SYNC_END": 6,- "TRANSACTION_CONTROL": 8,- "PRIOR_BACKUP_START": 9,- "PRIOR_BACKUP_END": 10,- "RETRY_INFO": 11,- "COMPUTE_DIFF_START": 12,- "COMPUTE_DIFF_END": 13,- "RELEASE_FILE_EXECUTE": 14,+ "TYPE_UNSPECIFIED": 0,+ "SCHEMA_DUMP_START": 1,+ "SCHEMA_DUMP_END": 2,+ "COMMAND_EXECUTE": 3,+ "COMMAND_RESPONSE": 4,+ "DATABASE_SYNC_START": 5,+ "DATABASE_SYNC_END": 6,+ "TRANSACTION_CONTROL": 8,+ "PRIOR_BACKUP_START": 9,+ "PRIOR_BACKUP_END": 10,+ "RETRY_INFO": 11,+ "COMPUTE_DIFF_START": 12,+ "COMPUTE_DIFF_END": 13,+ "RELEASE_FILE_EXECUTE": 14,+ "GHOST_MIGRATION_START": 15,+ "GHOST_MIGRATION_END": 16,})@@ -156,24 +162,26 @@ func (TaskRunLog_TransactionControl_Type) EnumDescriptor() ([]byte, []int) {}type TaskRunLog struct {- state protoimpl.MessageState `protogen:"open.v1"`- Type TaskRunLog_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.store.TaskRunLog_Type" json:"type,omitempty"`- ReplicaId string `protobuf:"bytes,12,opt,name=replica_id,json=replicaId,proto3" json:"replica_id,omitempty"`- SchemaDumpStart *TaskRunLog_SchemaDumpStart `protobuf:"bytes,2,opt,name=schema_dump_start,json=schemaDumpStart,proto3" json:"schema_dump_start,omitempty"`- SchemaDumpEnd *TaskRunLog_SchemaDumpEnd `protobuf:"bytes,3,opt,name=schema_dump_end,json=schemaDumpEnd,proto3" json:"schema_dump_end,omitempty"`- CommandExecute *TaskRunLog_CommandExecute `protobuf:"bytes,4,opt,name=command_execute,json=commandExecute,proto3" json:"command_execute,omitempty"`- CommandResponse *TaskRunLog_CommandResponse `protobuf:"bytes,5,opt,name=command_response,json=commandResponse,proto3" json:"command_response,omitempty"`- DatabaseSyncStart *TaskRunLog_DatabaseSyncStart `protobuf:"bytes,6,opt,name=database_sync_start,json=databaseSyncStart,proto3" json:"database_sync_start,omitempty"`- DatabaseSyncEnd *TaskRunLog_DatabaseSyncEnd `protobuf:"bytes,7,opt,name=database_sync_end,json=databaseSyncEnd,proto3" json:"database_sync_end,omitempty"`- TransactionControl *TaskRunLog_TransactionControl `protobuf:"bytes,9,opt,name=transaction_control,json=transactionControl,proto3" json:"transaction_control,omitempty"`- PriorBackupStart *TaskRunLog_PriorBackupStart `protobuf:"bytes,10,opt,name=prior_backup_start,json=priorBackupStart,proto3" json:"prior_backup_start,omitempty"`- PriorBackupEnd *TaskRunLog_PriorBackupEnd `protobuf:"bytes,11,opt,name=prior_backup_end,json=priorBackupEnd,proto3" json:"prior_backup_end,omitempty"`- RetryInfo *TaskRunLog_RetryInfo `protobuf:"bytes,13,opt,name=retry_info,json=retryInfo,proto3" json:"retry_info,omitempty"`- ComputeDiffStart *TaskRunLog_ComputeDiffStart `protobuf:"bytes,14,opt,name=compute_diff_start,json=computeDiffStart,proto3" json:"compute_diff_start,omitempty"`- ComputeDiffEnd *TaskRunLog_ComputeDiffEnd `protobuf:"bytes,15,opt,name=compute_diff_end,json=computeDiffEnd,proto3" json:"compute_diff_end,omitempty"`- ReleaseFileExecute *TaskRunLog_ReleaseFileExecute `protobuf:"bytes,16,opt,name=release_file_execute,json=releaseFileExecute,proto3" json:"release_file_execute,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ state protoimpl.MessageState `protogen:"open.v1"`+ Type TaskRunLog_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.store.TaskRunLog_Type" json:"type,omitempty"`+ ReplicaId string `protobuf:"bytes,12,opt,name=replica_id,json=replicaId,proto3" json:"replica_id,omitempty"`+ SchemaDumpStart *TaskRunLog_SchemaDumpStart `protobuf:"bytes,2,opt,name=schema_dump_start,json=schemaDumpStart,proto3" json:"schema_dump_start,omitempty"`+ SchemaDumpEnd *TaskRunLog_SchemaDumpEnd `protobuf:"bytes,3,opt,name=schema_dump_end,json=schemaDumpEnd,proto3" json:"schema_dump_end,omitempty"`+ CommandExecute *TaskRunLog_CommandExecute `protobuf:"bytes,4,opt,name=command_execute,json=commandExecute,proto3" json:"command_execute,omitempty"`+ CommandResponse *TaskRunLog_CommandResponse `protobuf:"bytes,5,opt,name=command_response,json=commandResponse,proto3" json:"command_response,omitempty"`+ DatabaseSyncStart *TaskRunLog_DatabaseSyncStart `protobuf:"bytes,6,opt,name=database_sync_start,json=databaseSyncStart,proto3" json:"database_sync_start,omitempty"`+ DatabaseSyncEnd *TaskRunLog_DatabaseSyncEnd `protobuf:"bytes,7,opt,name=database_sync_end,json=databaseSyncEnd,proto3" json:"database_sync_end,omitempty"`+ TransactionControl *TaskRunLog_TransactionControl `protobuf:"bytes,9,opt,name=transaction_control,json=transactionControl,proto3" json:"transaction_control,omitempty"`+ PriorBackupStart *TaskRunLog_PriorBackupStart `protobuf:"bytes,10,opt,name=prior_backup_start,json=priorBackupStart,proto3" json:"prior_backup_start,omitempty"`+ PriorBackupEnd *TaskRunLog_PriorBackupEnd `protobuf:"bytes,11,opt,name=prior_backup_end,json=priorBackupEnd,proto3" json:"prior_backup_end,omitempty"`+ RetryInfo *TaskRunLog_RetryInfo `protobuf:"bytes,13,opt,name=retry_info,json=retryInfo,proto3" json:"retry_info,omitempty"`+ ComputeDiffStart *TaskRunLog_ComputeDiffStart `protobuf:"bytes,14,opt,name=compute_diff_start,json=computeDiffStart,proto3" json:"compute_diff_start,omitempty"`+ ComputeDiffEnd *TaskRunLog_ComputeDiffEnd `protobuf:"bytes,15,opt,name=compute_diff_end,json=computeDiffEnd,proto3" json:"compute_diff_end,omitempty"`+ ReleaseFileExecute *TaskRunLog_ReleaseFileExecute `protobuf:"bytes,16,opt,name=release_file_execute,json=releaseFileExecute,proto3" json:"release_file_execute,omitempty"`+ GhostMigrationStart *TaskRunLog_GhostMigrationStart `protobuf:"bytes,17,opt,name=ghost_migration_start,json=ghostMigrationStart,proto3" json:"ghost_migration_start,omitempty"`+ GhostMigrationEnd *TaskRunLog_GhostMigrationEnd `protobuf:"bytes,18,opt,name=ghost_migration_end,json=ghostMigrationEnd,proto3" json:"ghost_migration_end,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *TaskRunLog) Reset() {@@ -311,6 +319,20 @@ func (x *TaskRunLog) GetReleaseFileExecute() *TaskRunLog_ReleaseFileExecute {return nil}+func (x *TaskRunLog) GetGhostMigrationStart() *TaskRunLog_GhostMigrationStart {+ if x != nil {+ return x.GhostMigrationStart+ }+ return nil+}++func (x *TaskRunLog) GetGhostMigrationEnd() *TaskRunLog_GhostMigrationEnd {+ if x != nil {+ return x.GhostMigrationEnd+ }+ return nil+}+// PriorBackupDetail contains information about automatic backups created before migration.type PriorBackupDetail struct {state protoimpl.MessageState `protogen:"open.v1"`@@ -969,6 +991,86 @@ func (x *TaskRunLog_ReleaseFileExecute) GetFilePath() string {return ""}+type TaskRunLog_GhostMigrationStart struct {+ state protoimpl.MessageState `protogen:"open.v1"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache+}++func (x *TaskRunLog_GhostMigrationStart) Reset() {+ *x = TaskRunLog_GhostMigrationStart{}+ mi := &file_store_task_run_log_proto_msgTypes[15]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+}++func (x *TaskRunLog_GhostMigrationStart) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*TaskRunLog_GhostMigrationStart) ProtoMessage() {}++func (x *TaskRunLog_GhostMigrationStart) ProtoReflect() protoreflect.Message {+ mi := &file_store_task_run_log_proto_msgTypes[15]+ 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 TaskRunLog_GhostMigrationStart.ProtoReflect.Descriptor instead.+func (*TaskRunLog_GhostMigrationStart) Descriptor() ([]byte, []int) {+ return file_store_task_run_log_proto_rawDescGZIP(), []int{0, 13}+}++type TaskRunLog_GhostMigrationEnd struct {+ state protoimpl.MessageState `protogen:"open.v1"`+ Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache+}++func (x *TaskRunLog_GhostMigrationEnd) Reset() {+ *x = TaskRunLog_GhostMigrationEnd{}+ mi := &file_store_task_run_log_proto_msgTypes[16]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+}++func (x *TaskRunLog_GhostMigrationEnd) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*TaskRunLog_GhostMigrationEnd) ProtoMessage() {}++func (x *TaskRunLog_GhostMigrationEnd) ProtoReflect() protoreflect.Message {+ mi := &file_store_task_run_log_proto_msgTypes[16]+ 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 TaskRunLog_GhostMigrationEnd.ProtoReflect.Descriptor instead.+func (*TaskRunLog_GhostMigrationEnd) Descriptor() ([]byte, []int) {+ return file_store_task_run_log_proto_rawDescGZIP(), []int{0, 14}+}++func (x *TaskRunLog_GhostMigrationEnd) GetError() string {+ if x != nil {+ return x.Error+ }+ return ""+}+// Item represents a single backup operation for a table.type PriorBackupDetail_Item struct {state protoimpl.MessageState `protogen:"open.v1"`@@ -986,7 +1088,7 @@ type PriorBackupDetail_Item struct {func (x *PriorBackupDetail_Item) Reset() {*x = PriorBackupDetail_Item{}- mi := &file_store_task_run_log_proto_msgTypes[15]+ mi := &file_store_task_run_log_proto_msgTypes[17]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -998,7 +1100,7 @@ func (x *PriorBackupDetail_Item) String() string {func (*PriorBackupDetail_Item) ProtoMessage() {}func (x *PriorBackupDetail_Item) ProtoReflect() protoreflect.Message {- mi := &file_store_task_run_log_proto_msgTypes[15]+ mi := &file_store_task_run_log_proto_msgTypes[17]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1058,7 +1160,7 @@ type PriorBackupDetail_Item_Table struct {func (x *PriorBackupDetail_Item_Table) Reset() {*x = PriorBackupDetail_Item_Table{}- mi := &file_store_task_run_log_proto_msgTypes[16]+ mi := &file_store_task_run_log_proto_msgTypes[18]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1070,7 +1172,7 @@ func (x *PriorBackupDetail_Item_Table) String() string {func (*PriorBackupDetail_Item_Table) ProtoMessage() {}func (x *PriorBackupDetail_Item_Table) ProtoReflect() protoreflect.Message {- mi := &file_store_task_run_log_proto_msgTypes[16]+ mi := &file_store_task_run_log_proto_msgTypes[18]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1111,7 +1213,7 @@ var File_store_task_run_log_proto protoreflect.FileDescriptorconst file_store_task_run_log_proto_rawDesc = "" +"\n" +- "\x18store/task_run_log.proto\x12\x0ebytebase.store\x1a\x12store/common.proto\"\xa2\x13\n" ++ "\x18store/task_run_log.proto\x12\x0ebytebase.store\x1a\x12store/common.proto\"\xda\x15\n" +"\n" +"TaskRunLog\x123\n" +"\x04type\x18\x01 \x01(\x0e2\x1f.bytebase.store.TaskRunLog.TypeR\x04type\x12\x1d\n" +@@ -1131,7 +1233,9 @@ const file_store_task_run_log_proto_rawDesc = "" +"retry_info\x18\r \x01(\v2$.bytebase.store.TaskRunLog.RetryInfoR\tretryInfo\x12Y\n" +"\x12compute_diff_start\x18\x0e \x01(\v2+.bytebase.store.TaskRunLog.ComputeDiffStartR\x10computeDiffStart\x12S\n" +"\x10compute_diff_end\x18\x0f \x01(\v2).bytebase.store.TaskRunLog.ComputeDiffEndR\x0ecomputeDiffEnd\x12_\n" +- "\x14release_file_execute\x18\x10 \x01(\v2-.bytebase.store.TaskRunLog.ReleaseFileExecuteR\x12releaseFileExecute\x1a\x11\n" ++ "\x14release_file_execute\x18\x10 \x01(\v2-.bytebase.store.TaskRunLog.ReleaseFileExecuteR\x12releaseFileExecute\x12b\n" ++ "\x15ghost_migration_start\x18\x11 \x01(\v2..bytebase.store.TaskRunLog.GhostMigrationStartR\x13ghostMigrationStart\x12\\\n" ++ "\x13ghost_migration_end\x18\x12 \x01(\v2,.bytebase.store.TaskRunLog.GhostMigrationEndR\x11ghostMigrationEnd\x1a\x11\n" +"\x0fSchemaDumpStart\x1a%\n" +"\rSchemaDumpEnd\x12\x14\n" +"\x05error\x18\x01 \x01(\tR\x05error\x1a[\n" +@@ -1168,7 +1272,10 @@ const file_store_task_run_log_proto_rawDesc = "" +"\x05error\x18\x01 \x01(\tR\x05error\x1aK\n" +"\x12ReleaseFileExecute\x12\x18\n" +"\aversion\x18\x01 \x01(\tR\aversion\x12\x1b\n" +- "\tfile_path\x18\x02 \x01(\tR\bfilePath\"\xc2\x02\n" ++ "\tfile_path\x18\x02 \x01(\tR\bfilePath\x1a\x15\n" ++ "\x13GhostMigrationStart\x1a)\n" ++ "\x11GhostMigrationEnd\x12\x14\n" ++ "\x05error\x18\x01 \x01(\tR\x05error\"\xf6\x02\n" +"\x04Type\x12\x14\n" +"\x10TYPE_UNSPECIFIED\x10\x00\x12\x15\n" +"\x11SCHEMA_DUMP_START\x10\x01\x12\x13\n" +@@ -1185,7 +1292,9 @@ const file_store_task_run_log_proto_rawDesc = "" +"RETRY_INFO\x10\v\x12\x16\n" +"\x12COMPUTE_DIFF_START\x10\f\x12\x14\n" +"\x10COMPUTE_DIFF_END\x10\r\x12\x18\n" +- "\x14RELEASE_FILE_EXECUTE\x10\x0e\"\xcd\x03\n" ++ "\x14RELEASE_FILE_EXECUTE\x10\x0e\x12\x19\n" ++ "\x15GHOST_MIGRATION_START\x10\x0f\x12\x17\n" ++ "\x13GHOST_MIGRATION_END\x10\x10\"\xcd\x03\n" +"\x11PriorBackupDetail\x12<\n" +"\x05items\x18\x01 \x03(\v2&.bytebase.store.PriorBackupDetail.ItemR\x05items\x1a\xf9\x02\n" +"\x04Item\x12O\n" +@@ -1212,7 +1321,7 @@ func file_store_task_run_log_proto_rawDescGZIP() []byte {}var file_store_task_run_log_proto_enumTypes = make([]protoimpl.EnumInfo, 2)-var file_store_task_run_log_proto_msgTypes = make([]protoimpl.MessageInfo, 17)+var file_store_task_run_log_proto_msgTypes = make([]protoimpl.MessageInfo, 19)var file_store_task_run_log_proto_goTypes = []any{(TaskRunLog_Type)(0), // 0: bytebase.store.TaskRunLog.Type(TaskRunLog_TransactionControl_Type)(0), // 1: bytebase.store.TaskRunLog.TransactionControl.Type@@ -1231,10 +1340,12 @@ var file_store_task_run_log_proto_goTypes = []any{(*TaskRunLog_ComputeDiffStart)(nil), // 14: bytebase.store.TaskRunLog.ComputeDiffStart(*TaskRunLog_ComputeDiffEnd)(nil), // 15: bytebase.store.TaskRunLog.ComputeDiffEnd(*TaskRunLog_ReleaseFileExecute)(nil), // 16: bytebase.store.TaskRunLog.ReleaseFileExecute- (*PriorBackupDetail_Item)(nil), // 17: bytebase.store.PriorBackupDetail.Item- (*PriorBackupDetail_Item_Table)(nil), // 18: bytebase.store.PriorBackupDetail.Item.Table- (*Range)(nil), // 19: bytebase.store.Range- (*Position)(nil), // 20: bytebase.store.Position+ (*TaskRunLog_GhostMigrationStart)(nil), // 17: bytebase.store.TaskRunLog.GhostMigrationStart+ (*TaskRunLog_GhostMigrationEnd)(nil), // 18: bytebase.store.TaskRunLog.GhostMigrationEnd+ (*PriorBackupDetail_Item)(nil), // 19: bytebase.store.PriorBackupDetail.Item+ (*PriorBackupDetail_Item_Table)(nil), // 20: bytebase.store.PriorBackupDetail.Item.Table+ (*Range)(nil), // 21: bytebase.store.Range+ (*Position)(nil), // 22: bytebase.store.Position}var file_store_task_run_log_proto_depIdxs = []int32{0, // 0: bytebase.store.TaskRunLog.type:type_name -> bytebase.store.TaskRunLog.Type@@ -1251,19 +1362,21 @@ var file_store_task_run_log_proto_depIdxs = []int32{14, // 11: bytebase.store.TaskRunLog.compute_diff_start:type_name -> bytebase.store.TaskRunLog.ComputeDiffStart15, // 12: bytebase.store.TaskRunLog.compute_diff_end:type_name -> bytebase.store.TaskRunLog.ComputeDiffEnd16, // 13: bytebase.store.TaskRunLog.release_file_execute:type_name -> bytebase.store.TaskRunLog.ReleaseFileExecute- 17, // 14: bytebase.store.PriorBackupDetail.items:type_name -> bytebase.store.PriorBackupDetail.Item- 19, // 15: bytebase.store.TaskRunLog.CommandExecute.range:type_name -> bytebase.store.Range- 1, // 16: bytebase.store.TaskRunLog.TransactionControl.type:type_name -> bytebase.store.TaskRunLog.TransactionControl.Type- 3, // 17: bytebase.store.TaskRunLog.PriorBackupEnd.prior_backup_detail:type_name -> bytebase.store.PriorBackupDetail- 18, // 18: bytebase.store.PriorBackupDetail.Item.source_table:type_name -> bytebase.store.PriorBackupDetail.Item.Table- 18, // 19: bytebase.store.PriorBackupDetail.Item.target_table:type_name -> bytebase.store.PriorBackupDetail.Item.Table- 20, // 20: bytebase.store.PriorBackupDetail.Item.start_position:type_name -> bytebase.store.Position- 20, // 21: bytebase.store.PriorBackupDetail.Item.end_position:type_name -> bytebase.store.Position- 22, // [22:22] is the sub-list for method output_type- 22, // [22:22] is the sub-list for method input_type- 22, // [22:22] is the sub-list for extension type_name- 22, // [22:22] is the sub-list for extension extendee- 0, // [0:22] is the sub-list for field type_name+ 17, // 14: bytebase.store.TaskRunLog.ghost_migration_start:type_name -> bytebase.store.TaskRunLog.GhostMigrationStart+ 18, // 15: bytebase.store.TaskRunLog.ghost_migration_end:type_name -> bytebase.store.TaskRunLog.GhostMigrationEnd+ 19, // 16: bytebase.store.PriorBackupDetail.items:type_name -> bytebase.store.PriorBackupDetail.Item+ 21, // 17: bytebase.store.TaskRunLog.CommandExecute.range:type_name -> bytebase.store.Range+ 1, // 18: bytebase.store.TaskRunLog.TransactionControl.type:type_name -> bytebase.store.TaskRunLog.TransactionControl.Type+ 3, // 19: bytebase.store.TaskRunLog.PriorBackupEnd.prior_backup_detail:type_name -> bytebase.store.PriorBackupDetail+ 20, // 20: bytebase.store.PriorBackupDetail.Item.source_table:type_name -> bytebase.store.PriorBackupDetail.Item.Table+ 20, // 21: bytebase.store.PriorBackupDetail.Item.target_table:type_name -> bytebase.store.PriorBackupDetail.Item.Table+ 22, // 22: bytebase.store.PriorBackupDetail.Item.start_position:type_name -> bytebase.store.Position+ 22, // 23: bytebase.store.PriorBackupDetail.Item.end_position:type_name -> bytebase.store.Position+ 24, // [24:24] is the sub-list for method output_type+ 24, // [24:24] is the sub-list for method input_type+ 24, // [24:24] is the sub-list for extension type_name+ 24, // [24:24] is the sub-list for extension extendee+ 0, // [0:24] is the sub-list for field type_name}func init() { file_store_task_run_log_proto_init() }@@ -1278,7 +1391,7 @@ func file_store_task_run_log_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_task_run_log_proto_rawDesc), len(file_store_task_run_log_proto_rawDesc)),NumEnums: 2,- NumMessages: 17,+ NumMessages: 19,NumExtensions: 0,NumServices: 0,},diff --git a/backend/generated-go/store/task_run_log_equal.pb.go b/backend/generated-go/store/task_run_log_equal.pb.goindex 10d44536d6..d44193b120 100644--- a/backend/generated-go/store/task_run_log_equal.pb.go+++ b/backend/generated-go/store/task_run_log_equal.pb.go@@ -189,6 +189,29 @@ func (x *TaskRunLog_ReleaseFileExecute) Equal(y *TaskRunLog_ReleaseFileExecute)return true}+func (x *TaskRunLog_GhostMigrationStart) Equal(y *TaskRunLog_GhostMigrationStart) bool {+ if x == y {+ return true+ }+ if x == nil || y == nil {+ return x == nil && y == nil+ }+ return true+}++func (x *TaskRunLog_GhostMigrationEnd) Equal(y *TaskRunLog_GhostMigrationEnd) bool {+ if x == y {+ return true+ }+ if x == nil || y == nil {+ return x == nil && y == nil+ }+ if x.Error != y.Error {+ return false+ }+ return true+}+func (x *TaskRunLog) Equal(y *TaskRunLog) bool {if x == y {return true@@ -241,6 +264,12 @@ func (x *TaskRunLog) Equal(y *TaskRunLog) bool {if !x.ReleaseFileExecute.Equal(y.ReleaseFileExecute) {return false}+ if !x.GhostMigrationStart.Equal(y.GhostMigrationStart) {+ return false+ }+ if !x.GhostMigrationEnd.Equal(y.GhostMigrationEnd) {+ return false+ }return true}diff --git a/backend/generated-go/v1/rollout_service.pb.go b/backend/generated-go/v1/rollout_service.pb.goindex 89f86ec457..6740924297 100644--- a/backend/generated-go/v1/rollout_service.pb.go+++ b/backend/generated-go/v1/rollout_service.pb.go@@ -301,20 +301,23 @@ const (TaskRunLogEntry_COMPUTE_DIFF TaskRunLogEntry_Type = 8// Release file execution.TaskRunLogEntry_RELEASE_FILE_EXECUTE TaskRunLogEntry_Type = 9+ // gh-ost online migration.+ TaskRunLogEntry_GHOST_MIGRATION TaskRunLogEntry_Type = 10)// Enum value maps for TaskRunLogEntry_Type.var (TaskRunLogEntry_Type_name = map[int32]string{- 0: "TYPE_UNSPECIFIED",- 1: "SCHEMA_DUMP",- 2: "COMMAND_EXECUTE",- 3: "DATABASE_SYNC",- 5: "TRANSACTION_CONTROL",- 6: "PRIOR_BACKUP",- 7: "RETRY_INFO",- 8: "COMPUTE_DIFF",- 9: "RELEASE_FILE_EXECUTE",+ 0: "TYPE_UNSPECIFIED",+ 1: "SCHEMA_DUMP",+ 2: "COMMAND_EXECUTE",+ 3: "DATABASE_SYNC",+ 5: "TRANSACTION_CONTROL",+ 6: "PRIOR_BACKUP",+ 7: "RETRY_INFO",+ 8: "COMPUTE_DIFF",+ 9: "RELEASE_FILE_EXECUTE",+ 10: "GHOST_MIGRATION",}TaskRunLogEntry_Type_value = map[string]int32{"TYPE_UNSPECIFIED": 0,@@ -326,6 +329,7 @@ var ("RETRY_INFO": 7,"COMPUTE_DIFF": 8,"RELEASE_FILE_EXECUTE": 9,+ "GHOST_MIGRATION": 10,})@@ -1693,8 +1697,10 @@ type TaskRunLogEntry struct {ComputeDiff *TaskRunLogEntry_ComputeDiff `protobuf:"bytes,11,opt,name=compute_diff,json=computeDiff,proto3" json:"compute_diff,omitempty"`// Release file execution details (if type is RELEASE_FILE_EXECUTE).ReleaseFileExecute *TaskRunLogEntry_ReleaseFileExecute `protobuf:"bytes,12,opt,name=release_file_execute,json=releaseFileExecute,proto3" json:"release_file_execute,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ // gh-ost migration details (if type is GHOST_MIGRATION).+ GhostMigration *TaskRunLogEntry_GhostMigration `protobuf:"bytes,13,opt,name=ghost_migration,json=ghostMigration,proto3" json:"ghost_migration,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *TaskRunLogEntry) Reset() {@@ -1804,6 +1810,13 @@ func (x *TaskRunLogEntry) GetReleaseFileExecute() *TaskRunLogEntry_ReleaseFileExreturn nil}+func (x *TaskRunLogEntry) GetGhostMigration() *TaskRunLogEntry_GhostMigration {+ if x != nil {+ return x.GhostMigration+ }+ return nil+}+type GetTaskRunSessionRequest struct {state protoimpl.MessageState `protogen:"open.v1"`// Format: projects/{project}/plans/{plan}/rollout/stages/{stage}/tasks/{task}/taskRuns/{taskRun}@@ -2782,6 +2795,70 @@ func (x *TaskRunLogEntry_ComputeDiff) GetError() string {return ""}+// gh-ost migration details.+type TaskRunLogEntry_GhostMigration struct {+ state protoimpl.MessageState `protogen:"open.v1"`+ // When the gh-ost migration started.+ StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`+ // When the gh-ost migration ended.+ EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`+ // Error message if the gh-ost migration failed.+ Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache+}++func (x *TaskRunLogEntry_GhostMigration) Reset() {+ *x = TaskRunLogEntry_GhostMigration{}+ mi := &file_v1_rollout_service_proto_msgTypes[36]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+}++func (x *TaskRunLogEntry_GhostMigration) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*TaskRunLogEntry_GhostMigration) ProtoMessage() {}++func (x *TaskRunLogEntry_GhostMigration) ProtoReflect() protoreflect.Message {+ mi := &file_v1_rollout_service_proto_msgTypes[36]+ 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 TaskRunLogEntry_GhostMigration.ProtoReflect.Descriptor instead.+func (*TaskRunLogEntry_GhostMigration) Descriptor() ([]byte, []int) {+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 7}+}++func (x *TaskRunLogEntry_GhostMigration) GetStartTime() *timestamppb.Timestamp {+ if x != nil {+ return x.StartTime+ }+ return nil+}++func (x *TaskRunLogEntry_GhostMigration) GetEndTime() *timestamppb.Timestamp {+ if x != nil {+ return x.EndTime+ }+ return nil+}++func (x *TaskRunLogEntry_GhostMigration) GetError() string {+ if x != nil {+ return x.Error+ }+ return ""+}+// Release file execution details.type TaskRunLogEntry_ReleaseFileExecute struct {state protoimpl.MessageState `protogen:"open.v1"`@@ -2795,7 +2872,7 @@ type TaskRunLogEntry_ReleaseFileExecute struct {func (x *TaskRunLogEntry_ReleaseFileExecute) Reset() {*x = TaskRunLogEntry_ReleaseFileExecute{}- mi := &file_v1_rollout_service_proto_msgTypes[36]+ mi := &file_v1_rollout_service_proto_msgTypes[37]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2807,7 +2884,7 @@ func (x *TaskRunLogEntry_ReleaseFileExecute) String() string {func (*TaskRunLogEntry_ReleaseFileExecute) ProtoMessage() {}func (x *TaskRunLogEntry_ReleaseFileExecute) ProtoReflect() protoreflect.Message {- mi := &file_v1_rollout_service_proto_msgTypes[36]+ mi := &file_v1_rollout_service_proto_msgTypes[37]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2820,7 +2897,7 @@ func (x *TaskRunLogEntry_ReleaseFileExecute) ProtoReflect() protoreflect.Message// Deprecated: Use TaskRunLogEntry_ReleaseFileExecute.ProtoReflect.Descriptor instead.func (*TaskRunLogEntry_ReleaseFileExecute) Descriptor() ([]byte, []int) {- return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 7}+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{19, 8}}func (x *TaskRunLogEntry_ReleaseFileExecute) GetVersion() string {@@ -2855,7 +2932,7 @@ type TaskRunLogEntry_CommandExecute_CommandResponse struct {func (x *TaskRunLogEntry_CommandExecute_CommandResponse) Reset() {*x = TaskRunLogEntry_CommandExecute_CommandResponse{}- mi := &file_v1_rollout_service_proto_msgTypes[37]+ mi := &file_v1_rollout_service_proto_msgTypes[38]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2867,7 +2944,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[37]+ mi := &file_v1_rollout_service_proto_msgTypes[38]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2922,7 +2999,7 @@ type TaskRunLogEntry_PriorBackup_PriorBackupDetail struct {func (x *TaskRunLogEntry_PriorBackup_PriorBackupDetail) Reset() {*x = TaskRunLogEntry_PriorBackup_PriorBackupDetail{}- mi := &file_v1_rollout_service_proto_msgTypes[38]+ mi := &file_v1_rollout_service_proto_msgTypes[39]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2934,7 +3011,7 @@ func (x *TaskRunLogEntry_PriorBackup_PriorBackupDetail) String() string {func (*TaskRunLogEntry_PriorBackup_PriorBackupDetail) ProtoMessage() {}func (x *TaskRunLogEntry_PriorBackup_PriorBackupDetail) ProtoReflect() protoreflect.Message {- mi := &file_v1_rollout_service_proto_msgTypes[38]+ mi := &file_v1_rollout_service_proto_msgTypes[39]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2974,7 +3051,7 @@ type TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item struct {func (x *TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item) Reset() {*x = TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item{}- mi := &file_v1_rollout_service_proto_msgTypes[39]+ mi := &file_v1_rollout_service_proto_msgTypes[40]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2986,7 +3063,7 @@ func (x *TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item) String() string {func (*TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item) ProtoMessage() {}func (x *TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item) ProtoReflect() protoreflect.Message {- mi := &file_v1_rollout_service_proto_msgTypes[39]+ mi := &file_v1_rollout_service_proto_msgTypes[40]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3046,7 +3123,7 @@ type TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item_Table struct {func (x *TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item_Table) Reset() {*x = TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item_Table{}- mi := &file_v1_rollout_service_proto_msgTypes[40]+ mi := &file_v1_rollout_service_proto_msgTypes[41]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3058,7 +3135,7 @@ func (x *TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item_Table) String() strifunc (*TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item_Table) ProtoMessage() {}func (x *TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item_Table) ProtoReflect() protoreflect.Message {- mi := &file_v1_rollout_service_proto_msgTypes[40]+ mi := &file_v1_rollout_service_proto_msgTypes[41]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3110,7 +3187,7 @@ type TaskRunSession_Postgres struct {func (x *TaskRunSession_Postgres) Reset() {*x = TaskRunSession_Postgres{}- mi := &file_v1_rollout_service_proto_msgTypes[41]+ mi := &file_v1_rollout_service_proto_msgTypes[42]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3122,7 +3199,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[41]+ mi := &file_v1_rollout_service_proto_msgTypes[42]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3196,7 +3273,7 @@ type TaskRunSession_Postgres_Session struct {func (x *TaskRunSession_Postgres_Session) Reset() {*x = TaskRunSession_Postgres_Session{}- mi := &file_v1_rollout_service_proto_msgTypes[42]+ mi := &file_v1_rollout_service_proto_msgTypes[43]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3208,7 +3285,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[42]+ mi := &file_v1_rollout_service_proto_msgTypes[43]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3474,7 +3551,7 @@ const file_v1_rollout_service_proto_rawDesc = "" +"TaskRunLog\x12\x12\n" +"\x04name\x18\x01 \x01(\tR\x04name\x126\n" +"\aentries\x18\x02 \x03(\v2\x1c.bytebase.v1.TaskRunLogEntryR\aentries:x\xeaAu\n" +- "\x17bytebase.com/TaskRunLog\x12Zprojects/{project}/plans/{plan}/rollout/stages/{stage}/tasks/{task}/taskRuns/{taskRun}/log\"\xe5\x17\n" ++ "\x17bytebase.com/TaskRunLog\x12Zprojects/{project}/plans/{plan}/rollout/stages/{stage}/tasks/{task}/taskRuns/{taskRun}/log\"\xeb\x19\n" +"\x0fTaskRunLogEntry\x125\n" +"\x04type\x18\x01 \x01(\x0e2!.bytebase.v1.TaskRunLogEntry.TypeR\x04type\x125\n" +"\blog_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\alogTime\x12\x1d\n" +@@ -3490,7 +3567,8 @@ const file_v1_rollout_service_proto_rawDesc = "" +"retry_info\x18\n" +" \x01(\v2&.bytebase.v1.TaskRunLogEntry.RetryInfoR\tretryInfo\x12K\n" +"\fcompute_diff\x18\v \x01(\v2(.bytebase.v1.TaskRunLogEntry.ComputeDiffR\vcomputeDiff\x12a\n" +- "\x14release_file_execute\x18\f \x01(\v2/.bytebase.v1.TaskRunLogEntry.ReleaseFileExecuteR\x12releaseFileExecute\x1a\x94\x01\n" ++ "\x14release_file_execute\x18\f \x01(\v2/.bytebase.v1.TaskRunLogEntry.ReleaseFileExecuteR\x12releaseFileExecute\x12T\n" ++ "\x0fghost_migration\x18\r \x01(\v2+.bytebase.v1.TaskRunLogEntry.GhostMigrationR\x0eghostMigration\x1a\x94\x01\n" +"\n" +"SchemaDump\x129\n" +"\n" +@@ -3547,10 +3625,15 @@ const file_v1_rollout_service_proto_rawDesc = "" +"\n" +"start_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x125\n" +"\bend_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\aendTime\x12\x14\n" ++ "\x05error\x18\x03 \x01(\tR\x05error\x1a\x98\x01\n" ++ "\x0eGhostMigration\x129\n" ++ "\n" ++ "start_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x125\n" ++ "\bend_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\aendTime\x12\x14\n" +"\x05error\x18\x03 \x01(\tR\x05error\x1aK\n" +"\x12ReleaseFileExecute\x12\x18\n" +"\aversion\x18\x01 \x01(\tR\aversion\x12\x1b\n" +- "\tfile_path\x18\x02 \x01(\tR\bfilePath\"\xbc\x01\n" ++ "\tfile_path\x18\x02 \x01(\tR\bfilePath\"\xd1\x01\n" +"\x04Type\x12\x14\n" +"\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n" +"\vSCHEMA_DUMP\x10\x01\x12\x13\n" +@@ -3561,7 +3644,9 @@ const file_v1_rollout_service_proto_rawDesc = "" +"\n" +"RETRY_INFO\x10\a\x12\x10\n" +"\fCOMPUTE_DIFF\x10\b\x12\x18\n" +- "\x14RELEASE_FILE_EXECUTE\x10\t\"P\n" ++ "\x14RELEASE_FILE_EXECUTE\x10\t\x12\x13\n" ++ "\x0fGHOST_MIGRATION\x10\n" ++ "\"P\n" +"\x18GetTaskRunSessionRequest\x124\n" +"\x06parent\x18\x01 \x01(\tB\x1c\xe0A\x02\xfaA\x16\n" +"\x14bytebase.com/TaskRunR\x06parent\"\xc3\t\n" +@@ -3640,7 +3725,7 @@ func file_v1_rollout_service_proto_rawDescGZIP() []byte {}var file_v1_rollout_service_proto_enumTypes = make([]protoimpl.EnumInfo, 6)-var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 43)+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@@ -3684,42 +3769,43 @@ var file_v1_rollout_service_proto_goTypes = []any{(*TaskRunLogEntry_PriorBackup)(nil), // 39: bytebase.v1.TaskRunLogEntry.PriorBackup(*TaskRunLogEntry_RetryInfo)(nil), // 40: bytebase.v1.TaskRunLogEntry.RetryInfo(*TaskRunLogEntry_ComputeDiff)(nil), // 41: bytebase.v1.TaskRunLogEntry.ComputeDiff- (*TaskRunLogEntry_ReleaseFileExecute)(nil), // 42: bytebase.v1.TaskRunLogEntry.ReleaseFileExecute- (*TaskRunLogEntry_CommandExecute_CommandResponse)(nil), // 43: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse- (*TaskRunLogEntry_PriorBackup_PriorBackupDetail)(nil), // 44: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail- (*TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item)(nil), // 45: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item- (*TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item_Table)(nil), // 46: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.Table- (*TaskRunSession_Postgres)(nil), // 47: bytebase.v1.TaskRunSession.Postgres- (*TaskRunSession_Postgres_Session)(nil), // 48: bytebase.v1.TaskRunSession.Postgres.Session- (*timestamppb.Timestamp)(nil), // 49: google.protobuf.Timestamp- (*Range)(nil), // 50: bytebase.v1.Range- (*Position)(nil), // 51: bytebase.v1.Position+ (*TaskRunLogEntry_GhostMigration)(nil), // 42: bytebase.v1.TaskRunLogEntry.GhostMigration+ (*TaskRunLogEntry_ReleaseFileExecute)(nil), // 43: bytebase.v1.TaskRunLogEntry.ReleaseFileExecute+ (*TaskRunLogEntry_CommandExecute_CommandResponse)(nil), // 44: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse+ (*TaskRunLogEntry_PriorBackup_PriorBackupDetail)(nil), // 45: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail+ (*TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item)(nil), // 46: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item+ (*TaskRunLogEntry_PriorBackup_PriorBackupDetail_Item_Table)(nil), // 47: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.Table+ (*TaskRunSession_Postgres)(nil), // 48: bytebase.v1.TaskRunSession.Postgres+ (*TaskRunSession_Postgres_Session)(nil), // 49: bytebase.v1.TaskRunSession.Postgres.Session+ (*timestamppb.Timestamp)(nil), // 50: google.protobuf.Timestamp+ (*Range)(nil), // 51: bytebase.v1.Range+ (*Position)(nil), // 52: bytebase.v1.Position}var file_v1_rollout_service_proto_depIdxs = []int32{- 49, // 0: bytebase.v1.BatchRunTasksRequest.run_time:type_name -> google.protobuf.Timestamp+ 50, // 0: bytebase.v1.BatchRunTasksRequest.run_time:type_name -> google.protobuf.Timestamp20, // 1: bytebase.v1.ListRolloutsResponse.rollouts:type_name -> bytebase.v1.Rollout23, // 2: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun21, // 3: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage- 49, // 4: bytebase.v1.Rollout.create_time:type_name -> google.protobuf.Timestamp- 49, // 5: bytebase.v1.Rollout.update_time:type_name -> google.protobuf.Timestamp+ 50, // 4: bytebase.v1.Rollout.create_time:type_name -> google.protobuf.Timestamp+ 50, // 5: bytebase.v1.Rollout.update_time:type_name -> google.protobuf.Timestamp22, // 6: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task0, // 7: bytebase.v1.Task.status:type_name -> bytebase.v1.Task.Status1, // 8: bytebase.v1.Task.type:type_name -> bytebase.v1.Task.Type30, // 9: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate31, // 10: bytebase.v1.Task.database_update:type_name -> bytebase.v1.Task.DatabaseUpdate32, // 11: bytebase.v1.Task.database_data_export:type_name -> bytebase.v1.Task.DatabaseDataExport- 49, // 12: bytebase.v1.Task.update_time:type_name -> google.protobuf.Timestamp- 49, // 13: bytebase.v1.Task.run_time:type_name -> google.protobuf.Timestamp- 49, // 14: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp- 49, // 15: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp+ 50, // 12: bytebase.v1.Task.update_time:type_name -> google.protobuf.Timestamp+ 50, // 13: bytebase.v1.Task.run_time:type_name -> google.protobuf.Timestamp+ 50, // 14: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp+ 50, // 15: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp2, // 16: bytebase.v1.TaskRun.status:type_name -> bytebase.v1.TaskRun.Status- 49, // 17: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp+ 50, // 17: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp3, // 18: bytebase.v1.TaskRun.export_archive_status:type_name -> bytebase.v1.TaskRun.ExportArchiveStatus33, // 19: bytebase.v1.TaskRun.scheduler_info:type_name -> bytebase.v1.TaskRun.SchedulerInfo- 49, // 20: bytebase.v1.TaskRun.run_time:type_name -> google.protobuf.Timestamp+ 50, // 20: bytebase.v1.TaskRun.run_time:type_name -> google.protobuf.Timestamp25, // 21: bytebase.v1.TaskRunLog.entries:type_name -> bytebase.v1.TaskRunLogEntry4, // 22: bytebase.v1.TaskRunLogEntry.type:type_name -> bytebase.v1.TaskRunLogEntry.Type- 49, // 23: bytebase.v1.TaskRunLogEntry.log_time:type_name -> google.protobuf.Timestamp+ 50, // 23: bytebase.v1.TaskRunLogEntry.log_time:type_name -> google.protobuf.Timestamp35, // 24: bytebase.v1.TaskRunLogEntry.schema_dump:type_name -> bytebase.v1.TaskRunLogEntry.SchemaDump36, // 25: bytebase.v1.TaskRunLogEntry.command_execute:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute37, // 26: bytebase.v1.TaskRunLogEntry.database_sync:type_name -> bytebase.v1.TaskRunLogEntry.DatabaseSync@@ -3727,62 +3813,65 @@ var file_v1_rollout_service_proto_depIdxs = []int32{39, // 28: bytebase.v1.TaskRunLogEntry.prior_backup:type_name -> bytebase.v1.TaskRunLogEntry.PriorBackup40, // 29: bytebase.v1.TaskRunLogEntry.retry_info:type_name -> bytebase.v1.TaskRunLogEntry.RetryInfo41, // 30: bytebase.v1.TaskRunLogEntry.compute_diff:type_name -> bytebase.v1.TaskRunLogEntry.ComputeDiff- 42, // 31: bytebase.v1.TaskRunLogEntry.release_file_execute:type_name -> bytebase.v1.TaskRunLogEntry.ReleaseFileExecute- 47, // 32: bytebase.v1.TaskRunSession.postgres:type_name -> bytebase.v1.TaskRunSession.Postgres- 49, // 33: bytebase.v1.TaskRun.SchedulerInfo.report_time:type_name -> google.protobuf.Timestamp- 34, // 34: bytebase.v1.TaskRun.SchedulerInfo.waiting_cause:type_name -> bytebase.v1.TaskRun.SchedulerInfo.WaitingCause- 49, // 35: bytebase.v1.TaskRunLogEntry.SchemaDump.start_time:type_name -> google.protobuf.Timestamp- 49, // 36: bytebase.v1.TaskRunLogEntry.SchemaDump.end_time:type_name -> google.protobuf.Timestamp- 49, // 37: bytebase.v1.TaskRunLogEntry.CommandExecute.log_time:type_name -> google.protobuf.Timestamp- 50, // 38: bytebase.v1.TaskRunLogEntry.CommandExecute.range:type_name -> bytebase.v1.Range- 43, // 39: bytebase.v1.TaskRunLogEntry.CommandExecute.response:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse- 49, // 40: bytebase.v1.TaskRunLogEntry.DatabaseSync.start_time:type_name -> google.protobuf.Timestamp- 49, // 41: bytebase.v1.TaskRunLogEntry.DatabaseSync.end_time:type_name -> google.protobuf.Timestamp- 5, // 42: bytebase.v1.TaskRunLogEntry.TransactionControl.type:type_name -> bytebase.v1.TaskRunLogEntry.TransactionControl.Type- 49, // 43: bytebase.v1.TaskRunLogEntry.PriorBackup.start_time:type_name -> google.protobuf.Timestamp- 49, // 44: bytebase.v1.TaskRunLogEntry.PriorBackup.end_time:type_name -> google.protobuf.Timestamp- 44, // 45: bytebase.v1.TaskRunLogEntry.PriorBackup.prior_backup_detail:type_name -> bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail- 49, // 46: bytebase.v1.TaskRunLogEntry.ComputeDiff.start_time:type_name -> google.protobuf.Timestamp- 49, // 47: bytebase.v1.TaskRunLogEntry.ComputeDiff.end_time:type_name -> google.protobuf.Timestamp- 49, // 48: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.log_time:type_name -> google.protobuf.Timestamp- 45, // 49: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.items:type_name -> bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item- 46, // 50: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.source_table:type_name -> bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.Table- 46, // 51: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.target_table:type_name -> bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.Table- 51, // 52: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.start_position:type_name -> bytebase.v1.Position- 51, // 53: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.end_position:type_name -> bytebase.v1.Position- 48, // 54: bytebase.v1.TaskRunSession.Postgres.session:type_name -> bytebase.v1.TaskRunSession.Postgres.Session- 48, // 55: bytebase.v1.TaskRunSession.Postgres.blocking_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session- 48, // 56: bytebase.v1.TaskRunSession.Postgres.blocked_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session- 49, // 57: bytebase.v1.TaskRunSession.Postgres.Session.backend_start:type_name -> google.protobuf.Timestamp- 49, // 58: bytebase.v1.TaskRunSession.Postgres.Session.xact_start:type_name -> google.protobuf.Timestamp- 49, // 59: bytebase.v1.TaskRunSession.Postgres.Session.query_start:type_name -> google.protobuf.Timestamp- 12, // 60: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest- 13, // 61: bytebase.v1.RolloutService.ListRollouts:input_type -> bytebase.v1.ListRolloutsRequest- 15, // 62: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest- 16, // 63: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest- 18, // 64: bytebase.v1.RolloutService.GetTaskRun:input_type -> bytebase.v1.GetTaskRunRequest- 19, // 65: bytebase.v1.RolloutService.GetTaskRunLog:input_type -> bytebase.v1.GetTaskRunLogRequest- 26, // 66: bytebase.v1.RolloutService.GetTaskRunSession:input_type -> bytebase.v1.GetTaskRunSessionRequest- 6, // 67: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest- 8, // 68: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest- 10, // 69: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest- 28, // 70: bytebase.v1.RolloutService.PreviewTaskRunRollback:input_type -> bytebase.v1.PreviewTaskRunRollbackRequest- 20, // 71: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout- 14, // 72: bytebase.v1.RolloutService.ListRollouts:output_type -> bytebase.v1.ListRolloutsResponse- 20, // 73: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout- 17, // 74: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse- 23, // 75: bytebase.v1.RolloutService.GetTaskRun:output_type -> bytebase.v1.TaskRun- 24, // 76: bytebase.v1.RolloutService.GetTaskRunLog:output_type -> bytebase.v1.TaskRunLog- 27, // 77: bytebase.v1.RolloutService.GetTaskRunSession:output_type -> bytebase.v1.TaskRunSession- 7, // 78: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse- 9, // 79: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse- 11, // 80: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse- 29, // 81: bytebase.v1.RolloutService.PreviewTaskRunRollback:output_type -> bytebase.v1.PreviewTaskRunRollbackResponse- 71, // [71:82] is the sub-list for method output_type- 60, // [60:71] is the sub-list for method input_type- 60, // [60:60] is the sub-list for extension type_name- 60, // [60:60] is the sub-list for extension extendee- 0, // [0:60] is the sub-list for field type_name+ 43, // 31: bytebase.v1.TaskRunLogEntry.release_file_execute:type_name -> bytebase.v1.TaskRunLogEntry.ReleaseFileExecute+ 42, // 32: bytebase.v1.TaskRunLogEntry.ghost_migration:type_name -> bytebase.v1.TaskRunLogEntry.GhostMigration+ 48, // 33: bytebase.v1.TaskRunSession.postgres:type_name -> bytebase.v1.TaskRunSession.Postgres+ 50, // 34: bytebase.v1.TaskRun.SchedulerInfo.report_time:type_name -> google.protobuf.Timestamp+ 34, // 35: bytebase.v1.TaskRun.SchedulerInfo.waiting_cause:type_name -> bytebase.v1.TaskRun.SchedulerInfo.WaitingCause+ 50, // 36: bytebase.v1.TaskRunLogEntry.SchemaDump.start_time:type_name -> google.protobuf.Timestamp+ 50, // 37: bytebase.v1.TaskRunLogEntry.SchemaDump.end_time:type_name -> google.protobuf.Timestamp+ 50, // 38: bytebase.v1.TaskRunLogEntry.CommandExecute.log_time:type_name -> google.protobuf.Timestamp+ 51, // 39: bytebase.v1.TaskRunLogEntry.CommandExecute.range:type_name -> bytebase.v1.Range+ 44, // 40: bytebase.v1.TaskRunLogEntry.CommandExecute.response:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse+ 50, // 41: bytebase.v1.TaskRunLogEntry.DatabaseSync.start_time:type_name -> google.protobuf.Timestamp+ 50, // 42: bytebase.v1.TaskRunLogEntry.DatabaseSync.end_time:type_name -> google.protobuf.Timestamp+ 5, // 43: bytebase.v1.TaskRunLogEntry.TransactionControl.type:type_name -> bytebase.v1.TaskRunLogEntry.TransactionControl.Type+ 50, // 44: bytebase.v1.TaskRunLogEntry.PriorBackup.start_time:type_name -> google.protobuf.Timestamp+ 50, // 45: bytebase.v1.TaskRunLogEntry.PriorBackup.end_time:type_name -> google.protobuf.Timestamp+ 45, // 46: bytebase.v1.TaskRunLogEntry.PriorBackup.prior_backup_detail:type_name -> bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail+ 50, // 47: bytebase.v1.TaskRunLogEntry.ComputeDiff.start_time:type_name -> google.protobuf.Timestamp+ 50, // 48: bytebase.v1.TaskRunLogEntry.ComputeDiff.end_time:type_name -> google.protobuf.Timestamp+ 50, // 49: bytebase.v1.TaskRunLogEntry.GhostMigration.start_time:type_name -> google.protobuf.Timestamp+ 50, // 50: bytebase.v1.TaskRunLogEntry.GhostMigration.end_time:type_name -> google.protobuf.Timestamp+ 50, // 51: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.log_time:type_name -> google.protobuf.Timestamp+ 46, // 52: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.items:type_name -> bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item+ 47, // 53: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.source_table:type_name -> bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.Table+ 47, // 54: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.target_table:type_name -> bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.Table+ 52, // 55: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.start_position:type_name -> bytebase.v1.Position+ 52, // 56: bytebase.v1.TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item.end_position:type_name -> bytebase.v1.Position+ 49, // 57: bytebase.v1.TaskRunSession.Postgres.session:type_name -> bytebase.v1.TaskRunSession.Postgres.Session+ 49, // 58: bytebase.v1.TaskRunSession.Postgres.blocking_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session+ 49, // 59: bytebase.v1.TaskRunSession.Postgres.blocked_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session+ 50, // 60: bytebase.v1.TaskRunSession.Postgres.Session.backend_start:type_name -> google.protobuf.Timestamp+ 50, // 61: bytebase.v1.TaskRunSession.Postgres.Session.xact_start:type_name -> google.protobuf.Timestamp+ 50, // 62: bytebase.v1.TaskRunSession.Postgres.Session.query_start:type_name -> google.protobuf.Timestamp+ 12, // 63: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest+ 13, // 64: bytebase.v1.RolloutService.ListRollouts:input_type -> bytebase.v1.ListRolloutsRequest+ 15, // 65: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest+ 16, // 66: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest+ 18, // 67: bytebase.v1.RolloutService.GetTaskRun:input_type -> bytebase.v1.GetTaskRunRequest+ 19, // 68: bytebase.v1.RolloutService.GetTaskRunLog:input_type -> bytebase.v1.GetTaskRunLogRequest+ 26, // 69: bytebase.v1.RolloutService.GetTaskRunSession:input_type -> bytebase.v1.GetTaskRunSessionRequest+ 6, // 70: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest+ 8, // 71: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest+ 10, // 72: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest+ 28, // 73: bytebase.v1.RolloutService.PreviewTaskRunRollback:input_type -> bytebase.v1.PreviewTaskRunRollbackRequest+ 20, // 74: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout+ 14, // 75: bytebase.v1.RolloutService.ListRollouts:output_type -> bytebase.v1.ListRolloutsResponse+ 20, // 76: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout+ 17, // 77: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse+ 23, // 78: bytebase.v1.RolloutService.GetTaskRun:output_type -> bytebase.v1.TaskRun+ 24, // 79: bytebase.v1.RolloutService.GetTaskRunLog:output_type -> bytebase.v1.TaskRunLog+ 27, // 80: bytebase.v1.RolloutService.GetTaskRunSession:output_type -> bytebase.v1.TaskRunSession+ 7, // 81: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse+ 9, // 82: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse+ 11, // 83: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse+ 29, // 84: bytebase.v1.RolloutService.PreviewTaskRunRollback:output_type -> bytebase.v1.PreviewTaskRunRollbackResponse+ 74, // [74:85] is the sub-list for method output_type+ 63, // [63:74] is the sub-list for method input_type+ 63, // [63:63] is the sub-list for extension type_name+ 63, // [63:63] is the sub-list for extension extendee+ 0, // [0:63] is the sub-list for field type_name}func init() { file_v1_rollout_service_proto_init() }@@ -3810,14 +3899,14 @@ func file_v1_rollout_service_proto_init() {file_v1_rollout_service_proto_msgTypes[28].OneofWrappers = []any{(*TaskRun_SchedulerInfo_WaitingCause_ParallelTasksLimit)(nil),}- file_v1_rollout_service_proto_msgTypes[42].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: 6,- NumMessages: 43,+ NumMessages: 44,NumExtensions: 0,NumServices: 1,},diff --git a/backend/generated-go/v1/rollout_service_equal.pb.go b/backend/generated-go/v1/rollout_service_equal.pb.goindex 32d848964d..43aa15e460 100644--- a/backend/generated-go/v1/rollout_service_equal.pb.go+++ b/backend/generated-go/v1/rollout_service_equal.pb.go@@ -691,6 +691,25 @@ func (x *TaskRunLogEntry_ComputeDiff) Equal(y *TaskRunLogEntry_ComputeDiff) boolreturn true}+func (x *TaskRunLogEntry_GhostMigration) Equal(y *TaskRunLogEntry_GhostMigration) bool {+ if x == y {+ return true+ }+ if x == nil || y == nil {+ return x == nil && y == nil+ }+ if p, q := x.StartTime, y.StartTime; (p == nil && q != nil) || (p != nil && (q == nil || p.Seconds != q.Seconds || p.Nanos != q.Nanos)) {+ return false+ }+ if p, q := x.EndTime, y.EndTime; (p == nil && q != nil) || (p != nil && (q == nil || p.Seconds != q.Seconds || p.Nanos != q.Nanos)) {+ return false+ }+ if x.Error != y.Error {+ return false+ }+ return true+}+func (x *TaskRunLogEntry_ReleaseFileExecute) Equal(y *TaskRunLogEntry_ReleaseFileExecute) bool {if x == y {return true@@ -747,6 +766,9 @@ func (x *TaskRunLogEntry) Equal(y *TaskRunLogEntry) bool {if !x.ReleaseFileExecute.Equal(y.ReleaseFileExecute) {return false}+ if !x.GhostMigration.Equal(y.GhostMigration) {+ return false+ }return true}diff --git a/backend/plugin/db/driver.go b/backend/plugin/db/driver.goindex e918994786..5de62f5179 100644--- a/backend/plugin/db/driver.go+++ b/backend/plugin/db/driver.go@@ -322,6 +322,34 @@ func (o *ExecuteOptions) LogCommandResponse(affectedRows int64, allAffectedRows}}+func (o *ExecuteOptions) LogGhostMigrationStart() {+ if o == nil || o.CreateTaskRunLog == nil {+ return+ }+ err := o.CreateTaskRunLog(time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_GHOST_MIGRATION_START,+ GhostMigrationStart: &storepb.TaskRunLog_GhostMigrationStart{},+ })+ if err != nil {+ slog.Warn("failed to log gh-ost migration start", log.BBError(err))+ }+}++func (o *ExecuteOptions) LogGhostMigrationEnd(rerr string) {+ if o == nil || o.CreateTaskRunLog == nil {+ return+ }+ err := o.CreateTaskRunLog(time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_GHOST_MIGRATION_END,+ GhostMigrationEnd: &storepb.TaskRunLog_GhostMigrationEnd{+ Error: rerr,+ },+ })+ if err != nil {+ slog.Warn("failed to log gh-ost migration end", log.BBError(err))+ }+}+func (o *ExecuteOptions) LogRetryInfo(err error, retryCount int) {if o == nil || o.CreateTaskRunLog == nil {returndiff --git a/backend/runner/taskrun/database_migrate_executor.go b/backend/runner/taskrun/database_migrate_executor.goindex f177ed192b..6738dcd4ad 100644--- a/backend/runner/taskrun/database_migrate_executor.go+++ b/backend/runner/taskrun/database_migrate_executor.go@@ -8,6 +8,7 @@ import ("time""github.com/bytebase/omni/pg/ast"+ ghostbase "github.com/github/gh-ost/go/base""github.com/github/gh-ost/go/logic"gomysql "github.com/go-sql-driver/mysql""github.com/pkg/errors"@@ -290,7 +291,7 @@ func (exec *DatabaseMigrateExecutor) runStandardMigration(ctx context.Context, d}, nil}-func executeGhostMigration(ctx context.Context, driverCtx context.Context, task *store.TaskMessage, sheet *store.SheetMessage, instance *store.InstanceMessage, database *store.DatabaseMessage, driver db.Driver) error {+func executeGhostMigration(ctx context.Context, driverCtx context.Context, task *store.TaskMessage, sheet *store.SheetMessage, instance *store.InstanceMessage, database *store.DatabaseMessage, driver db.Driver, opts *db.ExecuteOptions) error {flags, err := ghost.ParseGhostDirective(sheet.Statement)if err != nil {return errors.Wrapf(err, "failed to parse ghost directive")@@ -335,6 +336,7 @@ func executeGhostMigration(ctx context.Context, driverCtx context.Context, task// set buffer size to 1 to unblock the sender because there is no listener if the task is canceled.migrationError := make(chan error, 1)migrator := logic.NewMigrator(migrationContext, "bb")+ opts.LogGhostMigrationStart()defer func() {cleanupCtx := context.Background()@@ -364,10 +366,21 @@ func executeGhostMigration(ctx context.Context, driverCtx context.Context, taskselect {case err := <-migrationError:- return err+ if err != nil {+ opts.LogGhostMigrationEnd(err.Error())+ return err+ }+ opts.LogGhostMigrationEnd("")+ return nilcase <-driverCtx.Done():- migrationContext.PanicAbort <- errors.New("task canceled")- return errors.New("task canceled")+ err := errors.New("task canceled")+ opts.LogGhostMigrationEnd(err.Error())+ abortCtx, cancel := context.WithTimeout(context.Background(), time.Second)+ defer cancel()+ if sendErr := ghostbase.SendWithContext(abortCtx, migrationContext.PanicAbort, err); sendErr != nil {+ slog.Warn("failed to abort gh-ost migration", log.BBError(sendErr))+ }+ return err}}@@ -406,7 +419,7 @@ func (exec *DatabaseMigrateExecutor) runGhostMigration(ctx context.Context, drivreturn nil, errors.Wrapf(err, "failed to create changelog")}- migrationErr := executeGhostMigration(ctx, driverCtx, task, sheet, instance, database, driver)+ migrationErr := executeGhostMigration(ctx, driverCtx, task, sheet, instance, database, driver, &opts)// Dump after migration and update changelogupdate := &store.UpdateChangelogMessage{@@ -527,7 +540,7 @@ func (exec *DatabaseMigrateExecutor) runVersionedRelease(ctx context.Context, dr// Execute the SQL.if ghost.IsGhostEnabled(sheet.Statement) {- err = executeGhostMigration(ctx, driverCtx, task, sheet, instance, database, driver)+ err = executeGhostMigration(ctx, driverCtx, task, sheet, instance, database, driver, &opts)} else {slog.Debug("Start migration...",slog.String("instance", database.InstanceID),diff --git a/backend/tests/ghost_test.go b/backend/tests/ghost_test.goindex ec260dc595..802ad648dd 100644--- a/backend/tests/ghost_test.go+++ b/backend/tests/ghost_test.go@@ -24,6 +24,7 @@ const ();`mysqlGhostMigrationStatement = `+ -- gh-ost = {}ALTER TABLE book ADD author VARCHAR(54)`)@@ -119,11 +120,48 @@ func TestGhostSchemaUpdate(t *testing.T) {a.NoError(err)sheet2 := sheet2Response.Msg- err = ctl.changeDatabase(ctx, ctl.project, database, sheet2, true)+ rollout, err := ctl.changeDatabaseAndReturnRollout(ctx, ctl.project, database, sheet2)a.NoError(err)dbMetadataResponse, err = ctl.databaseServiceClient.GetDatabaseSchema(ctx, connect.NewRequest(&v1pb.GetDatabaseSchemaRequest{Name: fmt.Sprintf("%s/schema", database.Name)}))a.NoError(err)dbMetadata = dbMetadataResponse.Msga.Equal(wantDBSchema2, dbMetadata.Schema)++ var taskRunName string+ for _, stage := range rollout.Stages {+ for _, task := range stage.Tasks {+ taskRunsResp, err := ctl.rolloutServiceClient.ListTaskRuns(ctx, connect.NewRequest(&v1pb.ListTaskRunsRequest{+ Parent: task.Name,+ }))+ a.NoError(err)+ if len(taskRunsResp.Msg.TaskRuns) > 0 {+ taskRunName = taskRunsResp.Msg.TaskRuns[0].Name+ }+ }+ }+ a.NotEmpty(taskRunName)++ logResp, err := ctl.rolloutServiceClient.GetTaskRunLog(ctx, connect.NewRequest(&v1pb.GetTaskRunLogRequest{+ Parent: taskRunName,+ }))+ a.NoError(err)++ var ghostEntry *v1pb.TaskRunLogEntry+ var databaseSyncEntry *v1pb.TaskRunLogEntry+ for _, entry := range logResp.Msg.Entries {+ switch entry.Type {+ case v1pb.TaskRunLogEntry_GHOST_MIGRATION:+ ghostEntry = entry+ case v1pb.TaskRunLogEntry_DATABASE_SYNC:+ databaseSyncEntry = entry+ default:+ }+ }+ a.NotNil(ghostEntry)+ a.NotNil(ghostEntry.GetGhostMigration())+ a.NotNil(ghostEntry.GetGhostMigration().StartTime)+ a.NotNil(ghostEntry.GetGhostMigration().EndTime)+ a.Empty(ghostEntry.GetGhostMigration().Error)+ a.NotNil(databaseSyncEntry)}diff --git a/backend/tests/rollout.go b/backend/tests/rollout.goindex ec0e119f1a..64ee7475fd 100644--- a/backend/tests/rollout.go+++ b/backend/tests/rollout.go@@ -14,6 +14,11 @@ import ()func (ctl *controller) changeDatabase(ctx context.Context, project *v1pb.Project, database *v1pb.Database, sheet *v1pb.Sheet, _ bool) error {+ _, err := ctl.changeDatabaseAndReturnRollout(ctx, project, database, sheet)+ return err+}++func (ctl *controller) changeDatabaseAndReturnRollout(ctx context.Context, project *v1pb.Project, database *v1pb.Database, sheet *v1pb.Sheet) (*v1pb.Rollout, error) {spec := &v1pb.Plan_Spec{Id: uuid.NewString(),Config: &v1pb.Plan_Spec_ChangeDatabaseConfig{@@ -23,10 +28,15 @@ func (ctl *controller) changeDatabase(ctx context.Context, project *v1pb.Project},},}- return ctl.changeDatabaseWithConfig(ctx, project, spec)+ return ctl.changeDatabaseWithConfigAndReturnRollout(ctx, project, spec)}func (ctl *controller) changeDatabaseWithConfig(ctx context.Context, project *v1pb.Project, spec *v1pb.Plan_Spec) error {+ _, err := ctl.changeDatabaseWithConfigAndReturnRollout(ctx, project, spec)+ return err+}++func (ctl *controller) changeDatabaseWithConfigAndReturnRollout(ctx context.Context, project *v1pb.Project, spec *v1pb.Plan_Spec) (*v1pb.Rollout, error) {planResp, err := ctl.planServiceClient.CreatePlan(ctx, connect.NewRequest(&v1pb.CreatePlanRequest{Parent: project.Name,Plan: &v1pb.Plan{@@ -34,7 +44,7 @@ func (ctl *controller) changeDatabaseWithConfig(ctx context.Context, project *v1},}))if err != nil {- return errors.Wrapf(err, "failed to create plan")+ return nil, errors.Wrapf(err, "failed to create plan")}plan := planResp.MsgissueResp, err := ctl.issueServiceClient.CreateIssue(ctx, connect.NewRequest(&v1pb.CreateIssueRequest{@@ -47,15 +57,18 @@ func (ctl *controller) changeDatabaseWithConfig(ctx context.Context, project *v1},}))if err != nil {- return errors.Wrapf(err, "failed to create issue")+ return nil, errors.Wrapf(err, "failed to create issue")}issue := issueResp.MsgrolloutResp, err := ctl.rolloutServiceClient.CreateRollout(ctx, connect.NewRequest(&v1pb.CreateRolloutRequest{Parent: plan.Name}))if err != nil {- return errors.Wrapf(err, "failed to create rollout")+ return nil, errors.Wrapf(err, "failed to create rollout")}rollout := rolloutResp.Msg- return ctl.waitRollout(ctx, issue.Name, rollout.Name)+ if err := ctl.waitRollout(ctx, issue.Name, rollout.Name); err != nil {+ return nil, err+ }+ return rollout, nil}// waitRollout waits for pipeline to finish and approves tasks when necessary.diff --git a/docs/superpowers/plans/2026-05-08-ghost-task-run-log.md b/docs/superpowers/plans/2026-05-08-ghost-task-run-log.mdnew file mode 100644index 0000000000..6a05559a29--- /dev/null+++ b/docs/superpowers/plans/2026-05-08-ghost-task-run-log.md@@ -0,0 +1,808 @@+# gh-ost Task Run Log Implementation Plan++> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.++**Goal:** Add a dedicated gh-ost migration task-run log section with start/end timing, statement context, and error reporting.++**Architecture:** Extend the store log proto with `GHOST_MIGRATION_START` / `GHOST_MIGRATION_END`, expose them through the v1 API as one collapsed `GHOST_MIGRATION` timed entry, and emit the pair around `migrator.Migrate()`. The React task-run log viewer should treat gh-ost like other timed sections while using a distinct localized label.++**Tech Stack:** Go, protobuf/buf, Connect/gRPC generated code, React, TypeScript, i18next, Vitest.++---++## File Map++- Modify `proto/store/store/task_run_log.proto`: add store log types and payload messages.+- Modify `proto/v1/v1/rollout_service.proto`: add public `GHOST_MIGRATION` entry type and payload message.+- Regenerate generated protobuf artifacts with `cd proto && buf generate`.+- Modify `backend/api/v1/rollout_service_converter.go`: collapse gh-ost start/end store logs into one v1 entry.+- Create `backend/api/v1/rollout_service_converter_test.go`: unit test the conversion behavior.+- Modify `backend/plugin/db/driver.go`: add `ExecuteOptions` helper methods for gh-ost start/end logging.+- Modify `backend/runner/taskrun/database_migrate_executor.go`: pass execute options into gh-ost execution and emit logs around `migrator.Migrate()`.+- Modify `backend/tests/rollout.go`: add a rollout-returning test helper without changing existing helper callers.+- Modify `backend/tests/ghost_test.go`: assert the successful gh-ost rollout exposes a gh-ost task-run log entry followed by database sync.+- Modify `frontend/src/react/components/task-run-log/model.ts`: include gh-ost in timed-entry completion, error, duration, and detail handling.+- Modify `frontend/src/react/components/task-run-log/TaskRunLogViewer.tsx`: add a section label for gh-ost.+- Modify `frontend/src/react/components/task-run-log/model.test.ts`: add model coverage for gh-ost timed entries.+- Modify locale files:+ - `frontend/src/react/locales/en-US.json`+ - `frontend/src/react/locales/zh-CN.json`+ - `frontend/src/react/locales/ja-JP.json`+ - `frontend/src/react/locales/es-ES.json`+ - `frontend/src/react/locales/vi-VN.json`+ - `frontend/src/locales/en-US.json`+ - `frontend/src/locales/zh-CN.json`+ - `frontend/src/locales/ja-JP.json`+ - `frontend/src/locales/es-ES.json`+ - `frontend/src/locales/vi-VN.json`++## Task 1: Proto Shape and API Conversion++**Files:**+- Modify: `proto/store/store/task_run_log.proto`+- Modify: `proto/v1/v1/rollout_service.proto`+- Generated by command: `backend/generated-go/store/task_run_log.pb.go`+- Generated by command: `backend/generated-go/v1/rollout_service.pb.go`+- Generated by command: `backend/generated-go/v1/rollout_service.pb.gw.go`+- Generated by command: `backend/generated-go/v1/rollout_service_grpc.pb.go`+- Generated by command: `backend/generated-go/v1/v1connect/rollout_service.connect.go`+- Generated by command: `frontend/src/types/proto-es/v1/rollout_service_pb.d.ts`+- Generated by command: `frontend/src/types/proto-es/v1/rollout_service_pb.js`+- Generated by command: `proto/gen/grpc-doc/store/README.md`+- Generated by command: `proto/gen/grpc-doc/store/index.html`+- Generated by command: `proto/gen/grpc-doc/v1/README.md`+- Generated by command: `proto/gen/grpc-doc/v1/index.html`+- Generated by command: `proto/gen/grpc-doc/openapi.yaml`+- Generated by command: `backend/api/mcp/gen/openapi.yaml`+- Modify: `backend/api/v1/rollout_service_converter.go`+- Create: `backend/api/v1/rollout_service_converter_test.go`++- [ ] **Step 1: Write the failing converter test**++Create `backend/api/v1/rollout_service_converter_test.go`:++```go+package v1++import (+ "testing"+ "time"++ "github.com/stretchr/testify/require"++ storepb "github.com/bytebase/bytebase/backend/generated-go/store"+ v1pb "github.com/bytebase/bytebase/backend/generated-go/v1"+ "github.com/bytebase/bytebase/backend/store"+)++func TestConvertToTaskRunLogEntries_GhostMigration(t *testing.T) {+ start := time.Date(2026, 5, 8, 10, 0, 0, 0, time.UTC)+ end := start.Add(3 * time.Second)++ entries := convertToTaskRunLogEntries([]*store.TaskRunLog{+ {+ T: start,+ Payload: &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_GHOST_MIGRATION_START,+ ReplicaId: "replica-a",+ GhostMigrationStart: &storepb.TaskRunLog_GhostMigrationStart{+ Statement: "ALTER TABLE book ADD COLUMN author VARCHAR(54)",+ },+ },+ },+ {+ T: end,+ Payload: &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_GHOST_MIGRATION_END,+ ReplicaId: "replica-a",+ GhostMigrationEnd: &storepb.TaskRunLog_GhostMigrationEnd{+ Error: "copy failed",+ },+ },+ },+ })++ require.Len(t, entries, 1)+ entry := entries[0]+ require.Equal(t, v1pb.TaskRunLogEntry_GHOST_MIGRATION, entry.Type)+ require.Equal(t, "replica-a", entry.ReplicaId)+ require.NotNil(t, entry.GhostMigration)+ require.Equal(t, "ALTER TABLE book ADD COLUMN author VARCHAR(54)", entry.GhostMigration.Statement)+ require.Equal(t, start.Unix(), entry.GhostMigration.StartTime.AsTime().Unix())+ require.Equal(t, end.Unix(), entry.GhostMigration.EndTime.AsTime().Unix())+ require.Equal(t, "copy failed", entry.GhostMigration.Error)+}+```++- [ ] **Step 2: Run test to verify it fails**++Run:++```bash+go test -v -count=1 ./backend/api/v1 -run ^TestConvertToTaskRunLogEntries_GhostMigration$+```++Expected: FAIL at compile time because `TaskRunLog_GHOST_MIGRATION_START`, `TaskRunLog_GhostMigrationStart`, `TaskRunLogEntry_GHOST_MIGRATION`, and `GhostMigration` do not exist yet.++- [ ] **Step 3: Add store proto fields**++In `proto/store/store/task_run_log.proto`, update the enum and fields:++```proto+ GHOST_MIGRATION_START = 15;+ GHOST_MIGRATION_END = 16;+```++Add fields after `ReleaseFileExecute release_file_execute = 16;`:++```proto+ GhostMigrationStart ghost_migration_start = 17;+ GhostMigrationEnd ghost_migration_end = 18;+```++Add messages after `ReleaseFileExecute`:++```proto+ message GhostMigrationStart {+ // The cleaned ALTER statement passed to gh-ost.+ string statement = 1;+ }+ message GhostMigrationEnd {+ string error = 1;+ }+```++- [ ] **Step 4: Add v1 proto fields**++In `proto/v1/v1/rollout_service.proto`, add a new enum value after `RELEASE_FILE_EXECUTE = 9;`:++```proto+ // gh-ost online migration.+ GHOST_MIGRATION = 10;+```++Add a field after `ReleaseFileExecute release_file_execute = 12;`:++```proto+ // gh-ost migration details (if type is GHOST_MIGRATION).+ GhostMigration ghost_migration = 13;+```++Add this nested message near the other timed operation messages:++```proto+ // gh-ost migration details.+ message GhostMigration {+ // When the gh-ost migration started.+ google.protobuf.Timestamp start_time = 1;+ // When the gh-ost migration ended.+ google.protobuf.Timestamp end_time = 2;+ // Error message if the gh-ost migration failed.+ string error = 3;+ // The cleaned ALTER statement passed to gh-ost.+ string statement = 4;+ }+```++- [ ] **Step 5: Format and generate proto artifacts**++Run:++```bash+buf format -w proto+buf lint proto+cd proto && buf generate+```++Expected: all commands exit 0. Generated Go, frontend ES types, grpc-doc, OpenAPI, and MCP OpenAPI files update.++- [ ] **Step 6: Implement API conversion**++In `backend/api/v1/rollout_service_converter.go`, extend `convertToTaskRunLogEntries` with these switch cases before `default`:++```go+ case storepb.TaskRunLog_GHOST_MIGRATION_START:+ entries = append(entries, &v1pb.TaskRunLogEntry{+ Type: v1pb.TaskRunLogEntry_GHOST_MIGRATION,+ LogTime: timestamppb.New(l.T),+ ReplicaId: l.Payload.ReplicaId,+ GhostMigration: &v1pb.TaskRunLogEntry_GhostMigration{+ StartTime: timestamppb.New(l.T),+ Statement: l.Payload.GhostMigrationStart.Statement,+ },+ })++ case storepb.TaskRunLog_GHOST_MIGRATION_END:+ if len(entries) == 0 {+ continue+ }+ prev := entries[len(entries)-1]+ if prev == nil || prev.Type != v1pb.TaskRunLogEntry_GHOST_MIGRATION {+ continue+ }+ prev.GhostMigration.EndTime = timestamppb.New(l.T)+ prev.GhostMigration.Error = l.Payload.GhostMigrationEnd.Error+```++- [ ] **Step 7: Run converter test**++Run:++```bash+go test -v -count=1 ./backend/api/v1 -run ^TestConvertToTaskRunLogEntries_GhostMigration$+```++Expected: PASS.++- [ ] **Step 8: Commit proto and converter slice**++Run:++```bash+git add proto/store/store/task_run_log.proto proto/v1/v1/rollout_service.proto backend/generated-go proto/gen/grpc-doc backend/api/mcp/gen/openapi.yaml frontend/src/types/proto-es/v1/rollout_service_pb.d.ts frontend/src/types/proto-es/v1/rollout_service_pb.js backend/api/v1/rollout_service_converter.go backend/api/v1/rollout_service_converter_test.go+git commit -m "feat: add gh-ost task run log type"+```++Expected: commit succeeds.++## Task 2: Backend gh-ost Log Emission++**Files:**+- Modify: `backend/plugin/db/driver.go`+- Modify: `backend/runner/taskrun/database_migrate_executor.go`+- Modify: `backend/tests/rollout.go`+- Modify: `backend/tests/ghost_test.go`++- [ ] **Step 1: Add rollout-returning test helper**++In `backend/tests/rollout.go`, change `changeDatabase` to call a new helper:++```go+func (ctl *controller) changeDatabase(ctx context.Context, project *v1pb.Project, database *v1pb.Database, sheet *v1pb.Sheet, _ bool) error {+ _, err := ctl.changeDatabaseAndReturnRollout(ctx, project, database, sheet)+ return err+}++func (ctl *controller) changeDatabaseAndReturnRollout(ctx context.Context, project *v1pb.Project, database *v1pb.Database, sheet *v1pb.Sheet) (*v1pb.Rollout, error) {+ spec := &v1pb.Plan_Spec{+ Id: uuid.NewString(),+ Config: &v1pb.Plan_Spec_ChangeDatabaseConfig{+ ChangeDatabaseConfig: &v1pb.Plan_ChangeDatabaseConfig{+ Targets: []string{database.Name},+ Sheet: sheet.Name,+ },+ },+ }+ return ctl.changeDatabaseWithConfigAndReturnRollout(ctx, project, spec)+}+```++Then change `changeDatabaseWithConfig` to call a new helper:++```go+func (ctl *controller) changeDatabaseWithConfig(ctx context.Context, project *v1pb.Project, spec *v1pb.Plan_Spec) error {+ _, err := ctl.changeDatabaseWithConfigAndReturnRollout(ctx, project, spec)+ return err+}+```++Move the existing body of `changeDatabaseWithConfig` into:++```go+func (ctl *controller) changeDatabaseWithConfigAndReturnRollout(ctx context.Context, project *v1pb.Project, spec *v1pb.Plan_Spec) (*v1pb.Rollout, error) {+ planResp, err := ctl.planServiceClient.CreatePlan(ctx, connect.NewRequest(&v1pb.CreatePlanRequest{+ Parent: project.Name,+ Plan: &v1pb.Plan{+ Specs: []*v1pb.Plan_Spec{spec},+ },+ }))+ if err != nil {+ return nil, errors.Wrapf(err, "failed to create plan")+ }+ plan := planResp.Msg+ issueResp, err := ctl.issueServiceClient.CreateIssue(ctx, connect.NewRequest(&v1pb.CreateIssueRequest{+ Parent: project.Name,+ Issue: &v1pb.Issue{+ Type: v1pb.Issue_DATABASE_CHANGE,+ Title: "change database",+ Description: "change database",+ Plan: plan.Name,+ },+ }))+ if err != nil {+ return nil, errors.Wrapf(err, "failed to create issue")+ }+ issue := issueResp.Msg+ rolloutResp, err := ctl.rolloutServiceClient.CreateRollout(ctx, connect.NewRequest(&v1pb.CreateRolloutRequest{Parent: plan.Name}))+ if err != nil {+ return nil, errors.Wrapf(err, "failed to create rollout")+ }+ rollout := rolloutResp.Msg+ if err := ctl.waitRollout(ctx, issue.Name, rollout.Name); err != nil {+ return nil, err+ }+ return rollout, nil+}+```++- [ ] **Step 2: Write the failing integration assertion**++In `backend/tests/ghost_test.go`, replace the second migration run:++```go+ err = ctl.changeDatabase(ctx, ctl.project, database, sheet2, true)+ a.NoError(err)+```++with:++```go+ rollout, err := ctl.changeDatabaseAndReturnRollout(ctx, ctl.project, database, sheet2)+ a.NoError(err)+```++After the existing `a.Equal(wantDBSchema2, dbMetadata.Schema)`, add:++```go+ var taskRunName string+ for _, stage := range rollout.Stages {+ for _, task := range stage.Tasks {+ taskRunsResp, err := ctl.rolloutServiceClient.ListTaskRuns(ctx, connect.NewRequest(&v1pb.ListTaskRunsRequest{+ Parent: task.Name,+ }))+ a.NoError(err)+ if len(taskRunsResp.Msg.TaskRuns) > 0 {+ taskRunName = taskRunsResp.Msg.TaskRuns[0].Name+ }+ }+ }+ a.NotEmpty(taskRunName)++ logResp, err := ctl.rolloutServiceClient.GetTaskRunLog(ctx, connect.NewRequest(&v1pb.GetTaskRunLogRequest{+ Parent: taskRunName,+ }))+ a.NoError(err)++ var ghostEntry *v1pb.TaskRunLogEntry+ var databaseSyncEntry *v1pb.TaskRunLogEntry+ for _, entry := range logResp.Msg.Entries {+ switch entry.Type {+ case v1pb.TaskRunLogEntry_GHOST_MIGRATION:+ ghostEntry = entry+ case v1pb.TaskRunLogEntry_DATABASE_SYNC:+ databaseSyncEntry = entry+ default:+ }+ }+ a.NotNil(ghostEntry)+ a.NotNil(ghostEntry.GetGhostMigration())+ a.Contains(ghostEntry.GetGhostMigration().Statement, "ALTER TABLE book ADD author VARCHAR(54)")+ a.NotNil(ghostEntry.GetGhostMigration().StartTime)+ a.NotNil(ghostEntry.GetGhostMigration().EndTime)+ a.Empty(ghostEntry.GetGhostMigration().Error)+ a.NotNil(databaseSyncEntry)+```++- [ ] **Step 3: Run integration test to verify it fails**++Run:++```bash+go test -v -count=1 ./backend/tests -run ^TestGhostSchemaUpdate$ -timeout 5m+```++Expected: FAIL because no `GHOST_MIGRATION` entry is emitted.++- [ ] **Step 4: Add gh-ost logging helpers**++In `backend/plugin/db/driver.go`, add methods after `LogCommandResponse`:++```go+func (o *ExecuteOptions) LogGhostMigrationStart(statement string) {+ if o == nil || o.CreateTaskRunLog == nil {+ return+ }+ err := o.CreateTaskRunLog(time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_GHOST_MIGRATION_START,+ GhostMigrationStart: &storepb.TaskRunLog_GhostMigrationStart{+ Statement: statement,+ },+ })+ if err != nil {+ slog.Warn("failed to log gh-ost migration start", log.BBError(err))+ }+}++func (o *ExecuteOptions) LogGhostMigrationEnd(rerr string) {+ if o == nil || o.CreateTaskRunLog == nil {+ return+ }+ err := o.CreateTaskRunLog(time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_GHOST_MIGRATION_END,+ GhostMigrationEnd: &storepb.TaskRunLog_GhostMigrationEnd{+ Error: rerr,+ },+ })+ if err != nil {+ slog.Warn("failed to log gh-ost migration end", log.BBError(err))+ }+}+```++- [ ] **Step 5: Emit gh-ost logs from executor**++Change the `executeGhostMigration` signature in `backend/runner/taskrun/database_migrate_executor.go`:++```go+func executeGhostMigration(ctx context.Context, driverCtx context.Context, task *store.TaskMessage, sheet *store.SheetMessage, instance *store.InstanceMessage, database *store.DatabaseMessage, driver db.Driver, opts *db.ExecuteOptions) error {+```++After `migrator := logic.NewMigrator(migrationContext, "bb")`, add:++```go+ opts.LogGhostMigrationStart(statement)+```++Change the `select` block:++```go+ select {+ case err := <-migrationError:+ if err != nil {+ opts.LogGhostMigrationEnd(err.Error())+ return err+ }+ opts.LogGhostMigrationEnd("")+ return nil+ case <-driverCtx.Done():+ err := errors.New("task canceled")+ migrationContext.PanicAbort <- err+ opts.LogGhostMigrationEnd(err.Error())+ return err+ }+```++Update all call sites:++```go+migrationErr := executeGhostMigration(ctx, driverCtx, task, sheet, instance, database, driver, &opts)+```++and:++```go+err = executeGhostMigration(ctx, driverCtx, task, sheet, instance, database, driver, &opts)+```++- [ ] **Step 6: Format Go files**++Run:++```bash+gofmt -w backend/plugin/db/driver.go backend/runner/taskrun/database_migrate_executor.go backend/tests/rollout.go backend/tests/ghost_test.go backend/api/v1/rollout_service_converter_test.go+```++Expected: command exits 0.++- [ ] **Step 7: Run backend tests**++Run:++```bash+go test -v -count=1 ./backend/api/v1 -run ^TestConvertToTaskRunLogEntries_GhostMigration$+go test -v -count=1 ./backend/tests -run ^TestGhostSchemaUpdate$ -timeout 5m+```++Expected: both PASS.++- [ ] **Step 8: Commit backend emission slice**++Run:++```bash+git add backend/plugin/db/driver.go backend/runner/taskrun/database_migrate_executor.go backend/tests/rollout.go backend/tests/ghost_test.go+git commit -m "feat: emit gh-ost task run logs"+```++Expected: commit succeeds.++## Task 3: Frontend Task-Run Log Display++**Files:**+- Modify: `frontend/src/react/components/task-run-log/model.ts`+- Modify: `frontend/src/react/components/task-run-log/model.test.ts`+- Modify: `frontend/src/react/components/task-run-log/TaskRunLogViewer.tsx`+- Modify locale files listed in the File Map.++- [ ] **Step 1: Write failing model test**++In `frontend/src/react/components/task-run-log/model.test.ts`, add this test after `marks incomplete sections as running and errored sections as error`:++```ts+ test("renders gh-ost migration as a timed section", () => {+ const detailText = {+ completed: "Completed",+ } satisfies TaskRunLogDetailText;++ const entries = [+ create(TaskRunLogEntrySchema, {+ type: TaskRunLogEntry_Type.GHOST_MIGRATION,+ logTime: ts(10),+ ghostMigration: {+ statement: "ALTER TABLE book ADD COLUMN author VARCHAR(54)",+ startTime: ts(10),+ endTime: ts(13),+ error: "",+ },+ }),+ create(TaskRunLogEntrySchema, {+ type: TaskRunLogEntry_Type.GHOST_MIGRATION,+ logTime: ts(20),+ ghostMigration: {+ statement: "ALTER TABLE book ADD COLUMN title VARCHAR(54)",+ startTime: ts(20),+ error: "copy failed",+ },+ }),+ ];++ const sections = buildSectionsFromEntries(entries, {+ getSectionLabel: (type) => String(type),+ detailText,+ });++ expect(sections[0]?.status).toBe("success");+ expect(sections[0]?.duration).toBe("3.0s");+ expect(sections[0]?.items[0]?.detail).toBe("Completed");+ expect(sections[1]?.status).toBe("error");+ expect(sections[1]?.items[0]?.detail).toBe("copy failed");+ });+```++- [ ] **Step 2: Run frontend test to verify it fails**++Run:++```bash+pnpm --dir frontend test -- task-run-log/model.test.ts+```++Expected: FAIL because the frontend model does not handle `GHOST_MIGRATION` as a timed entry yet.++- [ ] **Step 3: Update task-run log model**++In `frontend/src/react/components/task-run-log/model.ts`, add `GHOST_MIGRATION` to these switch statements.++In `hasError`:++```ts+ case TaskRunLogEntry_Type.GHOST_MIGRATION:+ return Boolean(entry.ghostMigration?.error);+```++In `isComplete`:++```ts+ case TaskRunLogEntry_Type.GHOST_MIGRATION:+ return Boolean(+ entry.ghostMigration?.startTime && entry.ghostMigration?.endTime+ );+```++In `getEntryTimeRange`:++```ts+ case TaskRunLogEntry_Type.GHOST_MIGRATION:+ return {+ start: getTimestampMs(entry.ghostMigration?.startTime),+ end: getTimestampMs(entry.ghostMigration?.endTime),+ };+```++In `getEntryDetail`:++```ts+ case TaskRunLogEntry_Type.GHOST_MIGRATION:+ return getTimedEntryDetail(+ entry.ghostMigration,+ runningByType?.[TaskRunLogEntry_Type.GHOST_MIGRATION] ?? "",+ completed+ );+```++- [ ] **Step 4: Add UI label**++In `frontend/src/react/components/task-run-log/TaskRunLogViewer.tsx`, add to `labelMap`:++```ts+ [TaskRunLogEntry_Type.GHOST_MIGRATION]: t(+ "task-run.log-type.ghost-migration"+ ),+```++Do not add a gh-ost-specific running detail for the first pass.++- [ ] **Step 5: Add locale strings**++Add `task-run.log-type.ghost-migration` to React flat locale files with these exact values:++```json+"frontend/src/react/locales/en-US.json": "gh-ost migration"+"frontend/src/react/locales/zh-CN.json": "gh-ost 迁移"+"frontend/src/react/locales/ja-JP.json": "gh-ost migration"+"frontend/src/react/locales/es-ES.json": "Migración gh-ost"+"frontend/src/react/locales/vi-VN.json": "Di chuyển gh-ost"+```++For example, in `frontend/src/react/locales/en-US.json`, add:++```json+"task-run.log-type.ghost-migration": "gh-ost migration"+```++In `frontend/src/react/locales/zh-CN.json`, add:++```json+"task-run.log-type.ghost-migration": "gh-ost 迁移"+```++In `frontend/src/react/locales/ja-JP.json`, add:++```json+"task-run.log-type.ghost-migration": "gh-ost migration"+```++In `frontend/src/react/locales/es-ES.json`, add:++```json+"task-run.log-type.ghost-migration": "Migración gh-ost"+```++In `frontend/src/react/locales/vi-VN.json`, add:++```json+"task-run.log-type.ghost-migration": "Di chuyển gh-ost"+```++Add nested locale keys under `task-run.log-type` in `frontend/src/locales/*.json` with these exact values:++```json+"frontend/src/locales/en-US.json": "gh-ost migration"+"frontend/src/locales/zh-CN.json": "gh-ost 迁移"+"frontend/src/locales/ja-JP.json": "gh-ost migration"+"frontend/src/locales/es-ES.json": "Migración gh-ost"+"frontend/src/locales/vi-VN.json": "Di chuyển gh-ost"+```++In `frontend/src/locales/en-US.json`, add under `task-run.log-type`:++```json+"ghost-migration": "gh-ost migration"+```++In `frontend/src/locales/zh-CN.json`, add under `task-run.log-type`:++```json+"ghost-migration": "gh-ost 迁移"+```++In `frontend/src/locales/ja-JP.json`, add under `task-run.log-type`:++```json+"ghost-migration": "gh-ost migration"+```++In `frontend/src/locales/es-ES.json`, add under `task-run.log-type`:++```json+"ghost-migration": "Migración gh-ost"+```++In `frontend/src/locales/vi-VN.json`, add under `task-run.log-type`:++```json+"ghost-migration": "Di chuyển gh-ost"+```++- [ ] **Step 6: Run frontend fix and tests**++Run:++```bash+pnpm --dir frontend fix+pnpm --dir frontend test -- task-run-log/model.test.ts+```++Expected: both commands exit 0.++- [ ] **Step 7: Commit frontend display slice**++Run:++```bash+git add frontend/src/react/components/task-run-log/model.ts frontend/src/react/components/task-run-log/model.test.ts frontend/src/react/components/task-run-log/TaskRunLogViewer.tsx frontend/src/react/locales frontend/src/locales+git commit -m "feat: show gh-ost task run log section"+```++Expected: commit succeeds.++## Task 4: Verification and Cleanup++**Files:**+- Read: `git status --short`+- Read: `git diff --stat`++- [ ] **Step 1: Run proto checks**++Run:++```bash+buf format -w proto+buf lint proto+cd proto && buf generate+```++Expected: all commands exit 0 and no new unexpected generated diff appears beyond already intended generated artifacts.++- [ ] **Step 2: Run Go formatting and targeted tests**++Run:++```bash+gofmt -w backend/api/v1/rollout_service_converter.go backend/api/v1/rollout_service_converter_test.go backend/plugin/db/driver.go backend/runner/taskrun/database_migrate_executor.go backend/tests/rollout.go backend/tests/ghost_test.go+go test -v -count=1 ./backend/api/v1 -run ^TestConvertToTaskRunLogEntries_GhostMigration$+go test -v -count=1 ./backend/tests -run ^TestGhostSchemaUpdate$ -timeout 5m+```++Expected: all commands exit 0.++- [ ] **Step 3: Run frontend validation**++Run:++```bash+pnpm --dir frontend fix+pnpm --dir frontend check+pnpm --dir frontend type-check+pnpm --dir frontend test -- task-run-log/model.test.ts+```++Expected: all commands exit 0.++- [ ] **Step 4: Run Go lint**++Run:++```bash+golangci-lint run --allow-parallel-runners+```++Expected: exits 0. If it reports issues, run:++```bash+golangci-lint run --fix --allow-parallel-runners+golangci-lint run --allow-parallel-runners+```++Repeat until the non-fix lint command exits 0.++- [ ] **Step 5: Run backend build**++Run:++```bash+go build -ldflags "-w -s" -p=16 -o ./bytebase-build/bytebase ./backend/bin/server/main.go+```++Expected: build exits 0.++- [ ] **Step 6: Inspect final diff**++Run:++```bash+git status --short+git diff --stat+```++Expected: only files related to gh-ost task run logs are modified.diff --git a/docs/superpowers/specs/2026-05-08-ghost-task-run-log-design.md b/docs/superpowers/specs/2026-05-08-ghost-task-run-log-design.mdnew file mode 100644index 0000000000..0972dfdca0--- /dev/null+++ b/docs/superpowers/specs/2026-05-08-ghost-task-run-log-design.md@@ -0,0 +1,112 @@+# gh-ost Task Run Log Design++## Context++Bytebase task run logs currently show normal SQL execution through command entries and post-execution database sync through timed sync entries. The gh-ost migration path creates task run log write options, but the gh-ost execution itself does not emit task run logs. Users only see later database sync logs, which hides the longest and most operationally important part of an online schema migration.++The first change should make gh-ost visible and distinguishable in the task run log without adding progress streaming yet.++## Goals++- Show a dedicated gh-ost migration section in task run logs.+- Record start time, end time, statement context, and execution error.+- Keep release-file grouping behavior intact for versioned releases.+- Leave room for future gh-ost progress logs without overbuilding the first step.++## Non-Goals++- Do not stream gh-ost progress in the first implementation.+- Do not redesign the task run log viewer.+- Do not encode gh-ost progress as fake command responses or plain text logs.++## Design++Add a new task run log pair for gh-ost execution:++- Store proto: `GHOST_MIGRATION_START`+- Store proto: `GHOST_MIGRATION_END`+- v1 API entry type: `GHOST_MIGRATION`++The public API should collapse the store start/end pair into one timed entry, matching the existing pattern for database sync, prior backup, schema dump, and compute diff.++The v1 `GHOST_MIGRATION` payload should include:++- `statement`: the cleaned ALTER statement passed to gh-ost.+- `start_time`: when gh-ost execution starts.+- `end_time`: when gh-ost execution finishes.+- `error`: the failure message, if gh-ost fails or the task is canceled.++Do not include parsed table context in the first implementation. The user-facing distinction comes from the log type and label, while `statement` gives enough execution context. Table-specific fields can be added later if the progress UI needs them.++## Backend Flow++`runGhostMigration` already creates `db.ExecuteOptions` with `CreateTaskRunLog`. Pass those options into `executeGhostMigration`.++Inside `executeGhostMigration`:++1. Parse flags and clean Bytebase directives.+2. Trim the cleaned ALTER statement.+3. Parse the target table and create the gh-ost migration context.+4. Emit `GHOST_MIGRATION_START` after the statement and context are ready, before `migrator.Migrate()`.+5. Run gh-ost.+6. Emit `GHOST_MIGRATION_END` with an empty error on success.+7. Emit `GHOST_MIGRATION_END` with the error string on migration failure or task cancellation.++The existing database sync logs should remain after gh-ost completes. The task run log sequence should usually be:++1. `GHOST_MIGRATION`+2. `DATABASE_SYNC`++For release files, the existing `RELEASE_FILE_EXECUTE` marker remains first, so gh-ost logs are grouped under the correct release file.++## API Conversion++Extend `convertToTaskRunLogEntries` to collapse `GHOST_MIGRATION_START` and `GHOST_MIGRATION_END` into one v1 `GHOST_MIGRATION` entry.++The first implementation may follow the existing adjacent-pair converter behavior because no gh-ost progress entries will be emitted between start and end. When progress entries are added later, the converter should either pair by open entry type rather than adjacency or model progress as child entries under a migration entry.++## Frontend++Add a task run log label:++- `task-run.log-type.ghost-migration`: `gh-ost migration`++Render the entry with the same timed-section UI used by database sync and compute diff. The visible difference is the section name and type, not a special layout.++The detail text should behave like other timed sections:++- Running: reuse the existing timed running detail text.+- Completed: existing completed text.+- Failed: error string.++## Future Progress Design++A later phase can add `GHOST_MIGRATION_PROGRESS` or nested progress details with fields such as:++- copied rows+- estimated rows+- applied DML events+- backlog+- lag+- heartbeat lag+- state+- ETA++That phase should include log throttling and UI design. It should not be mixed into the minimal start/end implementation.++## Testing++Backend tests should verify that a gh-ost migration task run returns a task run log containing:++- one `GHOST_MIGRATION` entry+- a non-empty statement+- start and end timestamps+- no error on success+- a following `DATABASE_SYNC` entry++Frontend model tests should cover the new entry type as a timed section, including running, completed, and error states.++## Decisions++- First implementation stores only the cleaned gh-ost statement, not parsed table context.+- First implementation uses a gh-ost-specific section label and reuses existing timed detail text.diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 46a5978c78..01ecab4b24 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -2765,6 +2765,7 @@"command-execute": "Command Execute","compute-diff": "Compute Diff","database-sync": "Database Sync",+ "ghost-migration": "gh-ost Migration","prior-backup": "Prior Backup","release-file-execute": "Release File","retry": "Retry",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 56e951c08c..41d1229c5b 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -2765,6 +2765,7 @@"command-execute": "Comando Ejecutar","compute-diff": "Calcular diferencia","database-sync": "Sincronización de bases de datos",+ "ghost-migration": "Migración gh-ost","prior-backup": "Copia de seguridad previa","release-file-execute": "Archivo de lanzamiento","retry": "Reintentar",diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 55405bd870..e1176b6327 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -2765,6 +2765,7 @@"command-execute": "コマンド実行","compute-diff": "差分計算","database-sync": "データベース同期",+ "ghost-migration": "gh-ost Migration","prior-backup": "事前のバックアップ","release-file-execute": "リリースファイル","retry": "リトライ",diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.jsonindex f0c9a3274c..c98d5f57b7 100644--- a/frontend/src/locales/vi-VN.json+++ b/frontend/src/locales/vi-VN.json@@ -2765,6 +2765,7 @@"command-execute": "Lệnh thực thi","compute-diff": "Tính toán chênh lệch","database-sync": "Đồng bộ cơ sở dữ liệu",+ "ghost-migration": "Di chuyển gh-ost","prior-backup": "Sao lưu trước","release-file-execute": "Tệp phát hành","retry": "Thử lại",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 1670a5a517..fcc1caeb34 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -2765,6 +2765,7 @@"command-execute": "命令执行","compute-diff": "计算差异","database-sync": "数据库同步",+ "ghost-migration": "gh-ost 迁移","prior-backup": "预备份","release-file-execute": "发布包文件","retry": "重试",diff --git a/frontend/src/react/components/task-run-log/TaskRunLogViewer.tsx b/frontend/src/react/components/task-run-log/TaskRunLogViewer.tsxindex 455ad8494a..7d599c0168 100644--- a/frontend/src/react/components/task-run-log/TaskRunLogViewer.tsx+++ b/frontend/src/react/components/task-run-log/TaskRunLogViewer.tsx@@ -44,6 +44,9 @@ export function TaskRunLogViewer({ taskRunName }: TaskRunLogViewerProps) {[TaskRunLogEntry_Type.COMPUTE_DIFF]: t("task-run.log-type.compute-diff"),+ [TaskRunLogEntry_Type.GHOST_MIGRATION]: t(+ "task-run.log-type.ghost-migration"+ ),[TaskRunLogEntry_Type.RELEASE_FILE_EXECUTE]: t("task-run.log-type.release-file-execute"),diff --git a/frontend/src/react/components/task-run-log/model.test.ts b/frontend/src/react/components/task-run-log/model.test.tsindex 464f7f644d..e5656a705c 100644--- a/frontend/src/react/components/task-run-log/model.test.ts+++ b/frontend/src/react/components/task-run-log/model.test.ts@@ -243,6 +243,43 @@ describe("task-run-log model", () => {expect(sections[1]?.status).toBe("error");});+ test("renders gh-ost migration as a timed section", () => {+ const detailText = {+ completed: "Completed",+ } satisfies TaskRunLogDetailText;++ const entries = [+ create(TaskRunLogEntrySchema, {+ type: TaskRunLogEntry_Type.GHOST_MIGRATION,+ logTime: ts(10),+ ghostMigration: {+ startTime: ts(10),+ endTime: ts(13),+ error: "",+ },+ }),+ create(TaskRunLogEntrySchema, {+ type: TaskRunLogEntry_Type.GHOST_MIGRATION,+ logTime: ts(20),+ ghostMigration: {+ startTime: ts(20),+ error: "copy failed",+ },+ }),+ ];++ const sections = buildSectionsFromEntries(entries, {+ getSectionLabel: (type) => String(type),+ detailText,+ });++ expect(sections[0]?.status).toBe("success");+ expect(sections[0]?.duration).toBe("3.0s");+ expect(sections[0]?.items[0]?.detail).toBe("Completed");+ expect(sections[1]?.status).toBe("error");+ expect(sections[1]?.items[0]?.detail).toBe("copy failed");+ });+test("uses localized detail text for completed timed entries, prior backup completion, and retries", () => {const detailText = {completed: "Completed",diff --git a/frontend/src/react/components/task-run-log/model.ts b/frontend/src/react/components/task-run-log/model.tsindex 62857cb3f8..4574625c79 100644--- a/frontend/src/react/components/task-run-log/model.ts+++ b/frontend/src/react/components/task-run-log/model.ts@@ -102,6 +102,8 @@ export const hasError = (entry: TaskRunLogEntry): boolean => {return Boolean(entry.priorBackup?.error);case TaskRunLogEntry_Type.COMPUTE_DIFF:return Boolean(entry.computeDiff?.error);+ case TaskRunLogEntry_Type.GHOST_MIGRATION:+ return Boolean(entry.ghostMigration?.error);default:return false;}@@ -125,6 +127,10 @@ export const isComplete = (entry: TaskRunLogEntry): boolean => {return Boolean(entry.computeDiff?.startTime && entry.computeDiff?.endTime);+ case TaskRunLogEntry_Type.GHOST_MIGRATION:+ return Boolean(+ entry.ghostMigration?.startTime && entry.ghostMigration?.endTime+ );case TaskRunLogEntry_Type.TRANSACTION_CONTROL:case TaskRunLogEntry_Type.RETRY_INFO:return true;@@ -144,7 +150,11 @@ export const groupEntriesByType = (let current: EntryGroup | undefined;for (const entry of sorted) {- if (current && current.type === entry.type) {+ if (+ current &&+ current.type === entry.type &&+ entry.type !== TaskRunLogEntry_Type.GHOST_MIGRATION+ ) {current.entries.push(entry);continue;}@@ -262,6 +272,11 @@ export const getEntryTimeRange = (start: getTimestampMs(entry.computeDiff?.startTime),end: getTimestampMs(entry.computeDiff?.endTime),};+ case TaskRunLogEntry_Type.GHOST_MIGRATION:+ return {+ start: getTimestampMs(entry.ghostMigration?.startTime),+ end: getTimestampMs(entry.ghostMigration?.endTime),+ };default: {const time = getTimestampMs(entry.logTime);return { start: time, end: time };@@ -426,6 +441,12 @@ const getEntryDetail = (runningByType?.[TaskRunLogEntry_Type.COMPUTE_DIFF] ?? "",completed);+ case TaskRunLogEntry_Type.GHOST_MIGRATION:+ return getTimedEntryDetail(+ entry.ghostMigration,+ runningByType?.[TaskRunLogEntry_Type.GHOST_MIGRATION] ?? "",+ completed+ );case TaskRunLogEntry_Type.RELEASE_FILE_EXECUTE:return getReleaseFileExecuteDetail(entry);default:diff --git a/frontend/src/react/locales/en-US.json b/frontend/src/react/locales/en-US.jsonindex deb8129902..642f89f14a 100644--- a/frontend/src/react/locales/en-US.json+++ b/frontend/src/react/locales/en-US.json@@ -3699,6 +3699,7 @@"task-run.log-type.command-execute": "Command Execute","task-run.log-type.compute-diff": "Compute Diff","task-run.log-type.database-sync": "Database Sync",+ "task-run.log-type.ghost-migration": "gh-ost Migration","task-run.log-type.prior-backup": "Prior Backup","task-run.log-type.release-file-execute": "Release File","task-run.log-type.retry": "Retry",diff --git a/frontend/src/react/locales/es-ES.json b/frontend/src/react/locales/es-ES.jsonindex ae5865cdf0..d9be4eb4b6 100644--- a/frontend/src/react/locales/es-ES.json+++ b/frontend/src/react/locales/es-ES.json@@ -3685,6 +3685,7 @@"task-run.log-type.command-execute": "Comando Ejecutar","task-run.log-type.compute-diff": "Calcular diferencia","task-run.log-type.database-sync": "Sincronización de bases de datos",+ "task-run.log-type.ghost-migration": "Migración gh-ost","task-run.log-type.prior-backup": "Copia de seguridad previa","task-run.log-type.release-file-execute": "Archivo de lanzamiento","task-run.log-type.retry": "Reintentar",diff --git a/frontend/src/react/locales/ja-JP.json b/frontend/src/react/locales/ja-JP.jsonindex 03f8997233..7000d879d9 100644--- a/frontend/src/react/locales/ja-JP.json+++ b/frontend/src/react/locales/ja-JP.json@@ -3685,6 +3685,7 @@"task-run.log-type.command-execute": "コマンド実行","task-run.log-type.compute-diff": "差分計算","task-run.log-type.database-sync": "データベース同期",+ "task-run.log-type.ghost-migration": "gh-ost Migration","task-run.log-type.prior-backup": "事前のバックアップ","task-run.log-type.release-file-execute": "リリースファイル","task-run.log-type.retry": "リトライ",diff --git a/frontend/src/react/locales/vi-VN.json b/frontend/src/react/locales/vi-VN.jsonindex 76c087e6f4..c278076597 100644--- a/frontend/src/react/locales/vi-VN.json+++ b/frontend/src/react/locales/vi-VN.json@@ -3685,6 +3685,7 @@"task-run.log-type.command-execute": "Lệnh thực thi","task-run.log-type.compute-diff": "Tính toán chênh lệch","task-run.log-type.database-sync": "Đồng bộ cơ sở dữ liệu",+ "task-run.log-type.ghost-migration": "Di chuyển gh-ost","task-run.log-type.prior-backup": "Sao lưu trước","task-run.log-type.release-file-execute": "Tệp phát hành","task-run.log-type.retry": "Thử lại",diff --git a/frontend/src/react/locales/zh-CN.json b/frontend/src/react/locales/zh-CN.jsonindex 71faf3f21d..8677b2e2b0 100644--- a/frontend/src/react/locales/zh-CN.json+++ b/frontend/src/react/locales/zh-CN.json@@ -3685,6 +3685,7 @@"task-run.log-type.command-execute": "命令执行","task-run.log-type.compute-diff": "计算差异","task-run.log-type.database-sync": "数据库同步",+ "task-run.log-type.ghost-migration": "gh-ost 迁移","task-run.log-type.prior-backup": "预备份","task-run.log-type.release-file-execute": "发布包文件","task-run.log-type.retry": "重试",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.tsindex 4197dd9434..9e196d5388 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@@ -1064,6 +1064,13 @@ export declare type TaskRunLogEntry = Message<"bytebase.v1.TaskRunLogEntry"> & {* @generated from field: bytebase.v1.TaskRunLogEntry.ReleaseFileExecute release_file_execute = 12;*/releaseFileExecute?: TaskRunLogEntry_ReleaseFileExecute;++ /**+ * gh-ost migration details (if type is GHOST_MIGRATION).+ *+ * @generated from field: bytebase.v1.TaskRunLogEntry.GhostMigration ghost_migration = 13;+ */+ ghostMigration?: TaskRunLogEntry_GhostMigration;};/**@@ -1497,6 +1504,40 @@ export declare type TaskRunLogEntry_ComputeDiff = Message<"bytebase.v1.TaskRunLo*/export declare const TaskRunLogEntry_ComputeDiffSchema: GenMessage<TaskRunLogEntry_ComputeDiff>;+/**+ * gh-ost migration details.+ *+ * @generated from message bytebase.v1.TaskRunLogEntry.GhostMigration+ */+export declare type TaskRunLogEntry_GhostMigration = Message<"bytebase.v1.TaskRunLogEntry.GhostMigration"> & {+ /**+ * When the gh-ost migration started.+ *+ * @generated from field: google.protobuf.Timestamp start_time = 1;+ */+ startTime?: Timestamp;++ /**+ * When the gh-ost migration ended.+ *+ * @generated from field: google.protobuf.Timestamp end_time = 2;+ */+ endTime?: Timestamp;++ /**+ * Error message if the gh-ost migration failed.+ *+ * @generated from field: string error = 3;+ */+ error: string;+};++/**+ * Describes the message bytebase.v1.TaskRunLogEntry.GhostMigration.+ * Use `create(TaskRunLogEntry_GhostMigrationSchema)` to create a new message.+ */+export declare const TaskRunLogEntry_GhostMigrationSchema: GenMessage<TaskRunLogEntry_GhostMigration>;+/*** Release file execution details.*@@ -1592,6 +1633,13 @@ export enum TaskRunLogEntry_Type {* @generated from enum value: RELEASE_FILE_EXECUTE = 9;*/RELEASE_FILE_EXECUTE = 9,++ /**+ * gh-ost online migration.+ *+ * @generated from enum value: GHOST_MIGRATION = 10;+ */+ GHOST_MIGRATION = 10,}/**diff --git a/frontend/src/types/proto-es/v1/rollout_service_pb.js b/frontend/src/types/proto-es/v1/rollout_service_pb.jsindex 5309dec409..33d012799b 100644--- a/frontend/src/types/proto-es/v1/rollout_service_pb.js+++ b/frontend/src/types/proto-es/v1/rollout_service_pb.js@@ -16,7 +16,7 @@ import { file_v1_common } from "./common_pb";* Describes the file v1/rollout_service.proto.*/export const file_v1_rollout_service = /*@__PURE__*/- fileDesc("Chh2MS9yb2xsb3V0X3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIqwBChRCYXRjaFJ1blRhc2tzUmVxdWVzdBIqCgZwYXJlbnQYASABKAlCGuBBAvpBFAoSYnl0ZWJhc2UuY29tL1N0YWdlEg0KBXRhc2tzGAIgAygJEjEKCHJ1bl90aW1lGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAiAEBEhkKEXNraXBfcHJpb3JfYmFja3VwGAQgASgIQgsKCV9ydW5fdGltZSIXChVCYXRjaFJ1blRhc2tzUmVzcG9uc2UibAoVQmF0Y2hTa2lwVGFza3NSZXF1Z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Rhc2tzOmJhdGNoU2tpcBLTAQoTQmF0Y2hDYW5jZWxUYXNrUnVucxInLmJ5dGViYXNlLnYxLkJhdGNoQ2FuY2VsVGFza1J1bnNSZXF1ZXN0GiguYnl0ZWJhc2UudjEuQmF0Y2hDYW5jZWxUYXNrUnVuc1Jlc3BvbnNlImnaQQZwYXJlbnSQ6jACmOowAYLT5JMCUjoBKiJNL3YxL3twYXJlbnQ9cHJvamVjdHMvKi9wbGFucy8qL3JvbGxvdXQvc3RhZ2VzLyovdGFza3MvKn0vdGFza1J1bnM6YmF0Y2hDYW5jZWwS7gEKFlByZXZpZXdUYXNrUnVuUm9sbGJhY2sSKi5ieXRlYmFzZS52MS5QcmV2aWV3VGFza1J1blJvbGxiYWNrUmVxdWVzdBorLmJ5dGViYXNlLnYxLlByZXZpZXdUYXNrUnVuUm9sbGJhY2tSZXNwb25zZSJ72kEEbmFtZYrqMBBiYi50YXNrUnVucy5saXN0kOowAYLT5JMCVjoBKiJRL3YxL3tuYW1lPXByb2plY3RzLyovcGxhbnMvKi9yb2xsb3V0L3N0YWdlcy8qL3Rhc2tzLyovdGFza1J1bnMvKn06cHJldmlld1JvbGxiYWNrQqkBCg9jb20uYnl0ZWJhc2UudjFCE1JvbGxvdXRTZXJ2aWNlUHJvdG9QAVo0Z2l0aHViLmNvbS9ieXRlYmFzZS9ieXRlYmFzZS9iYWNrZW5kL2dlbmVyYXRlZC1nby92MaICA0JYWKoCC0J5dGViYXNlLlYxygILQnl0ZWJhc2VcVjHiAhdCeXRlYmFzZVxWMVxHUEJNZXRhZGF0YeoCDEJ5dGViYXNlOjpWMWIGcHJvdG8z", [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]);+ fileDesc("Chh2MS9yb2xsb3V0X3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIqwBChRCYXRjaFJ1blRhc2tzUmVxdWVzdBIqCgZwYXJl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6jABgtPkkwJWOgEqIlEvdjEve25hbWU9cHJvamVjdHMvKi9wbGFucy8qL3JvbGxvdXQvc3RhZ2VzLyovdGFza3MvKi90YXNrUnVucy8qfTpwcmV2aWV3Um9sbGJhY2tCqQEKD2NvbS5ieXRlYmFzZS52MUITUm9sbG91dFNlcnZpY2VQcm90b1ABWjRnaXRodWIuY29tL2J5dGViYXNlL2J5dGViYXNlL2JhY2tlbmQvZ2VuZXJhdGVkLWdvL3YxogIDQlhYqgILQnl0ZWJhc2UuVjHKAgtCeXRlYmFzZVxWMeICF0J5dGViYXNlXFYxXEdQQk1ldGFkYXRh6gIMQnl0ZWJhc2U6OlYxYgZwcm90bzM", [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.@@ -332,12 +332,19 @@ export const TaskRunLogEntry_RetryInfoSchema = /*@__PURE__*/export const TaskRunLogEntry_ComputeDiffSchema = /*@__PURE__*/messageDesc(file_v1_rollout_service, 19, 6);+/**+ * Describes the message bytebase.v1.TaskRunLogEntry.GhostMigration.+ * Use `create(TaskRunLogEntry_GhostMigrationSchema)` to create a new message.+ */+export const TaskRunLogEntry_GhostMigrationSchema = /*@__PURE__*/+ messageDesc(file_v1_rollout_service, 19, 7);+/*** Describes the message bytebase.v1.TaskRunLogEntry.ReleaseFileExecute.* Use `create(TaskRunLogEntry_ReleaseFileExecuteSchema)` to create a new message.*/export const TaskRunLogEntry_ReleaseFileExecuteSchema = /*@__PURE__*/- messageDesc(file_v1_rollout_service, 19, 7);+ messageDesc(file_v1_rollout_service, 19, 8);/*** Describes the enum bytebase.v1.TaskRunLogEntry.Type.diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 934e17d666..f0256e5fc0 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -28029,6 +28029,10 @@ components:title: release_file_executedescription: Release file execution details (if type is RELEASE_FILE_EXECUTE).$ref: '#/components/schemas/bytebase.v1.TaskRunLogEntry.ReleaseFileExecute'+ ghostMigration:+ title: ghost_migration+ description: gh-ost migration details (if type is GHOST_MIGRATION).+ $ref: '#/components/schemas/bytebase.v1.TaskRunLogEntry.GhostMigration'title: TaskRunLogEntryadditionalProperties: falsebytebase.v1.TaskRunLogEntry.CommandExecute:@@ -28124,6 +28128,24 @@ components:title: DatabaseSyncadditionalProperties: falsedescription: Database synchronization details.+ bytebase.v1.TaskRunLogEntry.GhostMigration:+ type: object+ properties:+ startTime:+ title: start_time+ description: When the gh-ost migration started.+ $ref: '#/components/schemas/google.protobuf.Timestamp'+ endTime:+ title: end_time+ description: When the gh-ost migration ended.+ $ref: '#/components/schemas/google.protobuf.Timestamp'+ error:+ type: string+ title: error+ description: Error message if the gh-ost migration failed.+ title: GhostMigration+ additionalProperties: false+ description: gh-ost migration details.bytebase.v1.TaskRunLogEntry.PriorBackup:type: objectproperties:@@ -28288,6 +28310,7 @@ components:- RETRY_INFO- COMPUTE_DIFF- RELEASE_FILE_EXECUTE+ - GHOST_MIGRATIONdescription: The type of log entry.bytebase.v1.TaskRunSession:type: objectdiff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex 9ac68dda58..13ccb120dc 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -324,6 +324,8 @@- [TaskRunLog.ComputeDiffStart](#bytebase-store-TaskRunLog-ComputeDiffStart)- [TaskRunLog.DatabaseSyncEnd](#bytebase-store-TaskRunLog-DatabaseSyncEnd)- [TaskRunLog.DatabaseSyncStart](#bytebase-store-TaskRunLog-DatabaseSyncStart)+ - [TaskRunLog.GhostMigrationEnd](#bytebase-store-TaskRunLog-GhostMigrationEnd)+ - [TaskRunLog.GhostMigrationStart](#bytebase-store-TaskRunLog-GhostMigrationStart)- [TaskRunLog.PriorBackupEnd](#bytebase-store-TaskRunLog-PriorBackupEnd)- [TaskRunLog.PriorBackupStart](#bytebase-store-TaskRunLog-PriorBackupStart)- [TaskRunLog.ReleaseFileExecute](#bytebase-store-TaskRunLog-ReleaseFileExecute)@@ -5156,6 +5158,8 @@ Table identifies a database table.| compute_diff_start | [TaskRunLog.ComputeDiffStart](#bytebase-store-TaskRunLog-ComputeDiffStart) | | || compute_diff_end | [TaskRunLog.ComputeDiffEnd](#bytebase-store-TaskRunLog-ComputeDiffEnd) | | || release_file_execute | [TaskRunLog.ReleaseFileExecute](#bytebase-store-TaskRunLog-ReleaseFileExecute) | | |+| ghost_migration_start | [TaskRunLog.GhostMigrationStart](#bytebase-store-TaskRunLog-GhostMigrationStart) | | |+| ghost_migration_end | [TaskRunLog.GhostMigrationEnd](#bytebase-store-TaskRunLog-GhostMigrationEnd) | | |@@ -5245,6 +5249,31 @@ Table identifies a database table.+<a name="bytebase-store-TaskRunLog-GhostMigrationEnd"></a>++### TaskRunLog.GhostMigrationEnd++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| error | [string](#string) | | |+++++++<a name="bytebase-store-TaskRunLog-GhostMigrationStart"></a>++### TaskRunLog.GhostMigrationStart+++++++<a name="bytebase-store-TaskRunLog-PriorBackupEnd"></a>### TaskRunLog.PriorBackupEnd@@ -5382,6 +5411,8 @@ Table identifies a database table.| COMPUTE_DIFF_START | 12 | || COMPUTE_DIFF_END | 13 | || RELEASE_FILE_EXECUTE | 14 | |+| GHOST_MIGRATION_START | 15 | |+| GHOST_MIGRATION_END | 16 | |diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex cd18bd324b..72541713c0 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -1475,6 +1475,14 @@<a href="#bytebase.store.TaskRunLog.DatabaseSyncStart"><span class="badge">M</span>TaskRunLog.DatabaseSyncStart</a></li>+ <li>+ <a href="#bytebase.store.TaskRunLog.GhostMigrationEnd"><span class="badge">M</span>TaskRunLog.GhostMigrationEnd</a>+ </li>++ <li>+ <a href="#bytebase.store.TaskRunLog.GhostMigrationStart"><span class="badge">M</span>TaskRunLog.GhostMigrationStart</a>+ </li>+<li><a href="#bytebase.store.TaskRunLog.PriorBackupEnd"><span class="badge">M</span>TaskRunLog.PriorBackupEnd</a></li>@@ -13956,6 +13964,20 @@ Format: instances/{instance}/databases/{database} </p></td><td><p> </p></td></tr>+ <tr>+ <td>ghost_migration_start</td>+ <td><a href="#bytebase.store.TaskRunLog.GhostMigrationStart">TaskRunLog.GhostMigrationStart</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>ghost_migration_end</td>+ <td><a href="#bytebase.store.TaskRunLog.GhostMigrationEnd">TaskRunLog.GhostMigrationEnd</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>+</tbody></table>@@ -14097,6 +14119,37 @@ Example: For "SELECT 你好;" in a UTF-8 sheet, range [0, 13) represents+ <h3 id="bytebase.store.TaskRunLog.GhostMigrationEnd">TaskRunLog.GhostMigrationEnd</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>error</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.store.TaskRunLog.GhostMigrationStart">TaskRunLog.GhostMigrationStart</h3>+ <p></p>+++++<h3 id="bytebase.store.TaskRunLog.PriorBackupEnd">TaskRunLog.PriorBackupEnd</h3><p></p>@@ -14395,6 +14448,18 @@ Example: For "SELECT 你好;" in a UTF-8 sheet, range [0, 13) represents<td><p></p></td></tr>+ <tr>+ <td>GHOST_MIGRATION_START</td>+ <td>15</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>GHOST_MIGRATION_END</td>+ <td>16</td>+ <td><p></p></td>+ </tr>+</tbody></table>diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex bb977582d4..bfe00a8586 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -469,6 +469,7 @@- [TaskRunLogEntry.CommandExecute.CommandResponse](#bytebase-v1-TaskRunLogEntry-CommandExecute-CommandResponse)- [TaskRunLogEntry.ComputeDiff](#bytebase-v1-TaskRunLogEntry-ComputeDiff)- [TaskRunLogEntry.DatabaseSync](#bytebase-v1-TaskRunLogEntry-DatabaseSync)+ - [TaskRunLogEntry.GhostMigration](#bytebase-v1-TaskRunLogEntry-GhostMigration)- [TaskRunLogEntry.PriorBackup](#bytebase-v1-TaskRunLogEntry-PriorBackup)- [TaskRunLogEntry.PriorBackup.PriorBackupDetail](#bytebase-v1-TaskRunLogEntry-PriorBackup-PriorBackupDetail)- [TaskRunLogEntry.PriorBackup.PriorBackupDetail.Item](#bytebase-v1-TaskRunLogEntry-PriorBackup-PriorBackupDetail-Item)@@ -7798,6 +7799,7 @@ Information about why a task run is waiting.| retry_info | [TaskRunLogEntry.RetryInfo](#bytebase-v1-TaskRunLogEntry-RetryInfo) | | Retry information details (if type is RETRY_INFO). || compute_diff | [TaskRunLogEntry.ComputeDiff](#bytebase-v1-TaskRunLogEntry-ComputeDiff) | | Compute diff details (if type is COMPUTE_DIFF). || release_file_execute | [TaskRunLogEntry.ReleaseFileExecute](#bytebase-v1-TaskRunLogEntry-ReleaseFileExecute) | | Release file execution details (if type is RELEASE_FILE_EXECUTE). |+| ghost_migration | [TaskRunLogEntry.GhostMigration](#bytebase-v1-TaskRunLogEntry-GhostMigration) | | gh-ost migration details (if type is GHOST_MIGRATION). |@@ -7874,6 +7876,23 @@ Database synchronization details.+<a name="bytebase-v1-TaskRunLogEntry-GhostMigration"></a>++### TaskRunLogEntry.GhostMigration+gh-ost migration details.+++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| start_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | When the gh-ost migration started. |+| end_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | When the gh-ost migration ended. |+| error | [string](#string) | | Error message if the gh-ost migration failed. |++++++<a name="bytebase-v1-TaskRunLogEntry-PriorBackup"></a>### TaskRunLogEntry.PriorBackup@@ -8164,6 +8183,7 @@ The type of log entry.| RETRY_INFO | 7 | Retry information. || COMPUTE_DIFF | 8 | Schema diff computation. || RELEASE_FILE_EXECUTE | 9 | Release file execution. |+| GHOST_MIGRATION | 10 | gh-ost online migration. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex 78626d2065..6a5beaa24c 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -1970,6 +1970,10 @@<a href="#bytebase.v1.TaskRunLogEntry.DatabaseSync"><span class="badge">M</span>TaskRunLogEntry.DatabaseSync</a></li>+ <li>+ <a href="#bytebase.v1.TaskRunLogEntry.GhostMigration"><span class="badge">M</span>TaskRunLogEntry.GhostMigration</a>+ </li>+<li><a href="#bytebase.v1.TaskRunLogEntry.PriorBackup"><span class="badge">M</span>TaskRunLogEntry.PriorBackup</a></li>@@ -22161,6 +22165,13 @@ This can only be set when creating the task run calling BatchRunTasks. </p></td><td><p>Release file execution details (if type is RELEASE_FILE_EXECUTE). </p></td></tr>+ <tr>+ <td>ghost_migration</td>+ <td><a href="#bytebase.v1.TaskRunLogEntry.GhostMigration">TaskRunLogEntry.GhostMigration</a></td>+ <td></td>+ <td><p>gh-ost migration details (if type is GHOST_MIGRATION). </p></td>+ </tr>+</tbody></table>@@ -22337,6 +22348,44 @@ Example: For "SELECT 你好;" in a UTF-8 sheet, range [0, 13) represents+ <h3 id="bytebase.v1.TaskRunLogEntry.GhostMigration">TaskRunLogEntry.GhostMigration</h3>+ <p>gh-ost migration details.</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>When the gh-ost migration started. </p></td>+ </tr>++ <tr>+ <td>end_time</td>+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>+ <td></td>+ <td><p>When the gh-ost migration ended. </p></td>+ </tr>++ <tr>+ <td>error</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Error message if the gh-ost migration failed. </p></td>+ </tr>++ </tbody>+ </table>+++++<h3 id="bytebase.v1.TaskRunLogEntry.PriorBackup">TaskRunLogEntry.PriorBackup</h3><p>Prior backup operation details.</p>@@ -23096,6 +23145,12 @@ Use payload DatabaseDataExport.</p></td><td><p>Release file execution.</p></td></tr>+ <tr>+ <td>GHOST_MIGRATION</td>+ <td>10</td>+ <td><p>gh-ost online migration.</p></td>+ </tr>+</tbody></table>diff --git a/proto/store/store/task_run_log.proto b/proto/store/store/task_run_log.protoindex 31145b03d5..4a3525e065 100644--- a/proto/store/store/task_run_log.proto+++ b/proto/store/store/task_run_log.proto@@ -22,6 +22,8 @@ message TaskRunLog {COMPUTE_DIFF_START = 12;COMPUTE_DIFF_END = 13;RELEASE_FILE_EXECUTE = 14;+ GHOST_MIGRATION_START = 15;+ GHOST_MIGRATION_END = 16;}Type type = 1;string replica_id = 12;@@ -38,6 +40,8 @@ message TaskRunLog {ComputeDiffStart compute_diff_start = 14;ComputeDiffEnd compute_diff_end = 15;ReleaseFileExecute release_file_execute = 16;+ GhostMigrationStart ghost_migration_start = 17;+ GhostMigrationEnd ghost_migration_end = 18;message SchemaDumpStart {}message SchemaDumpEnd {@@ -93,6 +97,10 @@ message TaskRunLog {// The file path within the release (e.g., "2.2/V0001_create_table.sql").string file_path = 2;}+ message GhostMigrationStart {}+ message GhostMigrationEnd {+ string error = 1;+ }}// PriorBackupDetail contains information about automatic backups created before migration.diff --git a/proto/v1/v1/rollout_service.proto b/proto/v1/v1/rollout_service.protoindex 410b9889e2..649df4a904 100644--- a/proto/v1/v1/rollout_service.proto+++ b/proto/v1/v1/rollout_service.proto@@ -536,6 +536,8 @@ message TaskRunLogEntry {COMPUTE_DIFF = 8;// Release file execution.RELEASE_FILE_EXECUTE = 9;+ // gh-ost online migration.+ GHOST_MIGRATION = 10;}// The type of this log entry.Type type = 1;@@ -559,6 +561,8 @@ message TaskRunLogEntry {ComputeDiff compute_diff = 11;// Release file execution details (if type is RELEASE_FILE_EXECUTE).ReleaseFileExecute release_file_execute = 12;+ // gh-ost migration details (if type is GHOST_MIGRATION).+ GhostMigration ghost_migration = 13;// Schema dump operation details.message SchemaDump {@@ -690,6 +694,16 @@ message TaskRunLogEntry {string error = 3;}+ // gh-ost migration details.+ message GhostMigration {+ // When the gh-ost migration started.+ google.protobuf.Timestamp start_time = 1;+ // When the gh-ost migration ended.+ google.protobuf.Timestamp end_time = 2;+ // Error message if the gh-ost migration failed.+ string error = 3;+ }+// Release file execution details.message ReleaseFileExecute {// The version of the file being executed (e.g., "0001").