Closed Bug 1674214 Opened 4 years ago Closed 3 years ago

Track FX_NUMBER_OF_UNIQUE_SITE_ORIGINS high water mark for Linux users

Categories

(Core :: DOM: Content Processes, task, P1)

Unspecified
Linux
task

Tracking

()

RESOLVED FIXED
86 Branch
Fission Milestone M6c
Tracking Status
firefox86 --- fixed

People

(Reporter: cpeterson, Assigned: kmag)

References

Details

Attachments

(2 files)

We'd like to enroll Linux Nightly users who have an existing (non-new) profile (check profile age?) and have not opened more than 30 unique site origins simultaneously in the last 15 days.

We'll need to monitor the high water mark of the FX_NUMBER_OF_UNIQUE_SITE_ORIGINS telemetry probe over the last 15 days. If the high water mark ever exceeds 30 origins, the client should be unenrolled from the experiment.

mythmon recommends writing the state to a pref. The pref doesn't need to be statically defined (in all.js or firefox.js) or defined for all users. So we only need to set it for Linux users.

The browser.laterrun.bookkeeping.profileCreationTime pref is the number of seconds since the Unix epoch (1970-01-01):

https://searchfox.org/mozilla-central/rev/d866b96d74ec2a63f09ee418f048d23f4fd379a2/browser/modules/LaterRun.jsm#69-73

The Normandy recipe can check our origin high water mark pref and the profileCreationTime pref.

When first setting the pref, walk the telemetry history to discover the recent high water mark. If the high water mark ever exceeds 30 origins, the client should be unenrolled from the experiment.

Assignee: nobody → kmaglione+bmo
Severity: -- → N/A
Fission Milestone: ? → M6c
Priority: -- → P3
Status: NEW → ASSIGNED
Priority: P3 → P1

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:kmag, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(kmaglione+bmo)
Pushed by maglione.k@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/47f0d542db39
Add preference to disqualify users from Fission experiment based on loaded origin count. r=nika
Pushed by maglione.k@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/7ef22fe8f73a
Add preference to disqualify users from Fission experiment based on loaded origin count. r=nika
Regressions: 1685197
Pushed by maglione.k@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/256a8293104e
Add preference to disqualify users from Fission experiment based on loaded origin count. r=nika
Flags: needinfo?(kmaglione+bmo)
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: