Skip to content

Commit 068363a

Browse files
authored
Document NOT_FOUND Execution error reporting (#259)
1 parent eafa1b0 commit 068363a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build/bazel/remote/execution/v2/remote_execution.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,14 @@ service Execution {
125125
// operation completes, and then respond with the completed operation. The
126126
// server MAY choose to stream additional updates as execution progresses,
127127
// such as to provide an update as to the state of the execution.
128+
//
129+
// In addition to the cases describe for Execute, the WaitExecution method
130+
// may fail as follows:
131+
//
132+
// * `NOT_FOUND`: The operation no longer exists due to any of a transient
133+
// condition, an unknown operation name, or if the server implements the
134+
// Operations API DeleteOperation method and it was called for the current
135+
// execution. The client should call `Execute` to retry.
128136
rpc WaitExecution(WaitExecutionRequest) returns (stream google.longrunning.Operation) {
129137
option (google.api.http) = { post: "/v2/{name=operations/**}:waitExecution" body: "*" };
130138
}

0 commit comments

Comments
 (0)