Skip to content

Conversation

@bazel-io
Copy link
Member

Add end-to-end tests to verify that --experimental_output_paths=strip works with sandboxed, sandboxed worker, and remote execution and results in the desired cache hits. Also adapt and enable config_stripped_outputs_test for Bazel (e.g. make it work on macOS).

This requires a minor changes: We ensure that full .jdeps are rewritten to contain unmapped paths even after a fallback to full classpath.

Closes #18155.

Commit cab7c6b

PiperOrigin-RevId: 582014351
Change-Id: If9c51acb090d9fc4bc86052143ad9960e44fd8a7

Add end-to-end tests to verify that `--experimental_output_paths=strip` works with sandboxed, sandboxed worker, and remote execution and results in the desired cache hits. Also adapt and enable `config_stripped_outputs_test` for Bazel (e.g. make it work on macOS).

This requires a minor changes: We ensure that full `.jdeps` are rewritten to contain unmapped paths even after a fallback to full classpath.

Closes bazelbuild#18155.

PiperOrigin-RevId: 582014351
Change-Id: If9c51acb090d9fc4bc86052143ad9960e44fd8a7
@bazel-io bazel-io requested a review from a team as a code owner November 13, 2023 18:45
@bazel-io bazel-io added team-Configurability platforms, toolchains, cquery, select(), config transitions team-Rules-Java Issues for Java rules team-Remote-Exec Issues and PRs for the Execution (Remote) team awaiting-review PR is awaiting review from an assigned reviewer labels Nov 13, 2023
@bazel-io bazel-io requested a review from gregestren November 13, 2023 18:45
@github-actions github-actions bot removed the team-Configurability platforms, toolchains, cquery, select(), config transitions label Nov 13, 2023
@keertk keertk added team-Configurability platforms, toolchains, cquery, select(), config transitions and removed team-Rules-Java Issues for Java rules team-Remote-Exec Issues and PRs for the Execution (Remote) team labels Nov 13, 2023
@keertk keertk enabled auto-merge (squash) November 13, 2023 18:47
@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 Nov 13, 2023
@keertk keertk removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Nov 13, 2023
@keertk keertk merged commit 82b9ec1 into bazelbuild:release-7.0.0 Nov 13, 2023
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