-
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
fix(edge-api/tasks): Add change_by_user_id #4591
Conversation
Add change_by_user_id to avoid old tasks from crashing
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
Docker builds report
|
Uffizzi Preview |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4591 +/- ##
=======================================
Coverage 97.15% 97.15%
=======================================
Files 1156 1157 +1
Lines 39934 40013 +79
=======================================
+ Hits 38797 38876 +79
Misses 1137 1137 ☔ View full report in Codecov by Sentry. |
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.
Minor comment re: typing
def test_call_environment_webhook_for_feature_state_change_with_changed_by_user_id( | ||
mocker, environment, feature, identity, admin_user | ||
): |
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.
Typing please
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.
Ahh, we should make pre-commit catch this
feature: Feature, | ||
identity: Identity, | ||
admin_user: FFAdminUser, | ||
): |
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.
): | |
) -> None: |
215c609
to
ed93771
Compare
Thanks for submitting a PR! Please check the boxes below:
docs/
if required so people know about the feature!Changes
Add change_by_user_id to avoid old tasks from crashing
related: https://github.com/Flagsmith/flagsmith/pull/4561/files
How did you test this code?
Adds a unit test