Closed Bug 1599940 Opened 6 years ago Closed 5 years ago

Only PreferenceExperiments appear in the normandy.experiments collection

Categories

(Firefox :: Normandy Client, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 73
Tracking Status
firefox73 --- fixed

People

(Reporter: tdsmith, Assigned: mythmon)

Details

Attachments

(1 file)

The set of experiments exposed to the JEXL evaluation engine as normandy.experiments only contains PreferenceExperiments; add-on experiments are excluded. This is documented but is easy to forget.

In the interest of avoiding subtlety and increasing flexibility, it would be helpful if add-on experiments were also present.

Alternatively, I'd suggest leaving normandy.experiments alone (for compatibility) and adding in a new key (maybe normandy.studies? but that's confusing) that not only has both preference and add-on experiments/studies, but also includes information like active status, the branch the user was on, and unenrollment reason, if any. Basically, we should mirror all study information into the JEXL filter context.

Assignee: nobody → mcooper
Pushed by mcooper@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eea76f8d4a1e Add normandy.studies and normandy.rollouts to filter context r=Gijs,tdsmith
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: