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

Prod and Dev Environments Sharing Same Fire Store Collections/Indexes #296

Closed
davidgxue opened this issue Feb 12, 2024 · 1 comment · Fixed by #304
Closed

Prod and Dev Environments Sharing Same Fire Store Collections/Indexes #296

davidgxue opened this issue Feb 12, 2024 · 1 comment · Fixed by #304
Assignees
Milestone

Comments

@davidgxue
Copy link
Contributor

Describe the bug
There's an issue with sharing the same Firestore collections and indexes between the production and development environments. Currently, both environments are using the same Firestore setup, causing conflicts and data integrity issues. The metrics being tracked and put into snowflake is also incorrect because of this

Our me

To Reproduce
Steps to reproduce the behavior:

  1. Access the Ask-Astro website or Ask-Astro Slackbot in the production environment.
  2. Ask questions/send requests
  3. Repeat the same actions in the development environment.
  4. The same Firestore collections/indexes being used

Expected behavior
The production and development environments should have separate Firestore collections and indexes to ensure data isolation and prevent interference between the two environments.

Screenshots
N/A

@davidgxue davidgxue added this to the 0.3.0 milestone Feb 21, 2024
@davidgxue davidgxue self-assigned this Feb 21, 2024
@davidgxue davidgxue changed the title Prod and Dev Environments Sharing Same Fire Store Collections/Indexes [Blocked] Prod and Dev Environments Sharing Same Fire Store Collections/Indexes Feb 23, 2024
@davidgxue
Copy link
Contributor Author

Completed after copying is_example docs from -dev- index to -prod index

@davidgxue davidgxue changed the title [Blocked] Prod and Dev Environments Sharing Same Fire Store Collections/Indexes Prod and Dev Environments Sharing Same Fire Store Collections/Indexes Mar 1, 2024
davidgxue added a commit that referenced this issue Mar 1, 2024
…304)

### Description
- Super simple code change
- Also changing snowflake db table schema (not code change not shown in
PR)
- Tested by creating new firestore collection indexes

closes #291
closes #296 (second issue is used to test, no code change related)
closes #275

---------

Co-authored-by: Wei Lee <weilee.rx@gmail.com>
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 a pull request may close this issue.

1 participant