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)
Tracking
(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]:
- Have a mobile first Run Nimbus experiment or rollout created and launched that targets version 130 (example: Android default toolbar placement - Treatment A Rollout).
[Steps to reproduce]:
- Install Firefox for Android version 130.
- Open Firefox and dismiss the Onboarding.
- Tap the Settings button and go to the “About Firefox” option.
- Tap the Firefox logo 5 times and return to the Settings menu.
- Tap the “Nimbus Experiments” option and select the Android default toolbar placement - Treatment A Rollout.
- 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]:
- This issue is reproducible starting with the Firefox 130.0 version.
- We used mozregression to find the regression window, but due to the app limitations we were only able to reach the following pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2024.07.26&enddate=2024.07.27
Updated•2 days ago
|
Assignee | ||
Updated•2 days ago
|
Assignee | ||
Comment 1•2 days ago
|
||
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.
Comment 3•1 day ago
|
||
Backed out for causing failures at RecordedNimbusContextTest.kt.
Backout link: https://hg.mozilla.org/integration/autoland/rev/b17724c0569ac0450e22599328506a163e74569e
Push where failures started: https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=ddciy7gMS5qBsZSpm8AW7w.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=73f7e0b593988ed5492e4012611cf2ee0c19df72
Failure log: https://treeherder.mozilla.org/logviewer?job_id=475794035&repo=autoland&lineNumber=13
Comment 5•18 hours ago
|
||
bugherder |
Assignee | ||
Updated•15 hours ago
|
Description
•