Skip to content

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

chore: check deploy id for task run logs (#12983)

boojacka51c55ae2c24
diff --git a/backend/api/v1/actuator_service.go b/backend/api/v1/actuator_service.go
index 494513e75c..a7042c344c 100644
--- a/backend/api/v1/actuator_service.go
+++ b/backend/api/v1/actuator_service.go
@@ -151,6 +151,7 @@ func (s *ActuatorService) getServerInfo(ctx context.Context) (*v1pb.ActuatorInfo
Lsp: s.profile.Lsp,
PreUpdateBackup: s.profile.PreUpdateBackup,
UnlicensedFeatures: unlicensedFeaturesString,
+ DeployId: s.profile.DeployID,
}
return &serverInfo, nil
diff --git a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/TaskRunLogTable.vue b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/TaskRunLogTable.vue
index 78b694633f..268a395681 100644
--- a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/TaskRunLogTable.vue
+++ b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/TaskRunLogTable.vue
@@ -10,12 +10,13 @@
<script setup lang="tsx">
import { computedAsync } from "@vueuse/core";
-import { NDataTable, type DataTableColumn } from "naive-ui";
+import { CircleAlertIcon } from "lucide-vue-next";
+import { NTooltip, NDataTable, type DataTableColumn } from "naive-ui";
import { computed, ref } from "vue";
import { useI18n } from "vue-i18n";
import { useIssueContext } from "@/components/IssueV1";
import { rolloutServiceClient } from "@/grpcweb";
-import { useSheetV1Store } from "@/store";
+import { useActuatorV1Store, useSheetV1Store } from "@/store";
import {
type TaskRun,
TaskRunLogEntry_Type,
@@ -32,6 +33,7 @@ const props = defineProps<{
}>();
const { t } = useI18n();
+const actuatorStore = useActuatorV1Store();
const { selectedTask } = useIssueContext();
const isLoadingTaskRunLog = ref(false);
const isLoadingSheet = ref(false);
@@ -77,6 +79,7 @@ const flattenLogEntries = computed(() => {
commandExecute,
transactionControl,
databaseSync,
+ deployId,
} = entry;
if (
type === TaskRunLogEntry_Type.TASK_RUN_STATUS_UPDATE &&
@@ -84,6 +87,7 @@ const flattenLogEntries = computed(() => {
) {
flattenEntries.push({
batch,
+ deployId,
serial: 0,
type: TaskRunLogEntry_Type.TASK_RUN_STATUS_UPDATE,
startTime: entry.logTime,
@@ -94,6 +98,7 @@ const flattenLogEntries = computed(() => {
if (type === TaskRunLogEntry_Type.DATABASE_SYNC && databaseSync) {
flattenEntries.push({
batch,
+ deployId,
serial: 0,
type: TaskRunLogEntry_Type.DATABASE_SYNC,
startTime: databaseSync.startTime,
@@ -107,6 +112,7 @@ const flattenLogEntries = computed(() => {
) {
flattenEntries.push({
batch,
+ deployId,
serial: 0,
type: TaskRunLogEntry_Type.TRANSACTION_CONTROL,
startTime: entry.logTime,
@@ -117,6 +123,7 @@ const flattenLogEntries = computed(() => {
if (type === TaskRunLogEntry_Type.SCHEMA_DUMP && schemaDump) {
flattenEntries.push({
batch,
+ deployId,
serial: 0,
type: TaskRunLogEntry_Type.SCHEMA_DUMP,
startTime: schemaDump.startTime,
@@ -137,6 +144,7 @@ const flattenLogEntries = computed(() => {
const endTime = response?.logTime;
flattenEntries.push({
batch,
+ deployId,
serial,
type: TaskRunLogEntry_Type.COMMAND_EXECUTE,
startTime,
@@ -196,7 +204,26 @@ const columns = computed(() => {
return 1;
},
render: (entry) => {
- return String(entry.batch + 1);
+ return (
+ <div class="flex flex-row items-center gap-1">
+ <span>{String(entry.batch + 1)}</span>
+ {actuatorStore.serverInfo?.deployId !== entry.deployId && (
+ <NTooltip>
+ {{
+ trigger: () => (
+ <CircleAlertIcon class="w-4 h-auto text-red-600" />
+ ),
+ default: () => (
+ <div class="max-w-[20rem]">
+ Deploy ID mismatch. Please check if there is another
+ deployment running.
+ </div>
+ ),
+ }}
+ </NTooltip>
+ )}
+ </div>
+ );
},
},
{
diff --git a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/common.ts b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/common.ts
index 343e887205..d3776d4ed8 100644
--- a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/common.ts
+++ b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/common.ts
@@ -13,6 +13,7 @@ export type FlattenLogEntry = {
batch: number;
serial: number;
type: TaskRunLogEntry_Type;
+ deployId: string;
startTime?: Date;
endTime?: Date;
schemaDump?: TaskRunLogEntry_SchemaDump;
diff --git a/frontend/src/layouts/BodyLayout.vue b/frontend/src/layouts/BodyLayout.vue
index 0f83bf221c..b4b6e3dd05 100644
--- a/frontend/src/layouts/BodyLayout.vue
+++ b/frontend/src/layouts/BodyLayout.vue
@@ -150,6 +150,7 @@
</div>
<div>BE Git hash: {{ gitCommitBE }}</div>
<div>FE Git hash: {{ gitCommitFE }}</div>
+ <div>Deploy ID: {{ deployId }}</div>
</div>
</template>
</NTooltip>
@@ -350,6 +351,9 @@ const gitCommitFE = computed(() => {
const commitHash = import.meta.env.BB_GIT_COMMIT_ID_FE as string | undefined;
return (commitHash ?? "unknown").substring(0, 7);
});
+const deployId = computed(() => {
+ return actuatorStore.serverInfo?.deployId;
+});
const currentPlan = computed((): string => {
const plan = subscriptionStore.currentPlan;
diff --git a/frontend/src/types/proto/v1/actuator_service.ts b/frontend/src/types/proto/v1/actuator_service.ts
index 9f3bbd0864..c90fa29d3f 100644
--- a/frontend/src/types/proto/v1/actuator_service.ts
+++ b/frontend/src/types/proto/v1/actuator_service.ts
@@ -107,11 +107,13 @@ export interface ActuatorInfo {
debug: boolean;
/** lsp is the enablement of lsp in SQL Editor. */
lsp: boolean;
- /** lsp is the enablement of data backup prior to data update. */
+ /** pre_update_backup is the enablement of data backup prior to data update. */
preUpdateBackup: boolean;
/** iam_guard is the enablement of IAM checks. */
iamGuard: boolean;
unlicensedFeatures: string[];
+ /** deploy_id is the identifier for the started bytebase service deployment. */
+ deployId: string;
}
function createBaseGetResourcePackageRequest(): GetResourcePackageRequest {
@@ -664,6 +666,7 @@ function createBaseActuatorInfo(): ActuatorInfo {
preUpdateBackup: false,
iamGuard: false,
unlicensedFeatures: [],
+ deployId: "",
};
}
@@ -726,6 +729,9 @@ export const ActuatorInfo = {
for (const v of message.unlicensedFeatures) {
writer.uint32(154).string(v!);
}
+ if (message.deployId !== "") {
+ writer.uint32(162).string(message.deployId);
+ }
return writer;
},
@@ -869,6 +875,13 @@ export const ActuatorInfo = {
message.unlicensedFeatures.push(reader.string());
continue;
+ case 20:
+ if (tag !== 162) {
+ break;
+ }
+
+ message.deployId = reader.string();
+ continue;
}
if ((tag & 7) === 4 || tag === 0) {
break;
@@ -901,6 +914,7 @@ export const ActuatorInfo = {
unlicensedFeatures: globalThis.Array.isArray(object?.unlicensedFeatures)
? object.unlicensedFeatures.map((e: any) => globalThis.String(e))
: [],
+ deployId: isSet(object.deployId) ? globalThis.String(object.deployId) : "",
};
},
@@ -963,6 +977,9 @@ export const ActuatorInfo = {
if (message.unlicensedFeatures?.length) {
obj.unlicensedFeatures = message.unlicensedFeatures;
}
+ if (message.deployId !== "") {
+ obj.deployId = message.deployId;
+ }
return obj;
},
@@ -990,6 +1007,7 @@ export const ActuatorInfo = {
message.preUpdateBackup = object.preUpdateBackup ?? false;
message.iamGuard = object.iamGuard ?? false;
message.unlicensedFeatures = object.unlicensedFeatures?.map((e) => e) || [];
+ message.deployId = object.deployId ?? "";
return message;
},
};
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index e12373bca5..c8efebd812 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -8330,7 +8330,7 @@ components:
description: lsp is the enablement of lsp in SQL Editor.
preUpdateBackup:
type: boolean
- description: lsp is the enablement of data backup prior to data update.
+ description: pre_update_backup is the enablement of data backup prior to data update.
iamGuard:
type: boolean
description: iam_guard is the enablement of IAM checks.
@@ -8338,6 +8338,10 @@ components:
type: array
items:
type: string
+ deployId:
+ readOnly: true
+ type: string
+ description: deploy_id is the identifier for the started bytebase service deployment.
description: |-
ServerInfo is the API message for server info.
Actuator concept is similar to the Spring Boot Actuator.
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 4d88b9c863..d6b5afdf7e 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -791,9 +791,10 @@ Actuator concept is similar to the Spring Boot Actuator.
| gitops_webhook_url | [string](#string) | | gitops_webhook_url is the webhook URL for GitOps. |
| debug | [bool](#bool) | | debug flag means if the debug mode is enabled. |
| lsp | [bool](#bool) | | lsp is the enablement of lsp in SQL Editor. |
-| pre_update_backup | [bool](#bool) | | lsp is the enablement of data backup prior to data update. |
+| pre_update_backup | [bool](#bool) | | pre_update_backup is the enablement of data backup prior to data update. |
| iam_guard | [bool](#bool) | | iam_guard is the enablement of IAM checks. |
| unlicensed_features | [string](#string) | repeated | |
+| deploy_id | [string](#string) | | deploy_id is the identifier for the started bytebase service deployment. |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index adff73f52a..9f360822eb 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -3127,7 +3127,7 @@
<td>pre_update_backup</td>
<td><a href="#bool">bool</a></td>
<td></td>
- <td><p>lsp is the enablement of data backup prior to data update. </p></td>
+ <td><p>pre_update_backup is the enablement of data backup prior to data update. </p></td>
</tr>
<tr>
@@ -3144,6 +3144,13 @@
<td><p> </p></td>
</tr>
+ <tr>
+ <td>deploy_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>deploy_id is the identifier for the started bytebase service deployment. </p></td>
+ </tr>
+
</tbody>
</table>
diff --git a/proto/generated-go/v1/actuator_service.pb.go b/proto/generated-go/v1/actuator_service.pb.go
index a2b2bc7bc4..513be1beb6 100644
--- a/proto/generated-go/v1/actuator_service.pb.go
+++ b/proto/generated-go/v1/actuator_service.pb.go
@@ -485,11 +485,13 @@ type ActuatorInfo struct {
Debug bool `protobuf:"varint,15,opt,name=debug,proto3" json:"debug,omitempty"`
// lsp is the enablement of lsp in SQL Editor.
Lsp bool `protobuf:"varint,16,opt,name=lsp,proto3" json:"lsp,omitempty"`
- // lsp is the enablement of data backup prior to data update.
+ // pre_update_backup is the enablement of data backup prior to data update.
PreUpdateBackup bool `protobuf:"varint,17,opt,name=pre_update_backup,json=preUpdateBackup,proto3" json:"pre_update_backup,omitempty"`
// iam_guard is the enablement of IAM checks.
IamGuard bool `protobuf:"varint,18,opt,name=iam_guard,json=iamGuard,proto3" json:"iam_guard,omitempty"`
UnlicensedFeatures []string `protobuf:"bytes,19,rep,name=unlicensed_features,json=unlicensedFeatures,proto3" json:"unlicensed_features,omitempty"`
+ // deploy_id is the identifier for the started bytebase service deployment.
+ DeployId string `protobuf:"bytes,20,opt,name=deploy_id,json=deployId,proto3" json:"deploy_id,omitempty"`
}
func (x *ActuatorInfo) Reset() {
@@ -657,6 +659,13 @@ func (x *ActuatorInfo) GetUnlicensedFeatures() []string {
return nil
}
+func (x *ActuatorInfo) GetDeployId() string {
+ if x != nil {
+ return x.DeployId
+ }
+ return ""
+}
+
var File_v1_actuator_service_proto protoreflect.FileDescriptor
var file_v1_actuator_service_proto_rawDesc = []byte{
@@ -715,7 +724,7 @@ var file_v1_actuator_service_proto_rawDesc = []byte{
0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f,
0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61,
0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74,
- 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe0, 0x05,
+ 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x83, 0x06,
0x0a, 0x0c, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e,
0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23,
@@ -762,49 +771,51 @@ var file_v1_actuator_service_proto_rawDesc = []byte{
0x2f, 0x0a, 0x13, 0x75, 0x6e, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x64, 0x5f, 0x66, 0x65,
0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x75, 0x6e,
0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
- 0x32, 0x84, 0x05, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x75, 0x61,
- 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f,
- 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x75, 0x61,
- 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x20, 0xda, 0x41, 0x00, 0x80, 0xea, 0x30, 0x01,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75,
- 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x97, 0x01, 0x0a, 0x12, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f,
- 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66,
- 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49,
- 0x6e, 0x66, 0x6f, 0x22, 0x3e, 0xda, 0x41, 0x14, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72,
- 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x90, 0xea, 0x30, 0x02,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x08, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72,
- 0x32, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x69,
- 0x6e, 0x66, 0x6f, 0x12, 0x66, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63,
- 0x68, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1e, 0x80, 0xea, 0x30,
- 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x2a, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74,
- 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x76, 0x0a, 0x0c, 0x4c,
- 0x69, 0x73, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x12, 0x20, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65,
- 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
- 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x22, 0x21, 0xda, 0x41, 0x00, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12,
- 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x64, 0x65,
- 0x62, 0x75, 0x67, 0x12, 0x81, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,
- 0x22, 0x25, 0xda, 0x41, 0x00, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12,
- 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x72, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72,
- 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
+ 0x12, 0x21, 0x0a, 0x09, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20,
+ 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x08, 0x64, 0x65, 0x70, 0x6c, 0x6f,
+ 0x79, 0x49, 0x64, 0x32, 0x84, 0x05, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72,
+ 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x63,
+ 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x75,
+ 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63,
+ 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x20, 0xda, 0x41, 0x00, 0x80,
+ 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x61,
+ 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x97, 0x01, 0x0a,
+ 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49,
+ 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72,
+ 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74,
+ 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x3e, 0xda, 0x41, 0x14, 0x61, 0x63, 0x74, 0x75, 0x61,
+ 0x74, 0x6f, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x90,
+ 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x08, 0x61, 0x63, 0x74, 0x75, 0x61,
+ 0x74, 0x6f, 0x72, 0x32, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f,
+ 0x72, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x66, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
+ 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1e,
+ 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x2a, 0x12, 0x2f, 0x76, 0x31, 0x2f,
+ 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x76,
+ 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x12, 0x20,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
+ 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
+ 0x69, 0x73, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x22, 0x21, 0xda, 0x41, 0x00, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93,
+ 0x02, 0x14, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72,
+ 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x12, 0x81, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65,
+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x26, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52,
+ 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b,
+ 0x61, 0x67, 0x65, 0x22, 0x25, 0xda, 0x41, 0x00, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,
+ 0x02, 0x18, 0x12, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72,
+ 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65,
+ 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/proto/v1/actuator_service.proto b/proto/v1/actuator_service.proto
index 7f4db6b5d3..b431750181 100644
--- a/proto/v1/actuator_service.proto
+++ b/proto/v1/actuator_service.proto
@@ -154,11 +154,14 @@ message ActuatorInfo {
// lsp is the enablement of lsp in SQL Editor.
bool lsp = 16;
- // lsp is the enablement of data backup prior to data update.
+ // pre_update_backup is the enablement of data backup prior to data update.
bool pre_update_backup = 17;
// iam_guard is the enablement of IAM checks.
bool iam_guard = 18;
repeated string unlicensed_features = 19;
+
+ // deploy_id is the identifier for the started bytebase service deployment.
+ string deploy_id = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
}