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

URL request params prohibitively long #134

Open
AlexanderMann opened this issue Apr 28, 2020 · 3 comments
Open

URL request params prohibitively long #134

AlexanderMann opened this issue Apr 28, 2020 · 3 comments

Comments

@AlexanderMann
Copy link

Motivation

Bundlewatch was working fine, and now appears to be failing to process. The suspect we have is that our computed URL is really long (but not ruling out something on our end).

Background

Hey all, @cheapsteak and myself recently started a migration company wide over to Webpack, which involved us also going through and trimming a bunch of our dependencies etc.

One such one was swapping Bundlewatch for Bundlesize. Initially this was painless and almost a 1 for 1 plug and play sort of scenario.

However, we just recently ran into an issues which appears to be causing Bundlewatch to break painfully.

Notes

  • The most obvious guess we have is that our computed URL is ~10400 characters long...which seems...excessive.
  • We know that presently we have many bundles which is most likely exacerbating the problem (we're using Monaco and this results in some fiddling to get it to calm down).
    • We have ~75 bundles... 😬
  • Full url for this is here (we vetted that nothing terribly sensitive is present in it):
https://service.bundlewatch.io/results?d=details%7CrepoOwner%7Cmdg-private%7CrepoName%7Cengine-frontend%7CrepoCurrentBranch%7Cchang%2Ftest-right-align-requests%7CrepoBranchBase%7Cmaster%7CcommitSha%7C4aefb461947228021cd2c616e1d63d3edbb090b1%7Cresults%7Cstatus%7Cpass%7CfullResults%7CfilePath%7Cbuild%2Fstatic%2Fjs%2F1.dc6d54c2a81e18654ffa.js%7Csize%7CbaseBranchSize%7CmaxSize%7Cbuild%2Fstatic%2Fjs%2F10.3abf2fc3520da5543937.js%7Cbuild%2Fstatic%2Fjs%2F11.9672396a8970258112fd.js%7Cbuild%2Fstatic%2Fjs%2F12.5441a760ddb21bc23655.js%7Cbuild%2Fstatic%2Fjs%2F13.d683316b2d9bc17ccc76.js%7Cbuild%2Fstatic%2Fjs%2F14.68a4361a17c23b96204d.js%7Cbuild%2Fstatic%2Fjs%2F15.0fe824bf94597011ab20.js%7Cbuild%2Fstatic%2Fjs%2F16.32179e52756d40354cc2.js%7Cbuild%2Fstatic%2Fjs%2F17.b3ea2cd85efb27295226.js%7Cbuild%2Fstatic%2Fjs%2F18.6b828284e20b8f1e1ea2.js%7Cbuild%2Fstatic%2Fjs%2F19.7a448fc7b9d37f8a321a.js%7Cbuild%2Fstatic%2Fjs%2F20.b2b19a7dbb0902b5ae94.js%7Cbuild%2Fstatic%2Fjs%2F21.c933d620e0a1acaae1f0.js%7Cbuild%2Fstatic%2Fjs%2F22.53f6615cd3800c6c3384.js%7Cbuild%2Fstatic%2Fjs%2F23.377a1d0f2bc71db8594c.js%7Cbuild%2Fstatic%2Fjs%2F24.b452603ae39034a70946.js%7Cbuild%2Fstatic%2Fjs%2F25.c8e27ef963be2b88de93.js%7Cbuild%2Fstatic%2Fjs%2F26.d243b2c824e989c2db7e.js%7Cbuild%2Fstatic%2Fjs%2F27.47dfc6d0546a13d6d46b.js%7Cbuild%2Fstatic%2Fjs%2F28.1b09e687ee71226b6c76.js%7Cbuild%2Fstatic%2Fjs%2F29.02276f3e3fcb9307b65a.js%7Cbuild%2Fstatic%2Fjs%2F30.a2065e718444c71b567e.js%7Cbuild%2Fstatic%2Fjs%2F31.17db07825683b1803418.js%7Cbuild%2Fstatic%2Fjs%2F32.42582305edcf480bbf5e.js%7Cbuild%2Fstatic%2Fjs%2F33.c389e1108ee2b214365d.js%7Cbuild%2Fstatic%2Fjs%2F34.7f07e796b08713778a5b.js%7Cbuild%2Fstatic%2Fjs%2F35.51114dfb33755ce6f896.js%7Cbuild%2Fstatic%2Fjs%2F36.d542132bc218b58eece3.js%7Cbuild%2Fstatic%2Fjs%2F37.7d4cb5300fbba0b8f1e1.js%7Cbuild%2Fstatic%2Fjs%2F38.f3bd25724288146da557.js%7Cbuild%2Fstatic%2Fjs%2F39.4351e58571dc0486fe0a.js%7Cbuild%2Fstatic%2Fjs%2F4.6f2d2d75e2b3d692f6b7.js%7Cbuild%2Fstatic%2Fjs%2F40.2c90db7f2ef155da204a.js%7Cbuild%2Fstatic%2Fjs%2F41.65a2b1ed1ac72e1ac2e9.js%7Cbuild%2Fstatic%2Fjs%2F42.84d5e2031981e70ab4a2.js%7Cbuild%2Fstatic%2Fjs%2F43.8cabaaf42b3767e0ae67.js%7Cbuild%2Fstatic%2Fjs%2F44.fab0167480dde59f7884.js%7Cbuild%2Fstatic%2Fjs%2F45.6e683ed142f44b8a1bf3.js%7Cbuild%2Fstatic%2Fjs%2F46.9e9a1f8b8238e08ffe89.js%7Cbuild%2Fstatic%2Fjs%2F47.bf79d47db374e2d5a2b2.js%7Cbuild%2Fstatic%2Fjs%2F48.3149f8c5e92ae94a62ab.js%7Cbuild%2Fstatic%2Fjs%2F49.f50520d2c601c1545df9.js%7Cbuild%2Fstatic%2Fjs%2F5.dff53ad9a3ea67e1827f.js%7Cbuild%2Fstatic%2Fjs%2F50.1370ab56dd336857c1bb.js%7Cbuild%2Fstatic%2Fjs%2F51.7956e2b7dec0d32daba7.js%7Cbuild%2Fstatic%2Fjs%2F52.cf41652b95153741a2c5.js%7Cbuild%2Fstatic%2Fjs%2F53.e0c468277e1b0c922635.js%7Cbuild%2Fstatic%2Fjs%2F54.7129a0ff24d65eb5baae.js%7Cbuild%2Fstatic%2Fjs%2F55.392cbb8b5db3f6e94f19.js%7Cbuild%2Fstatic%2Fjs%2F56.2b656ee385014d880aa5.js%7Cbuild%2Fstatic%2Fjs%2F57.4bcbd20e4fdb849d741c.js%7Cbuild%2Fstatic%2Fjs%2F58.d3ba4a661817c1d417d7.js%7Cbuild%2Fstatic%2Fjs%2F59.3aee9513a29e853c618e.js%7Cbuild%2Fstatic%2Fjs%2F6.29b62117dccf26507a00.js%7Cbuild%2Fstatic%2Fjs%2F60.f9340194056e3c8d15d7.js%7Cbuild%2Fstatic%2Fjs%2F61.76f074d6c7767617669a.js%7Cbuild%2Fstatic%2Fjs%2F62.3c849c38131a5502f854.js%7Cbuild%2Fstatic%2Fjs%2F63.a66e064603f561bed039.js%7Cbuild%2Fstatic%2Fjs%2F64.fa358c9cf0a70861fb36.js%7Cbuild%2Fstatic%2Fjs%2F65.e2f8a6ffa06ca7799fd7.js%7Cbuild%2Fstatic%2Fjs%2F66.bccce96ed750504cdce4.js%7Cbuild%2Fstatic%2Fjs%2F67.c7047e449e6c6efc3ccd.js%7Cbuild%2Fstatic%2Fjs%2F68.64fc96b273b9556d7baf.js%7Cbuild%2Fstatic%2Fjs%2F69.cef812af5774cb7bf054.js%7Cbuild%2Fstatic%2Fjs%2F7.d68a4cabe602b743bd82.js%7Cbuild%2Fstatic%2Fjs%2F70.7b83fe46f321ce2ad6c5.js%7Cbuild%2Fstatic%2Fjs%2F71.74007f5296dc77e0b2c3.js%7Cbuild%2Fstatic%2Fjs%2F72.ad2b6d569d82876ed91a.js%7Cbuild%2Fstatic%2Fjs%2F73.917ec27009e30f74ffad.js%7Cbuild%2Fstatic%2Fjs%2F74.f4a4c4a18f2a5f7cbb32.js%7Cbuild%2Fstatic%2Fjs%2F8.8ed99882c230e66b9b60.js%7Cbuild%2Fstatic%2Fjs%2F9.6ac742baecf9e9be214d.js%7Cbuild%2Fstatic%2Fjs%2Fapp.2655efaa65bbe710ee8b.js%7Cbuild%2Fstatic%2Fjs%2Fcss.8eb5638aa3a2dd69793f.js%7Cbuild%2Fstatic%2Fjs%2Fruntime.a1190080173469676b6b.js%7Cbuild%2Fassets%2Fmonaco.editor.main.min.css%7Cbuild%2Fstatic%2Fcss%2F3.aff054bd9f2d0d6384dc.css%7Cbuild%2Fstatic%2Fcss%2F4.0df0a75e8cae1e5adb1d.css%7Cbuild%2Fstatic%2Fcss%2F5.b35df145b6d5f3c1f54e.css%7Cbuild%2Fstatic%2Fcss%2F6.46feb81a3096ab375de8.css%7Cbuild%2Fstatic%2Fjs%2F6.8bec48a6759443949be8.js%7Cremoved%7Cbuild%2Fstatic%2Fjs%2Fruntime.3682a8815cda27bcc8fe.js%7Csummary%7CEverything%2Bis%2Bin%2Bc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8Q%7CI%7C8R%7CJ%7C8S%5D%7C%24F%7C2I%7CC%7CD%7CH%7C8T%7CI%7C8U%7CJ%7C8V%5D%7C%24F%7C2J%7CC%7CD%7CH%7C8W%7CI%7C8X%7CJ%7C8Y%5D%7C%24F%7C2K%7CC%7CD%7CH%7C8Z%7CI%7C90%7CJ%7C91%5D%7C%24F%7C2L%7CC%7CD%7CH%7C92%7CI%7C93%7CJ%7C94%5D%7C%24F%7C2M%7CC%7CD%7CH%7C95%7CI%7C96%7CJ%7C97%5D%7C%24F%7C2N%7CC%7CD%7CH%7C98%7CI%7C99%7CJ%7C9A%5D%7C%24F%7C2O%7CC%7CD%7CH%7C9B%7CI%7C9C%7CJ%7C9D%5D%7C%24F%7C2P%7CC%7CD%7CH%7C9E%7CI%7C9F%7CJ%7C9G%5D%7C%24F%7C2Q%7CC%7CD%7CH%7C9H%7CI%7C9I%7CJ%7C9J%5D%7C%24F%7C2R%7CC%7C2S%7CH%7C9K%7CI%7C9L%7CJ%7C9M%5D%7C%24F%7C2T%7CC%7C2S%7CH%7C9N%7CI%7C9O%7CJ%7C9P%5D%5D%7C2U%7C2V%5D%5D

Suggested Musical Pairing

https://soundcloud.com/four-tet/kh-my-moneys-gone

@cheapsteak
Copy link

cheapsteak commented Apr 28, 2020

Update: We fixed this on our end by reducing the number of output bundles
It looks like the culprit is that the shortener breaks when it tries to shorten humongous urls

@AlexanderMann
Copy link
Author

Update: we have some details on the above:

The error we're getting from the bundlewatch task is

[ERROR] Unable to shorten URL code=Request failed with status code 400

The related code on bundlewatch's service is here src/app/resultsPage/shortenURL.js:10-25

@iamogbz
Copy link
Member

iamogbz commented Apr 29, 2020

I believe this is the same issue as bundlewatch/bundlewatch#34

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

No branches or pull requests

3 participants