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

chore: configure Sentry environment #730

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

gmaclennan
Copy link
Member

This PR configures the environment string for Sentry bug reporting.

The Sentry UI separates issues by environment. It is a free-form string.

This is helpful so that we can easily see which issues are coming from actual production builds vs development builds.

I am using 3 environments:

  • development: This is for any development builds or prerelease builds.
  • qa: This is for any release candidate builds
  • production: This is for any production builds that are released to the public.

In the future we can decide if we want to separate development and prerelease builds into different environments if helpful.

This PR also uses the applicationId to determine whether to print Sentry debug information, rather than the APP_VARIANT env, which was not being reliably set in builds.

@gmaclennan gmaclennan self-assigned this Sep 17, 2024
@gmaclennan
Copy link
Member Author

@ErikSin @achou11 I've just been browsing Sentry, and I think incorporating this change into the MVP is going to make it a lot easier to use Sentry to track down production bugs. Since we are delaying MVP a bit and still have a round of QA planned, what do you think about including this PR in MVP?

@achou11
Copy link
Member

achou11 commented Sep 23, 2024

@ErikSin @achou11 I've just been browsing Sentry, and I think incorporating this change into the MVP is going to make it a lot easier to use Sentry to track down production bugs. Since we are delaying MVP a bit and still have a round of QA planned, what do you think about including this PR in MVP?

definitely in favor of it 👍

@achou11 achou11 removed the post-MVP label Sep 25, 2024
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