-
-
Notifications
You must be signed in to change notification settings - Fork 144
Cache misses between CI and local #1083
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededperformancesponsorableYou can sponsor me to work on this issue!You can sponsor me to work on this issue!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededperformancesponsorableYou can sponsor me to work on this issue!You can sponsor me to work on this issue!
Build scan link
Plugin version
1.28.0
Gradle version
8,5
JDK version
17
(Optional) Kotlin and Kotlin Gradle Plugin (KGP) version
1.9.21
(Optional) Android Gradle Plugin (AGP) version
N/a
Describe the bug
The buildHealth task and all its deps are not being cached properly and we get cache misses more often than ideal.
The cause seems to be not using PathSenstivity.Relative in all cases. The reason we get cache misses is because the absolute paths of input dependencies of many of the tasks created by the plugin use absolute or none path sensitivity. See image for one such example
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If the code hasn't change I expect cache hits for all the tasks that this plugin creates in CI.
Additional context