File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,6 +126,14 @@ message PublishLifecycleEventRequest {
126126 // This should match the project used for the initial call to
127127 // PublishLifecycleEvent (containing a BuildEnqueued message).
128128 string project_id = 6 [(google.api.field_behavior ) = REQUIRED ];
129+
130+ // Whether to require a previously received matching parent lifecycle event
131+ // for the current request's event before continuing processing.
132+ // - InvocationAttemptStarted and BuildFinished events require a BuildEnqueued
133+ // parent event.
134+ // - InvocationAttemptFinished events require an InvocationAttemptStarted
135+ // parent event.
136+ bool check_preceding_lifecycle_events_present = 7 ;
129137}
130138
131139// States which event has been committed. Any failure to commit will cause
@@ -170,4 +178,10 @@ message PublishBuildToolEventStreamRequest {
170178 // This should match the project used for the initial call to
171179 // PublishLifecycleEvent (containing a BuildEnqueued message).
172180 string project_id = 6 [(google.api.field_behavior ) = REQUIRED ];
181+
182+ // Whether to require a previously received matching InvocationAttemptStarted
183+ // event before continuing event processing for the event in the current
184+ // request. BES only performs this check for events with sequence_number 1
185+ // i.e. the first event in the stream.
186+ bool check_preceding_lifecycle_events_present = 7 ;
173187}
You can’t perform that action at this time.
0 commit comments