EngFlow / bazel_invocation_analyzer

A tool that automatically analyzes a Bazel build's profile and offers suggestions on how to make it faster.
https://analyzer.engflow.com
Apache License 2.0
90 stars 10 forks source link

Update external dependencies mockito and byte-buddy #151

Closed saraadams closed 9 months ago

saraadams commented 9 months ago

The Bazel flag --incompatible_sandbox_hermetic_tmp is added to fix some issues with mockito-core and byte-buddy, e.g. see https://github.com/EngFlow/bazel_invocation_analyzer/actions/runs/7067252322/job/19240379595?pr=151

See https://github.com/mockito/mockito/issues/1879 for a similar issue reported, and https://github.com/bazelbuild/bazel/issues/3236 for the "fix" by specifying --incompatible_sandbox_hermetic_tmp. Note that this flag will be set to true by default with Bazel 7, which is expected to be released next week.