Skip to content

Conversation

@mikeproeng37
Copy link
Contributor

Summary

  • Fixes where and how we log various messages during the decision making process:
    1. Gets rid of the No decision made error and instead returns the decision and err of the last decision maker
    1. Logs debug messages in both feature experiment service as well as rollout service for clarity
    1. Only logs (debug) bucketing ID if it is different from the user ID
    1. Refactored the rollout_service_test to use suites

Tests

  • Unit

@mikeproeng37 mikeproeng37 requested a review from a team as a code owner November 13, 2019 00:45
@mikeproeng37 mikeproeng37 removed their assignment Nov 13, 2019
}
if featureDecision.Variation != nil && err == nil {

if featureDecision.Variation != nil && featureDecision.Variation.FeatureEnabled && err == nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems wrong - why only return the decision if the feature is enabled?

@mikeproeng37 mikeproeng37 removed their assignment Nov 14, 2019
@mikeproeng37 mikeproeng37 requested review from pawels-optimizely and removed request for mjc1283 November 14, 2019 17:42
@mikeproeng37 mikeproeng37 merged commit b1b3e98 into master Nov 14, 2019
@mikeproeng37 mikeproeng37 deleted the mng/fix-bucketing-logs branch November 14, 2019 19:36
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.

3 participants