Skip to content

Conversation

@fmeum
Copy link
Collaborator

@fmeum fmeum commented Dec 21, 2025

This avoids action conflicts when testonly non-test targets depend on test targets.

Until --incompatible_check_testonly_for_output_files is flipped, it is still possible to get action conflicts when a non-testonly target depends on an output file of a test. Since this can be fixed by adding the missing testonly annotation, this is only a minor concern.

Fixes #28056

@fmeum fmeum changed the title Flip --incompatible_check_testonly_for_output_files and incompatible_retain_test_configuration_across_testonly Flip --incompatible_check_testonly_for_output_files and --incompatible_retain_test_configuration_across_testonly Dec 21, 2025
@fmeum fmeum changed the title Flip --incompatible_check_testonly_for_output_files and --incompatible_retain_test_configuration_across_testonly Enable --incompatible_retain_test_configuration_across_testonly by default Dec 21, 2025
@fmeum fmeum changed the title Enable --incompatible_retain_test_configuration_across_testonly by default Enable --experimental_retain_test_configuration_across_testonly Dec 21, 2025
@fmeum fmeum marked this pull request as ready for review December 21, 2025 13:30
@fmeum fmeum requested a review from a team as a code owner December 21, 2025 13:30
@fmeum fmeum requested review from dabanki and gregestren and removed request for a team December 21, 2025 13:30
@fmeum
Copy link
Collaborator Author

fmeum commented Dec 21, 2025

@bazel-io fork 9.0.0

@github-actions github-actions bot added team-Configurability platforms, toolchains, cquery, select(), config transitions awaiting-review PR is awaiting review from an assigned reviewer labels Dec 21, 2025
Copy link
Contributor

@gregestren gregestren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added prerequisite change to Google's bazerlc to keep false at cl/847799241.

We'll be able to merge when that's submitted. I'll be offline after today til the new year but @dabanki 's also paying attention.

@gregestren gregestren added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Dec 22, 2025
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Dec 22, 2025
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Dec 22, 2025
This avoids action conflicts when `testonly` non-test targets depend on test targets.

Until `--incompatible_check_testonly_for_output_files` is flipped, it is still possible to get action conflicts when a non-`testonly` target depends on an output file of a test. Since this can be fixed by adding the missing `testonly` annotation, this is only a minor concern.

Fixes bazelbuild#28056

Closes bazelbuild#28073.

PiperOrigin-RevId: 847892897
Change-Id: I60e908a22b51c307306760aa054b3968cfbebac2
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Dec 29, 2025
This avoids action conflicts when `testonly` non-test targets depend on test targets.

Until `--incompatible_check_testonly_for_output_files` is flipped, it is still possible to get action conflicts when a non-`testonly` target depends on an output file of a test. Since this can be fixed by adding the missing `testonly` annotation, this is only a minor concern.

Fixes bazelbuild#28056

Closes bazelbuild#28073.

PiperOrigin-RevId: 847892897
Change-Id: I60e908a22b51c307306760aa054b3968cfbebac2
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Dec 29, 2025
This avoids action conflicts when `testonly` non-test targets depend on test targets.

Until `--incompatible_check_testonly_for_output_files` is flipped, it is still possible to get action conflicts when a non-`testonly` target depends on an output file of a test. Since this can be fixed by adding the missing `testonly` annotation, this is only a minor concern.

Fixes bazelbuild#28056

Closes bazelbuild#28073.

PiperOrigin-RevId: 847892897
Change-Id: I60e908a22b51c307306760aa054b3968cfbebac2
github-merge-queue bot pushed a commit that referenced this pull request Jan 5, 2026
…nly` (#28116)

This avoids action conflicts when `testonly` non-test targets depend on
test targets.

Until `--incompatible_check_testonly_for_output_files` is flipped, it is
still possible to get action conflicts when a non-`testonly` target
depends on an output file of a test. Since this can be fixed by adding
the missing `testonly` annotation, this is only a minor concern.

Fixes #28056

Closes #28073.

PiperOrigin-RevId: 847892897
Change-Id: I60e908a22b51c307306760aa054b3968cfbebac2

Commit
bcd8bcb

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
github-merge-queue bot pushed a commit that referenced this pull request Jan 5, 2026
…nly` (#28115)

This avoids action conflicts when `testonly` non-test targets depend on
test targets.

Until `--incompatible_check_testonly_for_output_files` is flipped, it is
still possible to get action conflicts when a non-`testonly` target
depends on an output file of a test. Since this can be fixed by adding
the missing `testonly` annotation, this is only a minor concern.

Fixes #28056

Closes #28073.

PiperOrigin-RevId: 847892897
Change-Id: I60e908a22b51c307306760aa054b3968cfbebac2

Commit
bcd8bcb

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
github-merge-queue bot pushed a commit that referenced this pull request Jan 7, 2026
…nly` (#28089)

This avoids action conflicts when `testonly` non-test targets depend on
test targets.

Until `--incompatible_check_testonly_for_output_files` is flipped, it is
still possible to get action conflicts when a non-`testonly` target
depends on an output file of a test. Since this can be fixed by adding
the missing `testonly` annotation, this is only a minor concern.

Fixes #28056

Closes #28073.

PiperOrigin-RevId: 847892897
Change-Id: I60e908a22b51c307306760aa054b3968cfbebac2

Commit
bcd8bcb

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
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.

Action conflicts: 'foo.repo_mapping' is generated by these conflicting actions

3 participants