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

Highlight actions marked as `no-cache` or `no-remote-cache` #133

Closed saraadams closed 11 months ago

saraadams commented 11 months ago

Problem

Surface actions that did not check the remote cache, although remote caching is used.

Preferred solution

If remote caching is used, check for action processing without a related event remote action cache check. These actions are likely marked with no-cache or no-remote-cache. See tags on https://bazel.build/reference/be/common-definitions#common-attributes