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

Fixes DuckPlayer Experiment issue #3421

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

afterxleep
Copy link
Collaborator

@afterxleep afterxleep commented Oct 9, 2024

Task/Issue URL: https://app.asana.com/0/1207252092703676/1208450923559111/f

Description:

  • Fix an issue with DP experiment that causes Control users to not see overlays

Steps to test this PR:

  1. Go to Settings > All Debug Settings > Override DuckPlayer Experiment (Control)

  2. Force-close / Restart the app

  3. Go to SERP, and then confirm you can this page:
    10-09 at 13 38 @2x

  4. Go to SERP, search for a video and tap it

  5. Confirm you see the old overlay

10-09 at 13 32 @2x


Internal references:

Software Engineering Expectations
Technical Design Template

@afterxleep afterxleep requested a review from Bunn October 9, 2024 12:33
@afterxleep afterxleep changed the title Daniel/duckplayer.experiment.fix Fixes DuckPlayer Experiment issue Oct 9, 2024
if duckPlayerExperiment.isEnrolled && duckPlayerExperiment.isExperimentCohort {
return encodeUserValues()
}
return nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we could add a comment here explaining the different behavior when returning nil? Or maybe just the asana task for context

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sure

Copy link
Contributor

@Bunn Bunn left a comment

Choose a reason for hiding this comment

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

LGTM, both experiment and control groups working as expected

Control.mov
Experiment.mov

@afterxleep afterxleep merged commit 9a9f720 into hotfix/7.139.1 Oct 9, 2024
13 checks passed
@afterxleep afterxleep deleted the daniel/duckplayer.experiment.fix branch October 9, 2024 13:17
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.

2 participants