-
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
--experimental_output_directory_naming_scheme=diff_against_baseline caused Bazel to rebuild whenever --run_under or --test_env change #18480
Comments
|
@sdtwigg for priority triage. |
Do you still see this behavior when using This is a bit peculiar as I would not expected a difference in analysis behavior due to that flag. In particular changes to either Are you consistently seeing analysis cache discards but a difference in action cache behavior? If so, changing to |
#18561 fixes this issue |
@sdtwigg Based on #18480 (comment), could we proceed with the merge of #18561? |
Yes, this looks all together now and was hoping to do the merge today or so. |
@bazel-io flag |
Cherry-picked in #19514 |
@bazel-io fork 6.4.0 |
A fix for this issue has been included in Bazel 6.4.0 RC1. Please test out the release candidate and report any issues as soon as possible. Thanks! |
Description of the bug:
When
--experimental_output_directory_naming_scheme=diff_against_baseline
, running--run_under echo
or--test_env FOO=bar
would invalidate the cache and rebuild everything. Bazel wouldn't rebuild if--experimental_output_directory_naming_scheme=diff_against_baseline
is not given.What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Which operating system are you running Bazel on?
macOS and Linux
What is the output of
bazel info release
?release 6.2.0-homebrew
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 master; 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: