Skip to content

Tweak Sentry SDK setup #291

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

chromy
Copy link
Contributor

@chromy chromy commented Aug 14, 2025

Make two changes to what we report to Sentry for crashes:

  1. Set 'environment' to SENTRY_REGION / SENTRY_ENVIRONMENT so rather
    than being 'production' or 'development' it's 'us', 'de', etc.
  2. Set 'release' to the git sha we are building at.

@chromy chromy force-pushed the chromy/2025-08-14-report-releases branch from 1722e12 to 4573ed1 Compare August 14, 2025 20:17
Copy link

codecov bot commented Aug 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.75%. Comparing base (e3c1bcd) to head (810b06f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #291      +/-   ##
==========================================
+ Coverage   77.73%   77.75%   +0.01%     
==========================================
  Files         141      141              
  Lines       11086    11084       -2     
  Branches     1184     1183       -1     
==========================================
  Hits         8618     8618              
+ Misses       2048     2046       -2     
  Partials      420      420              

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@chromy chromy force-pushed the chromy/2025-08-14-report-releases branch 2 times, most recently from 6e18ca1 to 321d767 Compare August 14, 2025 20:20
Make two changes to what we report to Sentry for crashes:
1. Set 'environment' to SENTRY_REGION / SENTRY_ENVIRONMENT so rather
   than being 'production' or 'development' it's 'us', 'de', etc.
2. Set 'release' to the git sha we are building at.
@chromy chromy force-pushed the chromy/2025-08-14-report-releases branch from 321d767 to 810b06f Compare August 15, 2025 10:24
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