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

deps(sentry): upgrade Sentry to version 8 #17697

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Conversation

chenba
Copy link
Contributor

@chenba chenba commented Sep 25, 2024

Because:

  • Sentry 8 is the latest version

This commit:

  • deletes some integration code since Sentry does it automatically
  • updates code to use the Sentry 8 API
  • updates a few proxyquire calls because they were cause module not found errors in CI

@chenba chenba requested a review from a team as a code owner September 25, 2024 17:48
@chenba
Copy link
Contributor Author

chenba commented Sep 25, 2024

#17505 but without Dan's updates for test timeouts.

@chenba chenba force-pushed the sentry-8-no-timeout-updates branch from 83dc649 to d3be5f3 Compare September 25, 2024 18:18
dschom and others added 2 commits September 25, 2024 11:58
Becuase:
- After upgrading sentry we were seeing test timeouts
- There were some kinda weird patterns in place for these tests anyways
- Test server wasn't getting cleaned up
- Test server start up is taking longer (presumably because of sentry upgrade?)

This Commit:
- Moves before an after blocks next to each other so setup and tear down are easy to follow
- Makes sure test server start / stop is done in before each blocks
- Increase test timeouts to 60s when test server is used
- Switches to async/await for before and after blocks, which feels less error prone
Because:
 - Sentry 8 is the latest version

This commit:
 - deletes some integration code since Sentry does it automatically
 - updates code to use the Sentry 8 API
 - updates a few proxyquire calls because they were cause module not
   found errors in CI
@chenba chenba force-pushed the sentry-8-no-timeout-updates branch from d3be5f3 to 81c4761 Compare September 25, 2024 19:31
@chenba chenba merged commit 5a1ff39 into main Sep 25, 2024
26 checks passed
@chenba chenba deleted the sentry-8-no-timeout-updates branch September 25, 2024 20:04
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

Successfully merging this pull request may close these issues.

2 participants