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

🐛 Sentry Reports Sent to Wrong Environment for preview.gov.tools #2445

Open
kneerose opened this issue Nov 29, 2024 · 1 comment
Open
Assignees
Labels
🐛 Bug Something isn't working Other area

Comments

@kneerose
Copy link
Contributor

kneerose commented Nov 29, 2024

Area

Other

Domain

preview.gov.tools

Which wallet were you using?

No response

Context

Sentry reports for preview.gov.tools are being incorrectly sent to the production environment instead of the beta environment. This issue began after updating to Govtool v1.0.28, while it was functioning correctly with Govtool v1.0.26.

https://intersect.sentry.io/issues/6088016417/?environment=production&project=4507101527277568&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=14d&stream_index=4

Steps to reproduce

  1. Connect the wallet.
  2. Attempt to register as a sole voter.
  3. Decline the wallet popup.
  4. Check the payload in the network Sentry request.

Actual behavior

Sentry reports are logged in the production environment.

image

image

Expected behavior

Sentry reports for preview.gov.tools should be logged in the beta environment instead of the production environment.

image

@MSzalowski
Copy link
Contributor

That is managed by VITE_APP_ENV environment variable, which is passed during build time. Something to be dealt with by devops team, rather easy to fix by just correcting the env before next deployment.

Tag @mpavlovicbb for fyi

@MSzalowski MSzalowski assigned mpavlovicbb and unassigned MSzalowski Dec 13, 2024
@MSzalowski MSzalowski moved this from In progress to To do in Govtool all Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working Other area
Projects
Status: To do
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants