diff options
Diffstat (limited to 'src/buildtool/serve_api/remote/target_client.hpp')
-rw-r--r-- | src/buildtool/serve_api/remote/target_client.hpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/buildtool/serve_api/remote/target_client.hpp b/src/buildtool/serve_api/remote/target_client.hpp index 948e9337..0d34ea2d 100644 --- a/src/buildtool/serve_api/remote/target_client.hpp +++ b/src/buildtool/serve_api/remote/target_client.hpp @@ -34,12 +34,17 @@ /// \brief Result union for the ServeTarget request. /// Index 0 will contain the hash of the blob containing the logged -/// analysis/build failure received from the endpoint, as a string. -/// Index 1 will contain any other failure message, as a string. -/// Index 2 will contain the target cache value information on success. +/// analysis/build failure received from the endpoint, as a string; this should +/// also trigger a local build fail. +/// Index 1 will contain the message of any INTERNAL error on the endpoint, as +/// a string; this should trigger a local build fail. +/// Index 2 will contain any other failure message, as a string; local builds +/// might be able to continue, but with a warning. +/// Index 3 will contain the target cache value information on success. using serve_target_result_t = std::variant<std::string, std::string, + std::string, std::pair<TargetCacheEntry, Artifact::ObjectInfo>>; /// Implements client side for Target service defined in: |