forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Failures early in package loading will now fail all --keep_going builds.
When loading all packages under a directory (//foo/...) we use RecursivePkgFunction, which in --keep_going mode was silently ignoring any NoSuchPackageExceptions thrown by PackageFunction. Critically, any exceptions thrown by loading a Starlark .bzl file were being ignored during loading. RecursivePkgFunction now transitively collects presence of errors into the RecursivePkgValue so callers (EnvironmentBackedRecursivePackageProvider) can observe and record that errors happened during loading. Fixes bazelbuild#7674. RELNOTES: None. PiperOrigin-RevId: 251298005
- Loading branch information
1 parent
aff189a
commit 8c3b3fb
Showing
4 changed files
with
206 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters