This message was deleted.
# develocity
s
This message was deleted.
i
Hi Ritesh, the message you posted corresponds to the state of the task related to the UP-TO-DATE state. Is telling you why the task was not up-to-date. Then, if it's not up-to-date, it will perform the cache operations. Example: • One Java class with outcome FROM-CACHE https://ge.solutions-team.gradle.com/s/roj25ut7ltima/timeline?details=kvchad5ltos7q&name=hilt&type=org.gradle.api.tasks.compile.JavaCompile
r
Hey Inaki, Yeah the status is related to
UP-TO-DATE
- that could be because of the
clean
task, which was executed prior to the
assembleDebug
The screenshot, you posted states, after incremental cache miss , gradle was able to take it from local cache -
Build Cache Result - Hit (Local)
At my end, there's cache miss from local build cache as well.
The above result taken after running, experiment2 (02-validate-local-build-caching-same-location.sh) - https://github.com/gradle/gradle-enterprise-build-validation-scripts/blob/main/Gradle.md on CI
i
ok, in this case we would need to investigate why we are not hitting the local cache. First, we need to analyze if we are generating the same for the task in both builds. At the end of the execution in the scripts you have the summary:
Copy code
Investigation Quick Links
-------------------------
Task execution overview:         https://YOUR-GE=INSTANCE.com/s/qevt2efbrvchc/performance/execution
Executed tasks timeline:         https://YOUR-GE=INSTANCE.com/s/qevt2efbrvchc/timeline?outcome=success,failed&sort=longest
Avoided cacheable tasks:         https://YOUR-GE=INSTANCE.com.com/s/qevt2efbrvchc/timeline?outcome=from-cache&sort=longest
Executed cacheable tasks:        https://YOUR-GE=INSTANCE.com.com/s/qevt2efbrvchc/timeline?cacheability=cacheable,overlapping-outputs,validation-failure&outcome=success,failed&sort=longest
Executed non-cacheable tasks:    https://YOUR-GE=INSTANCE.com.com/s/qevt2efbrvchc/timeline?cacheability=any-non-cacheable,not:overlapping-outputs,not:validation-failure&outcome=success,failed&sort=longest
Build caching statistics:        https://YOUR-GE=INSTANCE.com.com/s/qevt2efbrvchc/performance/build-cache
Task inputs comparison:          https://YOUR-GE=INSTANCE.com.com/c/qpvqlalo4lpbi/qevt2efbrvchc/task-inputs?cacheability=cacheable,overlapping-outputs,validation-failure
The last one
Task inputs comparison:
will show the build scan comparison