foojay-toolchains icon indicating copy to clipboard operation
foojay-toolchains copied to clipboard

Add a retry mechanism for communicating with the Foojay back-end

Open jbartok opened this issue 1 year ago • 2 comments

See this issue and related PR.

It would be good if communication failures with the Foojay back-end wouldn't immediately make the plugin's resolving fail. It would be good if the plugin would retry a couple of times before giving up. I'm thinking 2-3 retries with increasing delays, not too long though, the Gradle build might have other toolchain resolvers configured, at some point we need to hand things over to those.

jbartok avatar Feb 27 '24 08:02 jbartok

Yeah, it’s frustrating that the metadata queries break the build when the APIs is down and auto-download is disabled. The resolver shouldn’t assume uptime guarantees that isn’t being provided.

ben-manes avatar Aug 25 '25 07:08 ben-manes

The issue is in the backlog of the relevant team and is prioritized by them.


bamboo avatar Sep 11 '25 15:09 bamboo