by Game_Ender · 6y ago · 0 comments
In specific with a build system like Bazel you might execute 1,000,000 actions on a build producing lots of internal output but you only see the errors, and at most you have a few hundred lines to look through. That is managed in a few key ways:
- Test output is completely hidden unless that specific test fails
- Build actions only produce output when they have an error, and it’s easy to keep it that way (because they stand out, and can be quickly fixed)
- Bazel does not tell you about every action that is run only ones that fail or take or a long time
Was scratching my head at the idea of a build system spitting out 3 million log lines.