Skip to content
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

[8.0.0] Preserve analysis cache through --run_under command changes #24352

Closed
wants to merge 1 commit into from

Conversation

iancha1992
Copy link
Member

Along the way, also trim CoverageOptions as part of the test trimming configuration, matching the logic in TestConfiguration#SHOULD_INVALIDATE_FOR_OPTION_DIFF. Also refactor RunUnder into a sealed interface implemented by two records.

Work towards #3325
Fixes #10782

RELNOTES: Changing any part of --run_under that isn't the label (such as the shell command) no longer invalidates the analysis cache.

Closes #24303.

PiperOrigin-RevId: 696887935
Change-Id: I79a2c153862c33b2ff25eefa4069bc11e99ea9d6

Commit 4515bb6

Along the way, also trim `CoverageOptions` as part of the test trimming configuration, matching the logic in `TestConfiguration#SHOULD_INVALIDATE_FOR_OPTION_DIFF`. Also refactor `RunUnder` into a sealed interface implemented by two records.

Work towards bazelbuild#3325
Fixes bazelbuild#10782

RELNOTES: Changing any part of `--run_under` that isn't the label (such as the shell command) no longer invalidates the analysis cache.

Closes bazelbuild#24303.

PiperOrigin-RevId: 696887935
Change-Id: I79a2c153862c33b2ff25eefa4069bc11e99ea9d6
@iancha1992 iancha1992 added team-Configurability platforms, toolchains, cquery, select(), config transitions awaiting-review PR is awaiting review from an assigned reviewer labels Nov 15, 2024
@iancha1992 iancha1992 requested a review from katre November 15, 2024 23:24
@iancha1992 iancha1992 closed this Nov 15, 2024
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Nov 15, 2024
@katre
Copy link
Member

katre commented Nov 19, 2024

The original change is being rolled back: see #24303 (comment) for the reason. We should also remove this commit from 8.0.0.

@Wyverald Wyverald deleted the cp24322 branch November 19, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Configurability platforms, toolchains, cquery, select(), config transitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants