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: return file path (#14931)
p0ny3ef3c5a5b526
diff --git a/backend/api/v1/release_service.go b/backend/api/v1/release_service.goindex 04b9e45669..d7a6faeb9f 100644--- a/backend/api/v1/release_service.go+++ b/backend/api/v1/release_service.go@@ -366,7 +366,7 @@ func (s *ReleaseService) CheckRelease(ctx context.Context, request *v1pb.CheckRe// If the advice status is not SUCCESS, we will add the file and advices to the response.if adviceStatus != storepb.Advice_SUCCESS {response.Results = append(response.Results, &v1pb.CheckReleaseResponse_CheckResult{- File: file.Id,+ File: file.Path,Advices: advices,})}diff --git a/frontend/src/types/proto/v1/release_service.ts b/frontend/src/types/proto/v1/release_service.tsindex 53129c8882..136b8d2a11 100644--- a/frontend/src/types/proto/v1/release_service.ts+++ b/frontend/src/types/proto/v1/release_service.ts@@ -159,7 +159,7 @@ export interface CheckReleaseResponse {}export interface CheckReleaseResponse_CheckResult {- /** The file id that is being checked. */+ /** The file path that is being checked. */file: string;advices: Advice[];}diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex de16a00019..14af9208a6 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -9541,7 +9541,7 @@ components:properties:file:type: string- description: The file id that is being checked.+ description: The file path that is being checked.advices:type: arrayitems:diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 28d7cf4db8..13ee0307e3 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -9865,7 +9865,7 @@ for field description.| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| file | [string](#string) | | The file id that is being checked. |+| file | [string](#string) | | The file path that is being checked. || advices | [Advice](#bytebase-v1-Advice) | repeated | |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex b80eb70f64..40991bc062 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -27400,7 +27400,7 @@ instances/{instance}/databases/{database} </p></td><td>file</td><td><a href="#string">string</a></td><td></td>- <td><p>The file id that is being checked. </p></td>+ <td><p>The file path that is being checked. </p></td></tr><tr>diff --git a/proto/generated-go/v1/release_service.pb.go b/proto/generated-go/v1/release_service.pb.goindex 141faef02a..ed6e89cc04 100644--- a/proto/generated-go/v1/release_service.pb.go+++ b/proto/generated-go/v1/release_service.pb.go@@ -707,7 +707,7 @@ func (x *Release) GetState() State {type CheckReleaseResponse_CheckResult struct {state protoimpl.MessageState `protogen:"open.v1"`- // The file id that is being checked.+ // The file path that is being checked.File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`Advices []*Advice `protobuf:"bytes,2,rep,name=advices,proto3" json:"advices,omitempty"`unknownFields protoimpl.UnknownFieldsdiff --git a/proto/v1/release_service.proto b/proto/v1/release_service.protoindex a383ab3c5c..7bc3ad388e 100644--- a/proto/v1/release_service.proto+++ b/proto/v1/release_service.proto@@ -149,7 +149,7 @@ message CheckReleaseRequest {message CheckReleaseResponse {message CheckResult {- // The file id that is being checked.+ // The file path that is being checked.string file = 1;repeated Advice advices = 2;