Skip to content

Support cancelation of jobs

https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto#L38

We should support the ability to cancel an ExecutionRequest, when it becomes obvious to the client that it is no longer relevant to execute an action.

Our initial implementation can trivially cancel jobs that are still pending in the queue. The worker should respect the CANCELLED state in its lease and terminate any related processes.