Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report reason for Configuration Cache misses via an API #29061

Open
joshfriend opened this issue May 8, 2024 · 1 comment
Open

Report reason for Configuration Cache misses via an API #29061

joshfriend opened this issue May 8, 2024 · 1 comment
Assignees
Labels
a:feature A new functionality in:configuration-cache Configuration Caching

Comments

@joshfriend
Copy link

Expected Behavior

When there is a configuration cache miss, the reason is only reported in console output:

Calculating task graph as configuration cache cannot be reused because the set of Gradle properties has changed.

Gradle should have a lifecycle listener that reports these cache miss events and their reasons so they can be attached to build scans in the "Configuration" section of the "Performance" tab, or also to some custom telemetry service.

Current Behavior (optional)

No response

Context

With the current data collected by the Develocity plugin, I can analyze the hit rate for configuration cache, but am unable to diagnose the causes for cache misses.

@joshfriend joshfriend added a:feature A new functionality to-triage labels May 8, 2024
@ljacomet ljacomet added in:configuration-cache Configuration Caching and removed to-triage labels May 14, 2024
@ljacomet
Copy link
Member

This feature request is in the backlog of the relevant team and is prioritized by them.


Relates to:

@mlopatkin mlopatkin self-assigned this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:feature A new functionality in:configuration-cache Configuration Caching
Projects
None yet
Development

No branches or pull requests

3 participants