-
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
--test_env (and some other test flags) should not discard analysis cache with --trim_test_configuration #7450
Comments
Same behaviour is observed on Ubuntu + Bazel version 0.21 |
Can you try with test trim true? |
Thanks @ittaiz! Adding that flag indeed has an effect, but only on |
Unfortunately, |
Thanks @serynth! |
Sure! :) It definitely isn't the desired behavior, though whether it's fixed by Why it doesn't work: As I mentioned, this is (now) the canonical issue for tracking progress on this work. |
Thank you @serynth! 👍 |
@sdtwigg Can you look at this while you are finishing up on --trim_test_configuration? |
Changes here also need to take into account Google's fork of the test strategies, which may prevent external contributions. |
Acknowledging this. There is at least one minor hurdle. Internally, a small amount of rules have config_settings that are sensitive to |
Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so. |
Is this actually fixed and done?
…On Thu, Feb 16, 2023, 3:31 AM Gowroji Sunil ***@***.***> wrote:
Closed #7450 <#7450> as not
planned.
—
Reply to this email directly, view it on GitHub
<#7450 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXHHHHZVXOBIPJUF2PWCBDWXXQVHANCNFSM4GX6MILA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
No. |
Reopening temporarily as the fixing commit has been rolled back. A roll forward is in review. |
Description of the problem / feature request:
My
.bazelrc
file has some options linked totest
Apparently this makes analysis cache to be discarded between
build
andtest
invocations.To fix it I need to link the option to
build
, which doesn't make a lot of sense as it's atest
related.Feature requests: what underlying problem are you trying to solve with this feature?
--test_arg
should not affect the analysis cache. Or the warning message should be better.BTW: same goes for
--test_env
What operating system are you running Bazel on?
OSX
What's the output of
bazel info release
?release 0.22.0
The text was updated successfully, but these errors were encountered: