Skip to content

Commit

Permalink
Document NOT_FOUND Execution error reporting (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
werkt authored Jun 27, 2023
1 parent eafa1b0 commit 068363a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/bazel/remote/execution/v2/remote_execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ service Execution {
// operation completes, and then respond with the completed operation. The
// server MAY choose to stream additional updates as execution progresses,
// such as to provide an update as to the state of the execution.
//
// In addition to the cases describe for Execute, the WaitExecution method
// may fail as follows:
//
// * `NOT_FOUND`: The operation no longer exists due to any of a transient
// condition, an unknown operation name, or if the server implements the
// Operations API DeleteOperation method and it was called for the current
// execution. The client should call `Execute` to retry.
rpc WaitExecution(WaitExecutionRequest) returns (stream google.longrunning.Operation) {
option (google.api.http) = { post: "/v2/{name=operations/**}:waitExecution" body: "*" };
}
Expand Down

0 comments on commit 068363a

Please sign in to comment.