diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-12-11 10:12:22 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-12-11 14:20:56 +0100 |
commit | 4db441152a5b9b0b86206a4f08cebdbf885e9831 (patch) | |
tree | d8b1b4a1308942584e71da912ffbb258bed7b1a7 /src/buildtool/file_system/git_cas.cpp | |
parent | ecbb60b20b85629f60faacf88d192822a33ff1f1 (diff) | |
download | justbuild-4db441152a5b9b0b86206a4f08cebdbf885e9831.tar.gz |
computed root building: synchronize log to remote in case of failure
When materializing a computed root fails, the error is reported
as a reference (in form of a blob identifier) to the log. This
indirection is necessary as many roots are, in general materialized
simultaneously. When building remotely, also upload the build log
to remote execution; in this way, it is available in the same way
as for serve-build failures (which are the other delegated builds).
One particular use case is if the failure happens on a CI build;
then the upload ensures the actual log is still available for the
observer of the CI (provided they have access to the remote execution
used by the CI).
Diffstat (limited to 'src/buildtool/file_system/git_cas.cpp')
0 files changed, 0 insertions, 0 deletions