BEP: In the TestResult meta data, allow reporting remote cache hits
Extend the optional meta data that TestResults may
report by a flag indicating that the test was taken
from a remote cache. Also, allow reporting the precise
exit code of the test action.
PiperOrigin-RevId: 178075896
diff --git a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto
index 8a2b05b..6e449d6 100644
--- a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto
+++ b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto
@@ -514,6 +514,12 @@
// "remote")
string strategy = 2;
+ // True, if the reported attempt was a cache hit in a remote cache.
+ bool cached_remotely = 6;
+
+ // The exit code of the test action.
+ int32 exit_code = 7;
+
// The hostname of the machine where the test action was executed (in case
// of remote execution), if known.
string hostname = 3;