8b7dcfaeba
Write *all* build logs (essentially everything that wasn't a DLOG), not just the stdout of the builder, to the client-bound log_sink_ that's threaded through build.cc. These logs are significantly more useful on the client, both when debugging tvix itself and (more importantly) when building things with it. To make this all work, this commit also refactors the passing-around of the log sink in build.cc slightly - the main reference is now owned by the Worker class, which already stores pointers to itself on the Goals it creates, so those Goals can then load the log sink from the Worker. This change was originally made to allow for logging to the log_sink from instance methods of the worker, but actually feels significantly more natural than storing the sink on the goal anyway. Change-Id: I461685bc7f5c0a326054940ac5971b568dd43f8e Reviewed-on: https://cl.tvl.fyi/c/depot/+/1925 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> |
||
---|---|---|
.. | ||
abseil_cpp | ||
alsi | ||
apereo-cas | ||
bat_syntaxes | ||
bufbuild | ||
cgit | ||
cpp/googleapis | ||
emacs | ||
farmhash | ||
ffmpeg | ||
gerrit | ||
gerrit_plugins | ||
git | ||
git-bug | ||
gitignoreSource | ||
glog | ||
gopkgs | ||
grpc | ||
gtest | ||
haskell-language-server | ||
haskell_overlay | ||
immer | ||
kernelPatches/trx40_usb_audio | ||
lieer | ||
lisp | ||
loxy | ||
naersk | ||
nix | ||
nixery | ||
notmuch | ||
nsfv | ||
openldap | ||
protobuf | ||
python/broadlink | ||
rapidcheck | ||
rr | ||
smtprelay | ||
terraform-gcp | ||
default.nix | ||
README.md |
Third-Party Code
Code under this folder is one of the following:
-
Externally developed dependencies which have been imported ("vendored") into this repository. These dependencies come with their own licenses and whatever else.
-
Code that is developed inside of this repository, but released to an external repository via Copybara.