-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
A way to cache reproducible extension results between bazel server restarts #24723
Comments
https://docs.google.com/document/d/1TjA7-M5njkI1F38IC0pm305S9EOmxcUwaCIvaSmansg/edit?usp=drivesdk included an "always update" lockfile under the output base for reproducible extensions. We didn't implement it at the time simply because we didn't have examples of slow but reproducible extensions. Now that we do, I think that we should implement this. @Wyverald @meteorcloudy What do you think? |
I think it's a good idea, I guess |
Yes, it would behave similar to the local action cache and be stored directly under the output base. |
Happy to review a PR! |
SGTM!
Just for the record, what are some examples of slow but reproducible extensions? |
|
Description of the feature request:
No response
Which category does this issue belong to?
Core, External Dependency
What underlying problem are you trying to solve with this feature?
Currently extensions marked as reproducible are rerun more than they need to since they aren't tracked in the lock file. Since some extensions are slow it would be useful to have a mechanism to skip running them.
Which operating system are you running Bazel on?
ubuntu
What is the output of
bazel info release
?release 8.0.0
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
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: