Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
work around trailing slash issue with protobuf codegen (pantsbuild#10849
) ### Problem See pantsbuild#10802 for an issue with protobuf generation and remote execution. As it turns out, sending the output directory as `out/` with a trailing slash caused BuildBarn to generate a Directory proto with a empty directory name in it. The trailing slash is forbidden by the REAPI spec in any event: https://github.com/bazelbuild/remote-apis/blob/f54876595da9f2c2d66c98c318d00b60fd64900b/build/bazel/remote/execution/v2/remote_execution.proto#L507-L508 ### Solution This solution is just a short-term work around. A better fix would provide better validation of REAPI requests. ### Result The example-python repository is buildable in remote execution with BuildBarn. # Rust tests and lints will be skipped. Delete if not intended. [ci skip-rust] # Building wheels and fs_util will be skipped. Delete if not intended. [ci skip-build-wheels]
- Loading branch information