Skip to content

perf: dynamically import sentry lib in error catch clause#19607

Merged
hbjORbj merged 1 commit intomainfrom
perf/dynamically-import-sentry-lib
Feb 27, 2025
Merged

perf: dynamically import sentry lib in error catch clause#19607
hbjORbj merged 1 commit intomainfrom
perf/dynamically-import-sentry-lib

Conversation

@hbjORbj
Copy link
Copy Markdown
Contributor

@hbjORbj hbjORbj commented Feb 27, 2025

What does this PR do?

  • in apiRouteMiddleware (used as a wrapper for app router APIs), dynamically import Sentry lib in error catch clause

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • N/A - I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • Already tested
Screenshot 2025-02-27 at 12 24 09 PM

@graphite-app graphite-app bot requested a review from a team February 27, 2025 17:18
@hbjORbj hbjORbj changed the title perf: dynamically import sentry lib perf: dynamically import sentry lib in error catch clause Feb 27, 2025
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 27, 2025

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

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Feb 27, 2025 5:19pm
calcom-web-canary ⬜️ Ignored (Inspect) Feb 27, 2025 5:19pm

@hbjORbj hbjORbj changed the title perf: dynamically import sentry lib in error catch clause perf: dynamically import sentry lib in error catch handler Feb 27, 2025
@keithwillcode keithwillcode added consumer core area: core, team members only labels Feb 27, 2025
@dosubot dosubot bot added the performance area: performance, page load, slow, slow endpoints, loading screen, unresponsive label Feb 27, 2025
@hbjORbj hbjORbj added ready-for-e2e and removed performance area: performance, page load, slow, slow endpoints, loading screen, unresponsive labels Feb 27, 2025
@hbjORbj hbjORbj changed the title perf: dynamically import sentry lib in error catch handler perf: dynamically import sentry lib in error catch clause Feb 27, 2025
@graphite-app
Copy link
Copy Markdown

graphite-app bot commented Feb 27, 2025

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (02/27/25)

1 reviewer was added to this PR based on Keith Williams's automation.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 27, 2025

E2E results are ready!

@hbjORbj hbjORbj merged commit 2cf7673 into main Feb 27, 2025
@hbjORbj hbjORbj deleted the perf/dynamically-import-sentry-lib branch February 27, 2025 18:17
itsalam pushed a commit to itsalam/cal.com that referenced this pull request Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

consumer core area: core, team members only ready-for-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants