mumrah commented on PR #16948:
URL: https://github.com/apache/kafka/pull/16948#issuecomment-2302908034

   @gharris1727 the Github action runners are VMs that aren't reused, so every 
build should be starting from a clean slate. If we ever use self-hosted 
runners, we would need to take care that we clean up the workspace since those 
can be re-used.
   
   The Gradle cache holds a lot more than just our generated files. If you take 
a look here https://github.com/apache/kafka/actions/caches, there are 600+ MB 
of dependencies downloaded on each build that can restored from a cache. I 
think it this can help our build times.
   
   This whole effort is still experimental, but my aim is to let `trunk` builds 
populate the cache and PRs restore that cache. If it works as intended, it will 
allow PRs to have `UP-TO-DATE` and `FROM-CACHE` tasks for things that haven't 
changed.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to