-
Notifications
You must be signed in to change notification settings - Fork 429
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: Migrate given project's (edge) identities to environments v2 #3138
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Uffizzi Preview |
05d2167
to
a2fda31
Compare
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.
Added a few comments but looks pretty good on the whole. Obviously need to fix unit tests too :)
...rename_identity_overrides_migration_status_project_identity_overrides_v2_migration_status.py
Outdated
Show resolved
Hide resolved
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #3138 +/- ##
==========================================
+ Coverage 96.08% 96.10% +0.01%
==========================================
Files 1054 1058 +4
Lines 31699 31838 +139
==========================================
+ Hits 30459 30597 +138
- Misses 1240 1241 +1 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Matthew Elwell <[email protected]>
fba2ea3
to
cba01f4
Compare
Contributes to #3106.
Thanks for submitting a PR! Please check the boxes below:
pre-commit
to check lintingdocs/
if required so people know about the feature!Changes
This PR adds a migration task that is triggered whenever a given Project model's
identity_overrides_v2_migration_status
changes toIN_PROGRESS
.The task iterates over project's environments and Edge identities, mapping and writing them to the new
flagsmith_environments_v2
table.How did you test this code?
Added unit tests.