-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Huge amount of time spent "Writing repo mapping manifest" with remote execution #23927
Comments
I was wrong about the time spent here |
my original numbers were wrong here, but sounds like others have specifics |
closing as this is inactionable right now; when the others with specifics post them here, we can reopen :P |
Sorry, I confused myself twice. Here's the real stats: A typical
I also noticed something that doesn't quite make sense to me, but perhaps it's related to what @fmeum was thinking about:
The bit that is odd to me is that |
Yes, We could fix this by adding a single line But since the repo mapping manifest in its current form should compress extremely well and is still not that large (probably single-digit MiBs?), this doesn't seem to be a pressing issue. |
Description of the bug:
In one of our builds, testing a py_test target, we saw "Writing repo mapping manifest" for the target in the
Action.execute
stage for 7 minutes in the chrome trace produced by bazel.In this target's case the
_repo_mapping
file when tested locally is 6304 lines long primarily caused by pypi dependencies such as:Only 49 entries are not this type of target, but there are "only" 78 transitive pip deps in the tree, so it's not that this specific test target is enormous from our side.
Which category does this issue belong to?
No response
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?
Linux
What is the output of
bazel info release
?33a2025 (7.4 release branch pre-rc)
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
The text was updated successfully, but these errors were encountered: