Using the Nimbus `on` function for listening for updates doesn't always trigger on startup
Categories
(Firefox :: Nimbus Desktop Client, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: travis_, Assigned: beth)
References
Details
Attachments
(1 file)
According to the comments in the code around the observer function for Nimbus, the callback should be invoked when the experiments are loaded from disk to cover the cases where Firefox is starting or if the callback is registered after the event.
In a recent experiment I had made use of this callback functionality and relied on it for startup, and it did seem to work in my testing, but once it was enabled for the Nightly experiment it seems that it doesn't always trigger the callback to be invoked on every startup.
This may be my misunderstanding of the intent of this functionality, but I had assumed that this would ensure that the callback was triggered at least once when it was being registered if the client was already enrolled in the experiment that was being registered for.
(Late edit) I was also using this on
function pretty early on in BrowserGlue
right after Glean was initialized, so I'm not sure if that comes into play for debugging this issue, but it seemed relevant.
Reporter | ||
Comment 1•2 years ago
|
||
Since this functionality has been available for a while, there is a chance that it has impacted experiments and rollouts of anyone that relied on it.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Comment 4•2 years ago
|
||
bugherder |
Description
•