-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
Inspect why Sentry plugin breaks builds on CloudFlare Pages #6518
Comments
after some further testing: preschian#67
It seems like a compatibility issue with the current |
We are so back when I've added Sentry AUTH token
|
maybe @prury want to test also? how to test:
send me a discord message if you need pairing |
yup! will need your assistance |
oh, now, breaks on netlify deployment https://app.netlify.com/sites/koda-canary/deploys/64d1fb67f867ea0007170f88 error on the other platform can be easily fixed after retry the deployment |
Now, it is an intermittent error, and we need to retry the deployment if show up the error again. I don't know what the root cause is 🥲 It's time to move to Vite, I guess. Currently, we are still using webpack in nuxt-bridge |
I will remove |
It would be good if someone could find the root cause cc @kodadot/internal-dev For context: there are no changes from the Cloudflare pages dashboard, but somehow when trying to deploy it to production, it throws the error. first occurrence #6470 (comment) |
Yes, please leave it w/o SENTRY token, I prefer working build than reporting Sentry from broken build 😄 Probably time to check on Vite too |
Confusing part was it works well on my forked version https://main.nft-gallery-1hj.pages.dev/ wanna try to upload it through gh-actions? @yangwao |
oh nvm, it also error on github actions |
uh sounds pretty complicated, keep it simple 😄 |
The JourneyHi, I want to share my journey here after trying some stuff to validate the assumptions. Here are some assumptions that seem not valid 1.
|
We hit this because we are trying to process too many components at once or..? I haven't slept well today, so asking 😄 |
Imo what was mentioned in SO is that cloudlfare has limits for files https://developers.cloudflare.com/pages/platform/limits/ and every component and async component is separated file + blog assets & so |
Something like that. between so heavy to process or too many files
😅😅😅 |
this is also could be possible the problem for them in Stackoverflow case |
There are limit 20k files, I usually see low as 6xx files being uploaded. Then it must be something else I guess? |
Correct, I'm sure the error in our app is not related to limits on Cloudflare Pages. Because we have evidence that we can face the error on gh-actions, netlify, and even locally. So, I assume there is something related to building steps in our app. For the person in Stackoverflow, it might be the issue is from limits on cf-pages, or I would say it might be identical with us also if they have under 20k files |
@preschian Okay, it's a sentry plugin. Seems builds.
Originally posted by @yangwao in #6470 (comment)
The text was updated successfully, but these errors were encountered: