Open Bug 1875336 Opened 2 years ago Updated 1 year ago

[meta] Migrate isEarlyStartup features to use setPref instead

Categories

(Firefox :: Nimbus Desktop Client, task, P5)

task

Tracking

()

People

(Reporter: beth, Unassigned)

References

(Depends on 5 open bugs, Blocks 1 open bug)

Details

(Keywords: meta)

We can migrate each isEarlyStartup feature to use setPref on the computed nimbus.sync{data,defaults}store.<feature>.<variable> pref easily. However we also have to migrate the enrollment database to add pref entries for any live experiments and rollouts. This should be done in ExperimentManager#onStartup, before the enrollment prefs are restored.

This migration will likely have to stick around for a while and we have two options:
a) keep the isEarlyStartup flag in the feauture description even after it has no use, or
b) move the list of isEarlyStartup features into the migration code so it is clear to consumers it has no use.

Keywords: meta
Summary: Migrate isEarlyStartup features to use setPref instead → [meta] Migrate isEarlyStartup features to use setPref instead
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.