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

fix: project client metrics trends remove invalid insert #6385

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Feb 29, 2024

About the changes

Cleaning up a migration by removing invalid insert. For some customers it's been already applied. For 2 clientIds it was failing. After this change most customers will have inserted data and the failing clientIds will get this migration applied.

We need to pay extra attention if we want to bring the insert back in future as it already got applied for some customers.

In the next PR we can drop the FK constraint to projects since features don't have FK constraint to projects and we read the project information from features.
Another option is to read project information from the projects table not features table (my preference).

Important files

Discussion points

Copy link

vercel bot commented Feb 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Feb 29, 2024 8:30am
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Visit Preview Feb 29, 2024 8:30am

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Health Quality Gates: OK

  • Declining Code Health: 0 findings(s) 🚩
  • Improving Code Health: 0 findings(s) ✅
  • Affected Hotspots: 0 files(s) 🔥

Recommended Review Level: Detailed -- Increased risk for defects: No code is modified, but the change set deletes (15) lines of code, which is an unusal pattern in this repo.
View detailed results in CodeScene

@kwasniew kwasniew merged commit 5a80d5e into main Feb 29, 2024
10 checks passed
@kwasniew kwasniew deleted the fix-project-client-metrics-trends-migration branch February 29, 2024 08:52
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