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

[🐛 Bug]: Should not increase bundle size when build project after upgrade Sentry version to V8 #885

Open
1 task done
danhnguyen-agilityio opened this issue Oct 1, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@danhnguyen-agilityio
Copy link

next-on-pages environment related information

@cloudflare/next-on-pages: 1.13.2

Description

We want to apply the feature thirdPartyErrorFilterIntegration for Sentry, but this feature requires version 8.10.0 or above (Sentry documentation).

As a result, we updated @sentry/nextjs from 7.119.0 to 8.20.0. However, when we redeployed the project on Cloudflare with the new version, we encountered the following error:
Generated Pages Functions bundle size (83882560) is over the limit of 25.0 MiB.

This issue is impacting our business significantly: we are being overwhelmed with third-party errors, making it difficult to filter and identify our own errors in Sentry.

Our desired resolution is to have Sentry V8 without increasing the bundle size.
Ideally, we want to maintain a smaller bundle size to ensure optimal performance for the functions.

Reproduction

No response

Pages Deployment Method

None

Pages Deployment ID

No response

Additional Information

No response

Would you like to help?

  • Would you like to help fixing this bug?
@danhnguyen-agilityio danhnguyen-agilityio added the bug Something isn't working label Oct 1, 2024
@danhnguyen-agilityio danhnguyen-agilityio changed the title [🐛 Bug]: Should not increase bundle side when build project after upgrade Sentry version to V8 [🐛 Bug]: Should not increase bundle size when build project after upgrade Sentry version to V8 Oct 1, 2024
@james-elicx
Copy link
Contributor

Believe this will also have been fixed by #886. Should be available in the latest beta release for next-on-pages.

@danhnguyen-agilityio
Copy link
Author

danhnguyen-agilityio commented Oct 4, 2024

Thanks @james-elicx ,
Can you tell me the time new version for @cloudflare/next-on-pages released?
We want to use it as soon as possible.

@james-elicx
Copy link
Contributor

Thanks @james-elicx , Can you tell me the time new version for @cloudflare/next-on-pages released? We want to use it as soon as possible.

The release is out now @danhnguyen-agilityio

@james-elicx
Copy link
Contributor

Bizarrely, something appears to be wrong with npm and it is not showing the published version

@james-elicx
Copy link
Contributor

npm is finally showing our releases. Should be good for you to try out now with the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants