Skip to content

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

chore: change position (#9451)

rebelicefe0661b2e21e
diff --git a/frontend/src/types/proto/v1/rollout_service.ts b/frontend/src/types/proto/v1/rollout_service.ts
index 1ee867a52c..84eefc3858 100644
--- a/frontend/src/types/proto/v1/rollout_service.ts
+++ b/frontend/src/types/proto/v1/rollout_service.ts
@@ -5744,16 +5744,16 @@ function createBaseTaskRun_ExecutionDetail(): TaskRun_ExecutionDetail {
export const TaskRun_ExecutionDetail = {
encode(message: TaskRun_ExecutionDetail, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.commandsTotal !== 0) {
- writer.uint32(16).int32(message.commandsTotal);
+ writer.uint32(8).int32(message.commandsTotal);
}
if (message.commandsCompleted !== 0) {
- writer.uint32(24).int32(message.commandsCompleted);
+ writer.uint32(16).int32(message.commandsCompleted);
}
if (message.commandStartPosition !== undefined) {
- TaskRun_ExecutionDetail_Position.encode(message.commandStartPosition, writer.uint32(34).fork()).ldelim();
+ TaskRun_ExecutionDetail_Position.encode(message.commandStartPosition, writer.uint32(26).fork()).ldelim();
}
if (message.commandEndPosition !== undefined) {
- TaskRun_ExecutionDetail_Position.encode(message.commandEndPosition, writer.uint32(42).fork()).ldelim();
+ TaskRun_ExecutionDetail_Position.encode(message.commandEndPosition, writer.uint32(34).fork()).ldelim();
}
return writer;
},
@@ -5765,29 +5765,29 @@ export const TaskRun_ExecutionDetail = {
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
- case 2:
- if (tag !== 16) {
+ case 1:
+ if (tag !== 8) {
break;
}
message.commandsTotal = reader.int32();
continue;
- case 3:
- if (tag !== 24) {
+ case 2:
+ if (tag !== 16) {
break;
}
message.commandsCompleted = reader.int32();
continue;
- case 4:
- if (tag !== 34) {
+ case 3:
+ if (tag !== 26) {
break;
}
message.commandStartPosition = TaskRun_ExecutionDetail_Position.decode(reader, reader.uint32());
continue;
- case 5:
- if (tag !== 42) {
+ case 4:
+ if (tag !== 34) {
break;
}
diff --git a/proto/generated-go/v1/rollout_service.pb.go b/proto/generated-go/v1/rollout_service.pb.go
index 7e7cbf973f..a0227e9444 100644
--- a/proto/generated-go/v1/rollout_service.pb.go
+++ b/proto/generated-go/v1/rollout_service.pb.go
@@ -3769,10 +3769,10 @@ type TaskRun_ExecutionDetail struct {
unknownFields protoimpl.UnknownFields
// Currently, the following fields are only used for EXECUTING status.
- CommandsTotal int32 `protobuf:"varint,2,opt,name=commands_total,json=commandsTotal,proto3" json:"commands_total,omitempty"`
- CommandsCompleted int32 `protobuf:"varint,3,opt,name=commands_completed,json=commandsCompleted,proto3" json:"commands_completed,omitempty"`
- CommandStartPosition *TaskRun_ExecutionDetail_Position `protobuf:"bytes,4,opt,name=command_start_position,json=commandStartPosition,proto3" json:"command_start_position,omitempty"`
- CommandEndPosition *TaskRun_ExecutionDetail_Position `protobuf:"bytes,5,opt,name=command_end_position,json=commandEndPosition,proto3" json:"command_end_position,omitempty"`
+ CommandsTotal int32 `protobuf:"varint,1,opt,name=commands_total,json=commandsTotal,proto3" json:"commands_total,omitempty"`
+ CommandsCompleted int32 `protobuf:"varint,2,opt,name=commands_completed,json=commandsCompleted,proto3" json:"commands_completed,omitempty"`
+ CommandStartPosition *TaskRun_ExecutionDetail_Position `protobuf:"bytes,3,opt,name=command_start_position,json=commandStartPosition,proto3" json:"command_start_position,omitempty"`
+ CommandEndPosition *TaskRun_ExecutionDetail_Position `protobuf:"bytes,4,opt,name=command_end_position,json=commandEndPosition,proto3" json:"command_end_position,omitempty"`
}
func (x *TaskRun_ExecutionDetail) Reset() {
@@ -4454,19 +4454,19 @@ var file_v1_rollout_service_proto_rawDesc = []byte{
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61,
0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0xe5, 0x02, 0x0a, 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75,
0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f,
- 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
+ 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x54, 0x6f, 0x74, 0x61,
0x6c, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x5f, 0x63, 0x6f,
- 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x63,
+ 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x63,
0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64,
0x12, 0x63, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72,
- 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
+ 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x73,
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
- 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20,
+ 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,
0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69,
diff --git a/proto/v1/rollout_service.proto b/proto/v1/rollout_service.proto
index a5e7a81133..4e357e551f 100644
--- a/proto/v1/rollout_service.proto
+++ b/proto/v1/rollout_service.proto
@@ -712,8 +712,8 @@ message TaskRun {
message ExecutionDetail {
// Currently, the following fields are only used for EXECUTING status.
- int32 commands_total = 2;
- int32 commands_completed = 3;
+ int32 commands_total = 1;
+ int32 commands_completed = 2;
message Position {
// The line number, starting from 0.
@@ -721,8 +721,8 @@ message TaskRun {
// The column number, starting from 0.
int32 column = 2;
}
- Position command_start_position = 4;
- Position command_end_position = 5;
+ Position command_start_position = 3;
+ Position command_end_position = 4;
}
ExecutionDetail execution_detail = 15;