Skip to content

Commit fbf86d2

Browse files
committed
RequestMetadata: Make tool_details repeated
It is possible for more than one tool to be involved in the sending of a gRPC request, for example when a client-side proxy is used it is interesting to know the name and version of both the proxy and the original client tool. To facilitate this in RequestMetadata, this commit updates the tool_details field to be `repeated`, allowing proxies and other related tools to also be recorded in the metadata sent with requests.
1 parent 0d21f29 commit fbf86d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/bazel/remote/execution/v2/remote_execution.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2103,8 +2103,8 @@ message ToolDetails {
21032103
// metadata, the user may ignore the base64 encoding and assume it is simply
21042104
// serialized as a binary message.
21052105
message RequestMetadata {
2106-
// The details for the tool invoking the requests.
2107-
ToolDetails tool_details = 1;
2106+
// The details for the tools involved in sending the requests.
2107+
repeated ToolDetails tool_details = 1;
21082108

21092109
// An identifier that ties multiple requests to the same action.
21102110
// For example, multiple requests to the CAS, Action Cache, and Execution

0 commit comments

Comments
 (0)