Skip to content

fix(rust): skip path mapping for unsandboxed actions - #4230

Draft
jason-rl wants to merge 1 commit into
bazelbuild:mainfrom
runloopai:agent/no-sandbox-path-mapping
Draft

fix(rust): skip path mapping for unsandboxed actions#4230
jason-rl wants to merge 1 commit into
bazelbuild:mainfrom
runloopai:agent/no-sandbox-path-mapping

Conversation

@jason-rl

Copy link
Copy Markdown

Summary

  • omit supports-path-mapping from Rust actions when the target is tagged no-sandbox or local
  • preserve those execution tags so test execution can remain unsandboxed
  • add a regression target covering Rustc and Clippy under --experimental_output_paths=strip

Testing

  • bazel test --config=clippy --experimental_output_paths=strip //test/path_mapping:no_sandbox_test
  • bazel test --config=clippy --experimental_output_paths=strip //test/unit/location_expansion:location_expansion_test_suite //test/unit/clippy:clippy_test_suite
  • repository buildifier, buildifier-lint, and typos pre-commit hooks

@google-cla

google-cla Bot commented Aug 14, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant