aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Gensure <werkt@users.noreply.github.com>2024-04-02 17:12:37 -0400
committerGitHub <noreply@github.com>2024-04-02 17:12:37 -0400
commit7f51b3676b5d19df726783d9a861e45d7389b5ae (patch)
tree4233dfed26947f44cf543facad04eecaa8df4362
parent96942a2107c702ed3ca4a664f7eeb7c85ba8dc77 (diff)
downloadbazelbuild-remote-apis-7f51b3676b5d19df726783d9a861e45d7389b5ae.tar.gz
inline hinting for ExecuteRequest (#287)
Match the capabilities of GetActionRequest to support hints for composing ActionResults for Execute
-rw-r--r--build/bazel/remote/execution/v2/remote_execution.proto14
1 files changed, 14 insertions, 0 deletions
diff --git a/build/bazel/remote/execution/v2/remote_execution.proto b/build/bazel/remote/execution/v2/remote_execution.proto
index 1a01b7f..31e20dc 100644
--- a/build/bazel/remote/execution/v2/remote_execution.proto
+++ b/build/bazel/remote/execution/v2/remote_execution.proto
@@ -1433,6 +1433,20 @@ message ExecuteRequest {
// length of the action digest hash and the digest functions announced
// in the server's capabilities.
DigestFunction.Value digest_function = 9;
+
+ // A hint to the server to request inlining stdout in the
+ // [ActionResult][build.bazel.remote.execution.v2.ActionResult] message.
+ bool inline_stdout = 10;
+
+ // A hint to the server to request inlining stderr in the
+ // [ActionResult][build.bazel.remote.execution.v2.ActionResult] message.
+ bool inline_stderr = 11;
+
+ // A hint to the server to inline the contents of the listed output files.
+ // Each path needs to exactly match one file path in either `output_paths` or
+ // `output_files` (DEPRECATED since v2.1) in the
+ // [Command][build.bazel.remote.execution.v2.Command] message.
+ repeated string inline_output_files = 12;
}
// A `LogFile` is a log stored in the CAS.