Open meteorcloudy opened 1 month ago
I think that we should add ExternalDepsException
to
https://github.com/bazelbuild/bazel/blob/3beaaaf23e4f6e9071ef7eabced7d64513573e80/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeErrorProcessor.java#L785-L787
This isn't needed for repo rule errors as those are translated into a RepositoryFetchException
(and thus a NoSuchPackageException
) at
https://github.com/bazelbuild/bazel/blob/239682bfaf9f479499a6e8b41aadde808b3a5831/src/main/java/com/google/devtools/build/lib/skyframe/PackageLookupFunction.java#L394
CC @katre
Description of the bug:
I accidentally load
new_git_repository
fromhttp.bzl
and Bazel crashes like this
Which category does this issue belong to?
External Dependency
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
No response
What is the output of
bazel info release
?No response
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response