You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ribafish (via GitHub)" <gi...@apache.org> on 2026/03/26 11:34:33 UTC

[PR] Enable remote build cache [lucene]

ribafish opened a new pull request, #15882:
URL: https://github.com/apache/lucene/pull/15882

   ## Summary
   - Enable the Develocity remote build cache for all builds
   - Restrict cache push to CI builds only, so local builds benefit from cache hits without polluting it


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Enable remote build cache [lucene]

Posted by "uschindler (via GitHub)" <gi...@apache.org>.
uschindler commented on PR #15882:
URL: https://github.com/apache/lucene/pull/15882#issuecomment-4138656025

   I also don't want my own local gradle to send anything anywhere!


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Enable remote build cache [lucene]

Posted by "dweiss (via GitHub)" <gi...@apache.org>.
dweiss commented on PR #15882:
URL: https://github.com/apache/lucene/pull/15882#issuecomment-4140713001

   We don't use the cache but other people may want to - I don't think we should stand in  the way, if it's a simple change. This just shuffles existing logic around to be cache-compatible, it doesn't change anything functionally.


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Enable remote build cache [lucene]

Posted by "dweiss (via GitHub)" <gi...@apache.org>.
dweiss commented on PR #15882:
URL: https://github.com/apache/lucene/pull/15882#issuecomment-4140743954

   Sorry, @ribafish , this isn't something we really want - we do want the builds to run, not be cached. I can make it a user-controllable option but definitely not something on by default (even on CI builds).
   
   Incidentally, since you seem to be a gradle fellow, there are larger problems we've had with gradle than the caches... it'd be good to solve these first (some of them recent; closed but not fixed https://github.com/gradle/gradle/issues?q=author%3Adweiss).


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Enable remote build cache [lucene]

Posted by "uschindler (via GitHub)" <gi...@apache.org>.
uschindler commented on PR #15882:
URL: https://github.com/apache/lucene/pull/15882#issuecomment-4138647819

   @dweiss Do you have an opinion. I am against this. We don't need to cache anything on all build servers. We may enable it only for github, but not for all CI servers.


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Enable remote build cache [lucene]

Posted by "dweiss (via GitHub)" <gi...@apache.org>.
dweiss commented on PR #15882:
URL: https://github.com/apache/lucene/pull/15882#issuecomment-4140718635

   Oh, sorry - this isn't the same patch I looked at like before. I agree, I don't want any of gradle caches, etc. on by default either. 


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Enable remote build cache [lucene]

Posted by "ribafish (via GitHub)" <gi...@apache.org>.
ribafish commented on PR #15882:
URL: https://github.com/apache/lucene/pull/15882#issuecomment-4141943038

   I will close this PR if this is not something you're insterested in.
   
   A couple answers to the comments above:
   - The benefit for lucene are faster builds. With the proposed setup, CI would be the only thing writing to the remote build cache, but it could be used by any build, local or remote. 
   - We haven't had any issues with caching builds or even tests - if the code didn't change, the test result should also stay the same. It's also quite easy to disable caching for release builds if that is something you'd like to see to be sure everything executes before a release, you just run the build with `--no-build-cache`.


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Enable remote build cache [lucene]

Posted by "uschindler (via GitHub)" <gi...@apache.org>.
uschindler commented on PR #15882:
URL: https://github.com/apache/lucene/pull/15882#issuecomment-4138641928

   What exactly brings this for the Lucene CI builds? We run CI builds not only on ASF servers or Githiub, there are other providers ivvolved (e.g., Policeman Jenkins). Do we really want to depend on an external cache?
   
   I don't think that's needed for the Lucene build. Es pecially on our Jenkins jobs we carefully clean up everything before the build to not have any caches, so a clean room build of Lucene is tested. This cache works against this.


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Enable remote build cache [lucene]

Posted by "ribafish (via GitHub)" <gi...@apache.org>.
ribafish closed pull request #15882: Enable remote build cache
URL: https://github.com/apache/lucene/pull/15882


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org