Better handle remote build failures
Description
Currently, BuildStream remote execution client use ExecuteResponse.status.code
as an error code for the remote build command. This code is actually used to report remote execution failures, remote build command error code is stored in the associated ActionResult.exit_code
.
Changes proposed in this merge request:
- Raise a
SandboxError
on remote execution failure - Return an error code on remote build command failure.
This merge request, when approved, will close issue/bug: #668 (closed)
Edited by Martin Blanchard