-
Notifications
You must be signed in to change notification settings - Fork 412
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(edge-migrator): add call to migrate to v2 #4983
base: main
Are you sure you want to change the base?
fix(edge-migrator): add call to migrate to v2 #4983
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
Uffizzi Ephemeral Environment
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4983 +/- ##
=======================================
Coverage 97.39% 97.39%
=======================================
Files 1191 1192 +1
Lines 41626 41641 +15
=======================================
+ Hits 40543 40558 +15
Misses 1083 1083 ☔ View full report in Codecov by Sentry. |
@@ -81,4 +82,5 @@ def migrate(self): | |||
) | |||
) | |||
identity_wrapper.write_identities(iterator_with_prefetch(identities)) | |||
migrate_project_environments_to_v2(project_id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need more work since it won't work unless we set the read capacity budget against the project. We should therefore just write the identity overrides directly to the flagsmith_environments_v2
table but this requires a larger refactor of the logic.
Thanks for submitting a PR! Please check the boxes below:
docs/
if required so people know about the feature!Changes
Creating a draft PR for now based on this Crisp chat. This needs more work, but this is a start.
How did you test this code?
Please describe.