Skip to content

🪟 🐛 Add cloudPublicApiUrl into webapp env #22229

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

Merged
merged 2 commits into from
Feb 1, 2023

Conversation

joeykmh
Copy link
Contributor

@joeykmh joeykmh commented Feb 1, 2023

What

During the config refactor we removed the default cloudPublicApiUrl value, but did not add a value to .env. This PR adds the value to .env so that REACT_APP_CLOUD_API_URL is defined during the build step.

@octavia-squidington-iii octavia-squidington-iii added the area/frontend Related to the Airbyte webapp label Feb 1, 2023
@octavia-squidington-iii octavia-squidington-iii removed the area/frontend Related to the Airbyte webapp label Feb 1, 2023
@joeykmh joeykmh requested a review from terencecho February 1, 2023 19:10
@joeykmh joeykmh changed the title 🪟 🐛 Add fallback for cloudPublicApiUrl 🪟 🐛 Add cloudPublicApiUrl into webapp env Feb 1, 2023
@joeykmh joeykmh requested a review from a team February 1, 2023 19:15
@terencecho
Copy link
Contributor

I'm curious why we didn't notice any error messages since your previous PR contained a block to throw an error if that var was missing.

@joeykmh
Copy link
Contributor Author

joeykmh commented Feb 1, 2023

I'm curious why we didn't notice any error messages since your previous PR contained a block to throw an error if that var was missing.

@terencecho the errors are only thrown (and handled, with an error message) at run-time in the browser. You can see some of the datadog RUM errors logged here:

https://app.datadoghq.com/rum/explorer?query=%40type%3Aerror%20%40error.type%3AMissingConfigError&cols=&viz=stream_issues&from_ts=1675106648792&to_ts=1675279448792&live=true

We currently don't have any alerts set up for this, but I will do that now.

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.

3 participants