Machine Learning for a Better Developer Experience
netflixtechblog.com
netflixtechblog.com
If your build log files approach gigabytes in size, what you're going to need to do is not search for that bug. You're going to need to rethink your career and life choices. You're going to need to take a vacation, do some traveling, get some perspective. Figure out where it all went wrong and what to make of the years that remain. Life is short.
Yeah, I've seen ELK stacks, Splunk, or even RDBMS tables for log entries
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.
(Also: really cool illustrations. Very unexpected in a tech blog.)
Machine learning is used in the "understands" part above ^^.