Skip to content
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(flag-decisions): Add support for sending flag decisions along with decision metadata. #244

Merged
merged 16 commits into from
Oct 20, 2020

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

{
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants