Closed Bug 1920702 Opened 3 days ago Closed 18 hours ago

The "first Run" targeting criteria stopped working for mobile experiments and rollouts starting with Firefox 130.0 version

Categories

(Fenix :: Experimentation and Telemetry, defect, P1)

Firefox 130
All
Android
defect

Tracking

(firefox130 wontfix, firefox131+ affected, firefox132+ fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox130 --- wontfix
firefox131 + affected
firefox132 + fixed

People

(Reporter: cfat, Assigned: beth)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[Affected versions]:

  • Firefox Release 130.0
  • Firefox RC 131.0

[Affected Platforms]:

  • Android 13

[Prerequisites]:

[Steps to reproduce]:

  1. Install Firefox for Android version 130.
  2. Open Firefox and dismiss the Onboarding.
  3. Tap the Settings button and go to the “About Firefox” option.
  4. Tap the Firefox logo 5 times and return to the Settings menu.
  5. Tap the “Nimbus Experiments” option and select the Android default toolbar placement - Treatment A Rollout.
  6. Observe the rollout’s branch.

[Expected result]:

  • A checkmark is displayed next to the branch’s name.

[Actual result]:

  • The checkmark is NOT displayed next to the branch’s name, meaning the build is not enrolled in the rollout.

[Notes]:

Assignee: nobody → brennie
Status: NEW → ASSIGNED
Priority: -- → P1
Regressed by: 1898552

Bug 1898552 added the recorded context, which recorded the "isFirstRun" param
as a boolean. However, the recorded context is splatted into the targeting
attributes inside the Nimbus SDK 1 and overrides other targeting members,
which include isFirstRun: String and is_first_run: bool. This has resulted
in targeting evaluation that checks against isFirstRun == "'true'" failing,
causing first run experiments to not enroll correctly. Recording the value as
is_first_run instead, which is expected to be a boolean, addresses the issue.

See Also: → 1920793
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac4bb55b2a14 Correctly record is_first_run as boolean r=chumphreys,android-reviewers,jonalmeida
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c0d87b199f26 Correctly record is_first_run as boolean r=chumphreys,android-reviewers,jonalmeida
Status: ASSIGNED → RESOLVED
Closed: 18 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Flags: needinfo?(brennie)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: