Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore(proto): comment for task run session (#12854)
p0nyeb30681a185d
diff --git a/frontend/src/types/proto/v1/rollout_service.ts b/frontend/src/types/proto/v1/rollout_service.tsindex be692ca1e1..82615e80fb 100644--- a/frontend/src/types/proto/v1/rollout_service.ts+++ b/frontend/src/types/proto/v1/rollout_service.ts@@ -954,6 +954,10 @@ export interface TaskRunSession {}export interface TaskRunSession_Postgres {+ /**+ * The first session is the session of the task run executing commands.+ * The remaining sessions are the sessions that block the first session.+ */sessions: TaskRunSession_Postgres_Session[];}diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex f2da8b5197..fa5400fd52 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -13784,6 +13784,9 @@ components:type: arrayitems:$ref: '#/components/schemas/Postgres_Session'+ description: |-+ The first session is the session of the task run executing commands.+ The remaining sessions are the sessions that block the first session.TaskRun_ExecutionDetail:type: objectproperties:diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 6c382a3dba..9eb67d1b1a 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -8481,7 +8481,7 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| sessions | [TaskRunSession.Postgres.Session](#bytebase-v1-TaskRunSession-Postgres-Session) | repeated | |+| sessions | [TaskRunSession.Postgres.Session](#bytebase-v1-TaskRunSession-Postgres-Session) | repeated | The first session is the session of the task run executing commands. The remaining sessions are the sessions that block the first session. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex 98105576ee..83e18cf23e 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -23522,7 +23522,8 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory<td>sessions</td><td><a href="#bytebase.v1.TaskRunSession.Postgres.Session">TaskRunSession.Postgres.Session</a></td><td>repeated</td>- <td><p> </p></td>+ <td><p>The first session is the session of the task run executing commands.+The remaining sessions are the sessions that block the first session. </p></td></tr></tbody>diff --git a/proto/generated-go/v1/rollout_service.pb.go b/proto/generated-go/v1/rollout_service.pb.goindex 40028e13c2..5a29f43302 100644--- a/proto/generated-go/v1/rollout_service.pb.go+++ b/proto/generated-go/v1/rollout_service.pb.go@@ -2792,6 +2792,8 @@ type TaskRunSession_Postgres struct {sizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields+ // The first session is the session of the task run executing commands.+ // The remaining sessions are the sessions that block the first session.Sessions []*TaskRunSession_Postgres_Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`}diff --git a/proto/v1/rollout_service.proto b/proto/v1/rollout_service.protoindex 275af4d30d..8abd23ef6c 100644--- a/proto/v1/rollout_service.proto+++ b/proto/v1/rollout_service.proto@@ -463,6 +463,8 @@ message TaskRunSession {}message Postgres {+ // The first session is the session of the task run executing commands.+ // The remaining sessions are the sessions that block the first session.repeated Session sessions = 1;// Read from `pg_stat_activity`