From 7f51b3676b5d19df726783d9a861e45d7389b5ae Mon Sep 17 00:00:00 2001 From: George Gensure Date: Tue, 2 Apr 2024 17:12:37 -0400 Subject: [PATCH] inline hinting for ExecuteRequest (#287) Match the capabilities of GetActionRequest to support hints for composing ActionResults for Execute --- .../remote/execution/v2/remote_execution.proto | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/build/bazel/remote/execution/v2/remote_execution.proto b/build/bazel/remote/execution/v2/remote_execution.proto index 1a01b7f1..31e20dcf 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.