Slackbot
07/26/2023, 3:45 PMChris Lee
07/26/2023, 3:48 PMBachiri Taoufiq Abderrahman
07/26/2023, 3:56 PMChris Lee
07/26/2023, 3:57 PMBachiri Taoufiq Abderrahman
07/26/2023, 3:59 PMChris Lee
07/26/2023, 4:00 PMChris Lee
07/26/2023, 4:00 PMBachiri Taoufiq Abderrahman
07/26/2023, 4:20 PM- name: Setup Gradle
uses: gradle/gradle-build-action@v2.5.1
with:
cache-read-only: false # for debugging
gradle-home-cache-excludes: caches
Yes we have the remote build cache enabledChris Lee
07/26/2023, 4:21 PMgradle-home-cache-excludes: caches
? That prevents caching of pretty much everything that Gradle caches.Bachiri Taoufiq Abderrahman
07/26/2023, 4:21 PMChris Lee
07/26/2023, 4:22 PMcaches/build-cache-1
.Chris Lee
07/26/2023, 4:25 PMAnze Sodja
07/26/2023, 4:41 PMorg.gradle.vfs.watch=true
Gradle does some probing if VFS can be enabled if not enabled explicitly and via network that can be slower. If that doesn't help you can also try to disable it.Bachiri Taoufiq Abderrahman
07/26/2023, 8:09 PMNot familiar enough with remote cache to know if the local cache should be disabled as well.We are disabling the local cache since the agents are ephemeral.
Chris Lee
07/26/2023, 8:11 PMgradle-home-cache-excludes: caches
from gradle-build-action to cache everything else (dependencies, etc). It would cache the local build cache - but that’s disabled.Bachiri Taoufiq Abderrahman
07/27/2023, 8:54 AMMaybe you can enable VFS explicitly withTried it also and it doesn’t have any effect on the build time. Thanks @Chris Lee for your answers. Mainly removing
gradle-home-cache-excludes: caches
didn’t have any effect to improving the fingerprinting issue, otherwise we are trying to investigate from our side by combining and playing with different infra configurations, because we noticed that there is some improvements when we changed Memory instead of disk IO access.