commit | e030be9f16a662ff4363d311881fe56789bb9096 | [log] [tgz] |
---|---|---|
author | ajurkowski <ajurkowski@google.com> | Wed May 26 16:22:09 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 26 16:23:45 2021 -0700 |
tree | 99624848b499a00ce5f1fe1421811982d9575ecd | |
parent | 515189c05e1154fc13f145495f029e6218029717 [diff] |
Do not attempt to expand omitted tree artifacts in build events. When constructing the build events, we will add tree artifact expansions to the `named_set_of_files`. In case of the tree artifact is orphaned, we will not have the expansions available for it, resulting with a [NullPointerException](https://github.com/bazelbuild/bazel/blob/300c11ef5eb00978cbaa4d3a14ccfee10d9c87f8/src/main/java/com/google/devtools/build/lib/actions/CompletionContext.java#L124). Do not attempt to expand tree artifacts for the events when they are omitted. PiperOrigin-RevId: 376052463
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md