Closed Bug 2033044 Opened 7 months ago Closed 6 months ago

Add APIs to support third-party Firefox Labs opt-ins

Categories

(Firefox :: Nimbus Desktop Client, defect, P1)

defect

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: beth, Assigned: beth)

References

Details

(Whiteboard: [nimbus])

Attachments

(3 external files)

Presently, force enrolling in a Firefox Labs opt-in (e.g., by the about:studies link or by Nimbus Devtools) will not register the experiment with ExperimentManager.optInRecipes and so it wont appear in the list of available Labs on about:preferences#experimental.

Additionally, upon restart, enrolled labs not from Remote Settings will not show up in about:preferences#experimental because they are not loaded into the list at startup.

NimbusTestUtils now generates all enrollments with source = "rs-loader"
as the default.

When the SQL database is enabled (which is now the default
outside xpcshell tests as of bug 1972426), the ExperimentManager will
pre-populate the list of available opt-ins from all entries in the
NimbusEnrollments table that meet the following criteria:

  • the entry corresponds to a Firefox Labs opt-in;
  • the source is not the RemoteSettingsExperimentLoader; and
  • enrollment is not paused.

We don't bother pre-populating with recipes from the
RemoteSettingsExperimentLoader because it will populate that list
shortly after startup.

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
Summary: Force Enroll on Firefox Labs opt-ins should work correctly → Add APIs to support third-party Firefox Labs opt-ins
Blocks: 2041733
Depends on: 2036433
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: