Skip to content

Conversation

mnoman09
Copy link
Contributor

Summary

  • Add experiment/feature flag key, variation key and type to impression events.
  • Send events for ALL decision types.
  • Add Metadata field to EventBatch.Decisions to capture flag type, key and variation key.

Test plan

  • All FSC and unit tests should pass
@mnoman09 mnoman09 removed their assignment Sep 28, 2020
Copy link
Contributor

@msohailhussain msohailhussain left a comment

Choose a reason for hiding this comment

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

initial feedback

if (userEvent == null)
{
Logger.Log(LogLevel.ERROR, @"Experiment has ""Launched"" status so not dispatching event during activation.");
return;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should log at this point.

@msohailhussain msohailhussain marked this pull request as ready for review September 29, 2020 17:22
@msohailhussain msohailhussain requested a review from a team as a code owner September 29, 2020 17:22
@msohailhussain msohailhussain changed the title Feat: Add support for sending flag decisions along with decision metadata. feat(flag-decisions): Add support for sending flag decisions along with decision metadata. Sep 29, 2020
Copy link

@pawels-optimizely pawels-optimizely left a comment

Choose a reason for hiding this comment

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

please adjust it to a new metadata: https://optimizely.atlassian.net/browse/OASIS-7050

refact decision source condition
Copy link

@pawels-optimizely pawels-optimizely left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@msohailhussain msohailhussain left a comment

Choose a reason for hiding this comment

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

lgtm

@pawels-optimizely pawels-optimizely merged commit f22ad21 into master Oct 20, 2020
@pawels-optimizely pawels-optimizely deleted the mnoman/flag-decision branch October 20, 2020 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants