flank icon indicating copy to clipboard operation
flank copied to clipboard

Retry apk uploads on connectivity issues

Open pbreault opened this issue 2 years ago • 1 comments

I've observed gcloud timeouts in a CI job that runs fladle on multiple modules in parallel. Most apk uploads succeeded but a few failed. Could be a transient error on gcloud or a temporary connectivity hiccup.

Error on uploading my-test-apk.apk
Cause: com.google.cloud.storage.StorageException: Read timed out

We could work around these errors by retrying the upload when there is a connectivity error.

pbreault avatar Dec 14 '22 15:12 pbreault

Added retry configuration to the Google Cloud Storage client in https://github.com/Flank/flank/pull/2437

It's present in https://github.com/Flank/flank/releases/tag/v23.10.0

Let us know if that helps with the issue you were experiencing.

schnecle avatar Oct 12 '23 20:10 schnecle