bazelbuild/bazel

Statistics or information for repository_cache hits

Open

#26,334 建立於 2025年6月18日

在 GitHub 查看
 (0 留言) (1 反應) (0 負責人)Java (4,465 fork)batch import
P2help wantedteam-ExternalDepstype: feature request

倉庫指標

Star
 (25,384 star)
PR 合併指標
 (平均合併 22天 20小時) (30 天內合併 77 個 PR)

描述

Description of the feature request:

I can see in CacheHitReportingModule (https://github.com/bazelbuild/bazel/blob/ab371fe096b1ea05fba1cf686c7d6ae15c5d21fa/src/main/java/com/google/devtools/build/lib/bazel/repository/CacheHitReportingModule.java) that events are emitted from the DownloadManager

However information on how many hits to the repository_cache were made are not available in the BEP or the logs in any fashion.

There seems to be some informational log messages only in the case of a failure. It might be nice to emit more info to help understand which artifacts were found in the repository_cache vs. which are not.

This would help understand and catch cases where we are not caching like we believe we are.

Which category does this issue belong to?

No response

What underlying problem are you trying to solve with this feature?

No response

Which operating system are you running Bazel on?

No response

What is the output of bazel info release?

No response

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

貢獻者指南