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

Retry if fail to upload #45

Open
solgarius opened this issue Nov 11, 2017 · 6 comments
Open

Retry if fail to upload #45

solgarius opened this issue Nov 11, 2017 · 6 comments

Comments

@solgarius
Copy link

Is it possible to add a retry up to say 3-4 times to upload the source maps to rollbar. I've noticed that my build will sporadically fail due to an upload failing.

@lucsky
Copy link

lucsky commented Sep 14, 2018

Sporadically ? My deployments systematically fail 3 times out of 4 because of Rollbar source maps uploads with the following error:
ERROR in RollbarSourceMapPlugin: failed to upload blah.js.map to Rollbar: write EPIPE

@monkpit
Copy link

monkpit commented Sep 19, 2018

RollbarSourceMapPlugin: failed to upload foo.js.map to Rollbar: There was an internal error processing your request. Please try again. If you'd like to contact us about this issue, email support@rollbar.com . For system status, visit http://status.rollbar.com

I am also getting sporadically failed builds that will succeed after a rebuild. It's a shame that I have to re-run my entire build process just to kick off the rollbar upload step. A retry option would be superb!

@pjaws
Copy link

pjaws commented Apr 22, 2020

This is also a huge issue for my team. One failed upload causes our entire build to fail. This morning, every single Dependabot update branch build has failed twice so far. That's 20 builds I've had to restart already.

I honestly don't even care about a retry. I'd be more interested in setting an "acceptable failure threshold" - maybe 5 files by default. 1 failed upload is a much smaller deal than tons of failed builds.

I would definitely help out if we could come to a consensus on the behavior.

@brandondoran
Copy link
Collaborator

@pjaws thanks for the input.

As short term workaround, you might want to use ignoreErrors: true config option.

@geekvikas
Copy link

that short term workaround is permanent solution it seem :)

@mauriciosoares
Copy link

mauriciosoares commented Mar 17, 2021

I've created a PR for adding a retry option to the plugin... #392

The best scenario would be that rollbar wouldn't fail sporadically, but until then, this might help you out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants