bugsnag / webpack-bugsnag-plugins

Webpack plugins for common BugSnag actions.
MIT License
32 stars 29 forks source link

CI failures due to issues uploading #79

Open zackarychapple opened 1 month ago

zackarychapple commented 1 month ago

Describe the bug

I believe this should have been resolved by #17 however seeing an issue with failed upload requests. Would be great to not fail the build when upload fails, however the plugin not uploading currently fails the build.

Steps to reproduce

  1. issue is intermittent

Environment

Example code snippet

Connection timed out
   at ClientRequest.<anonymous (/home/user/node_modules_cache/9a0b663f2ebc45a0e058e7660d0fb4fc8346e175/node_modules/@bugsnag/source-maps/dist/Request.js:194:21)
   at Object.onceWrapper (node:events:632:28)
   at ClientRequest.emit (node:events:518:28)
   at TLSSocket.emitRequestTimeout (node:_http_client:845:9)
   at Object.onceWrapper (node:events:632:28)
   at TLSSocket.emit (node:events:530:35)
   at Socket._onTimeout (node:net:589:8)
   at listOnTimeout (node:internal/timers:573:17)
   at process.processTimers (node:internal/timers:514:7)

clr182 commented 1 month ago

Hi @zackarychapple

Thank you for reaching out.

We now have an item on our backlog aimed at dropping these failed source maps after failing the initial retries. While I don't currently have an ETA on the release of this functionality, once we have more information to share we will be sure to update you.

For the meantime as a workaround we would recommend removing the automatic source map upload steps from your webpack config and manually upload the source maps using our CLITool as per our documentation here.