-
Notifications
You must be signed in to change notification settings - Fork 82
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(logs): Fixing log messages for Targeted Rollouts #515
Conversation
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.
- Please remove additional logs from getVariationForFeature. See Python PR for reference. getVariation is internally called which already logs when if variation exists or doesn't.
- Do we have any unit tests for rollout rule evaluation logs? We should add some so that we assert that we are logging as expected.
Resolved feedback from Owais, @zashraf1985 can you please have a look? |
63dd5a6
to
0ca7e42
Compare
get_feature_variable_json tests of FSC are failing, due to its name is changed in #516 which is not merged yet but testapp PR is merged with the updated name |
f0059c3
to
fcf75fb
Compare
940f462
to
b00249b
Compare
cf7d09a
to
720f2bf
Compare
@oakbani dismissing your review to be able to merge. |
Dismissing since the feedback was addressed.
…nto a traffic allocation range with empty string entityId (#549) Summary: Fix an issue introduced in #515. When bucket returns empty string, we shouldn't log a warning about invalid variation ID. Empty string is a valid value for the entityId property of traffic allocation range objects. There is no invalid variation ID in this situation. Test plan: Manually tested with A/B tests and rollouts. Added new unit test. Issues: OASIS-6890
…nto a traffic allocation range with empty string entityId (#549) Summary: Fix an issue introduced in #515. When bucket returns empty string, we shouldn't log a warning about invalid variation ID. Empty string is a valid value for the entityId property of traffic allocation range objects. There is no invalid variation ID in this situation. Test plan: Manually tested with A/B tests and rollouts. Added new unit test. Issues: OASIS-6890
Summary
With this change we are introducing targeted rollout specific log messages.
Test plan
All Unit and FSC Tests are getting passed