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

feat(feature-manager): remove GoogleAnalytics feature #2127

Merged
merged 2 commits into from
Jun 14, 2021

Conversation

mantariksh
Copy link
Contributor

@mantariksh mantariksh commented Jun 10, 2021

Problem

Part of #1842

Solution

Removes the GoogleAnalytics feature from the feature manager.

Breaking Changes

  • Yes - this PR contains breaking changes
    • Details ...
  • No - this PR is backwards compatible
    • Server-side only

Deploy Notes

Note that the server can no longer start up successfully without the presence of the GA_TRACKING_ID environment variable.

A mock default for GA_TRACKING_ID has been adding in docker-compose.yml to minimise disruption to developers. However, this means that this env var has to be removed from docker-compose.yml in order to use Google Analytics on localhost. This tradeoff was made because developers rarely need to use GA in localhost, but always need to have their dev environment configured correctly.

Tests

The end-to-end tests used to distinguish between "basic environment" and "full environment" tests to ensure that the open-source version of the product (without any optional env vars) works correctly. Since all env vars are now required and the server now breaks without them, this distinction was removed in 2ca7dea.

@mantariksh
Copy link
Contributor Author

e2e tests are doing their job, need to update them to use full-env

@mantariksh
Copy link
Contributor Author

actually I think I'll add the test commit separately

@mantariksh mantariksh changed the base branch from develop to test/remove-e2e-basic-env June 10, 2021 03:19
@mantariksh mantariksh changed the base branch from test/remove-e2e-basic-env to develop June 10, 2021 07:13
@mantariksh mantariksh force-pushed the remove-fm/google-analytics branch 2 times, most recently from 7757ce7 to 1fa9625 Compare June 11, 2021 06:09
@mantariksh mantariksh merged commit d96106f into develop Jun 14, 2021
@mantariksh mantariksh deleted the remove-fm/google-analytics branch June 15, 2021 06:00
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.

None yet

2 participants