Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce capability to retry when upload fails, up to the given maxRetriesForUpload parameter #193

Closed
wants to merge 1 commit into from

Conversation

Abushawish
Copy link

This a PR to try and work around issue #188 by retrying the upload until either a success or the max retry number is reached.

It matches the workaround of Fastlane for this issue where they simply reattempt until success or the max retry number is reached, see here.

while (retries >= 0) {
try {
await pTimeout(
runUpload(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this fails part-way through, it will leave a dangling edit. We probably need to do a retry around each request, and try to discard the edit on fail

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oufff, maybe I bit off more than I could chew. Not familiar with Google Play's API and how the edits work. Will try to take another stab tomorrow after work, getting late here! Thanks for the code review!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries! Thanks for taking the time to look at this :)

@boswelja
Copy link
Collaborator

Hey @Abushawish, did you get a chance to revisit this?
If you haven't the time to dig deeper, I'm happy to take over the work 🙂

@fortunacio
Copy link

please merge this.

@boswelja
Copy link
Collaborator

please merge this.

As per above, it is not ready to be merged

@boswelja
Copy link
Collaborator

boswelja commented Feb 9, 2024

Hey @Abushawish, just checking in again. Are you still interested in completing this work?

@boswelja
Copy link
Collaborator

I will assume not. I'll take over this when I have some time

@boswelja
Copy link
Collaborator

boswelja commented May 2, 2024

Closing this to keep the PR list clean

@boswelja boswelja closed this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants