From f3039bc31d32b27ba92fdc534c191acf889db302 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 15 Mar 2024 17:53:55 +0100 Subject: serve target: Differentiate between fatal and non-fatal orchestrated builds ...by increasing granularity in client-side reporting. This allows to correctly continue with builds of local targets if the serve endpoint does not have the requested target, as well as improve the reporting for users on failure. --- src/buildtool/serve_api/remote/serve_api.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/serve_api/remote/serve_api.hpp') diff --git a/src/buildtool/serve_api/remote/serve_api.hpp b/src/buildtool/serve_api/remote/serve_api.hpp index 219fe7ab..055cf78b 100644 --- a/src/buildtool/serve_api/remote/serve_api.hpp +++ b/src/buildtool/serve_api/remote/serve_api.hpp @@ -111,7 +111,7 @@ class ServeApi final { [[nodiscard]] static auto ServeTarget(const TargetCacheKey& key, const std::string& repo_key) noexcept - -> std::optional> { + -> std::optional { return Instance().tc_->ServeTarget(key, repo_key); } -- cgit v1.2.3