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

Upgrade Sentry to v8 and switch to IS_YSTV_BUILD #375

Merged
merged 12 commits into from
Jul 10, 2024
Merged

Conversation

markspolakovs
Copy link
Collaborator

@markspolakovs markspolakovs commented May 27, 2024

This PR upgrades the Sentry SDK to v8 and applies some of their breaking changes.

It also renames the IS_PRODUCTION_BUILD environment variable to IS_YSTV_BUILD to more accurately reflect its purpose, and updates the Desktop build process to respect it as well. This will become important if non-YSTV users start to use Badger - we don't want them to get our Sentry config for privacy reasons. We may want to re-evaluate this later once we have a more robust opt-out system, but for now just disable Sentry for non-YSTV builds.

Resolves BDGR-171

@codecov-commenter
Copy link

codecov-commenter commented May 27, 2024

Codecov Report

Attention: Patch coverage is 44.82759% with 16 lines in your changes missing coverage. Please review.

Project coverage is 19.62%. Comparing base (bb0755e) to head (5992fd7).

Files Patch % Lines
jobrunner/src/index.ts 50.00% 13 Missing ⚠️
server/lib/auth/index.ts 0.00% 0 Missing and 2 partials ⚠️
server/components/CurrentUser.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #375      +/-   ##
==========================================
+ Coverage   19.57%   19.62%   +0.05%     
==========================================
  Files          95       95              
  Lines        3433     3439       +6     
  Branches      590      601      +11     
==========================================
+ Hits          672      675       +3     
+ Misses       2760     2617     -143     
- Partials        1      147     +146     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@markspolakovs
Copy link
Collaborator Author

/yarn unlock

2 similar comments
@markspolakovs
Copy link
Collaborator Author

/yarn unlock

@markspolakovs
Copy link
Collaborator Author

/yarn unlock

Copy link
Contributor

Trying to merge yarn.lock... follow along at https://github.com/ystv/badger/actions/runs/9881563878

@markspolakovs
Copy link
Collaborator Author

/yarn unlock

Copy link
Contributor

github-actions bot commented Jul 10, 2024

No conflicts found.

@markspolakovs
Copy link
Collaborator Author

/yarn unlock

Copy link
Contributor

github-actions bot commented Jul 10, 2024

Something went wrong. Please look at the logs.

@markspolakovs
Copy link
Collaborator Author

/yarn unlock

Copy link
Contributor

github-actions bot commented Jul 10, 2024

Something went wrong. Please look at the logs.

@markspolakovs
Copy link
Collaborator Author

/yarn unlock

Copy link
Contributor

github-actions bot commented Jul 10, 2024

Something went wrong. Please look at the logs.

@markspolakovs markspolakovs added this pull request to the merge queue Jul 10, 2024
Merged via the queue into main with commit f1c0b29 Jul 10, 2024
14 checks passed
@markspolakovs markspolakovs deleted the sentry-8 branch July 10, 2024 22: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