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

fix: fixes sentry errors on 404's pages #6144

Merged
merged 11 commits into from
Nov 29, 2023
Merged

Conversation

ovflowd
Copy link
Member

@ovflowd ovflowd commented Nov 27, 2023

Description

This PR fixes our Sentry's Server Component Errors fro /[locale]/ by making the Not Found Page client-only.

This PR also removes the CPU Profiling Sentry Extension as it was mostly not being used.

The Sentry issue (internally) is: https://nodejs-org.sentry.io/issues/4614002695/events/ae345ce869cb4a7582e925bc7d1958be/

Validation

Deploy this branch preview and analyse on Sentry releases tab (https://nodejs-org.sentry.io/releases/?project=4506191307735040&statsPeriod=1h) that this issue is indeed not re-ocurring.

Related Issues

@ovflowd ovflowd requested a review from a team as a code owner November 27, 2023 11:24
Copy link

vercel bot commented Nov 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 29, 2023 7:34pm

@ovflowd ovflowd requested a review from a team as a code owner November 27, 2023 11:57
@ovflowd ovflowd force-pushed the meta/test-removing-try/catch branch from 0792392 to de2e84f Compare November 27, 2023 12:04
@ovflowd ovflowd changed the title experiment: attempt to use .catch instead of try/catch fix: fixes sentry errors on 404's pages Nov 27, 2023
@ovflowd ovflowd added bug infrastructure Issues/PRs related to the Repository Infra github_actions:pull-request Trigger Pull Request Checks labels Nov 27, 2023
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Nov 27, 2023
Copy link
Contributor

github-actions bot commented Nov 27, 2023

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 100 🟢 97 🟢 92 🟢 92 🔗
/en/about 🟢 100 🟢 95 🟢 92 🟢 92 🔗
/en/about/previous-releases 🟢 98 🟢 93 🟢 92 🟢 92 🔗
/en/download 🟢 100 🟢 95 🟢 92 🟢 92 🔗
/en/blog 🟢 99 🟢 95 🟢 92 🟢 92 🔗

Copy link
Contributor

github-actions bot commented Nov 27, 2023

Unit Test Coverage Report

Lines Statements Branches Functions
Coverage: 94%
90.37% (366/405) 77.31% (92/119) 89.18% (66/74)

Unit Test Report

Tests Skipped Failures Errors Time
71 0 💤 0 ❌ 0 🔥 4.177s ⏱️

Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM
good found for next-int patch

@ovflowd
Copy link
Member Author

ovflowd commented Nov 27, 2023

SGTM good found for next-int patch

Actually, I forgot these changes there. I should remove the patch.

@ovflowd ovflowd force-pushed the meta/test-removing-try/catch branch 2 times, most recently from 331d328 to 35a4e02 Compare November 27, 2023 20:36
@ovflowd ovflowd added the github_actions:pull-request Trigger Pull Request Checks label Nov 29, 2023
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Nov 29, 2023
@ovflowd ovflowd disabled auto-merge November 29, 2023 19:38
@ovflowd ovflowd merged commit ee7184b into main Nov 29, 2023
16 checks passed
@ovflowd ovflowd deleted the meta/test-removing-try/catch branch November 29, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug infrastructure Issues/PRs related to the Repository Infra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants