@@ -200,6 +200,12 @@ message BuildEventId {
200200 ConfigurationId configuration = 2 ;
201201 }
202202
203+ // Identifier of an event reporting the summary of a target.
204+ message TargetSummaryId {
205+ string label = 1 ;
206+ ConfigurationId configuration = 2 ;
207+ }
208+
203209 // Identifier of the BuildFinished event, indicating the end of a build.
204210 message BuildFinishedId {}
205211
@@ -234,6 +240,7 @@ message BuildEventId {
234240 ConfiguredLabelId configured_label = 21 ;
235241 TestResultId test_result = 8 ;
236242 TestSummaryId test_summary = 7 ;
243+ TargetSummaryId target_summary = 26 ;
237244 BuildFinishedId build_finished = 9 ;
238245 BuildToolLogsId build_tool_logs = 20 ;
239246 BuildMetricsId build_metrics = 22 ;
@@ -687,6 +694,15 @@ message TestSummary {
687694 int64 total_run_duration_millis = 9 ;
688695}
689696
697+ // Payload of the event summarizing a target (test or non-test).
698+ message TargetSummary {
699+ // Conjunction of TargetComplete events for this target, including aspects.
700+ bool overall_build_success = 1 ;
701+
702+ // Repeats TestSummary's overall_status if available.
703+ TestStatus overall_test_status = 2 ;
704+ }
705+
690706// Event indicating the end of a build.
691707message BuildFinished {
692708 // Exit code of a build. The possible values correspond to the predefined
@@ -922,6 +938,7 @@ message BuildEvent {
922938 TargetComplete completed = 8 ;
923939 TestResult test_result = 10 ;
924940 TestSummary test_summary = 9 ;
941+ TargetSummary target_summary = 28 ;
925942 BuildFinished finished = 14 ;
926943 BuildToolLogs build_tool_logs = 23 ;
927944 BuildMetrics build_metrics = 24 ;
0 commit comments