bazelbuild / bazelbuild/rules_pkg
pkg_zip and cc_test generate ActionConflictException
- Dominant language
- Starlark
- Stars
- 253
- Forks
- 221
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
pkg_zip and cc_test do not seem to work when both targets are provided to a single Bazel invocation. It might seem odd to zip a cc_test, but we have existing downstream systems that we need to send some of our tests to for validation, and it's easiest to collect them in a zip file. The pkg_zip works fine on its own, but fails with an action conflict exception when invoked together with a build of the underlying binary. This issue means that aquery on the root of the repo and other full analysis actions fail.
I have tried pkg_zip 0.9.1 and 0.10.0, both have same issue
I have tried a few GoogleTest versions, all fail
Bazel 7.0.1 and 7.0.0
Both Windows & Linux
A simple MRE is here: https://github.com/peakschris/pkg-zip-of-cc-test
Contributor guide
Assessment
This issue has not been assessed yet.