Nimbus 6h periodic timer may not be firing
Categories
(Firefox :: Nimbus Desktop Client, defect, P1)
Tracking
()
People
(Reporter: jlockhart, Assigned: beth)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [nimbus])
Attachments
(4 files, 1 obsolete file)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr153+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
While investigating issues around enrollment/unenrollment timing, I discovered that we may never be creating our periodic 6h timer.
Here the timer is setup:
Here it gates on this._enabled
But this._enabled is set true after the call to setup the timer, so does the timer ever enter?
The guard was introduced here:
Which I think corresponds to a drop in the number of 'is_ready' telemetry events from a multiple of the number of sessions down to being approximately equal to the number of sessions:
https://sql.telemetry.mozilla.org/queries/125112/#303126
Please verify if this is actually the case in which case we should repair this, and maybe we can include a 'kind' field in the is_ready telemetry event that shows whether it's in startup, or the timer.
| Assignee | ||
Updated•19 days ago
|
| Assignee | ||
Updated•19 days ago
|
Updated•19 days ago
|
| Assignee | ||
Comment 1•19 days ago
|
||
In bug 1941963, side effects were removed from
RemoteSettingsExperimentLoader.sys.mjs, making it safe to import without
triggering the creation of a global RemoteSettingsExperimentLoader.
However, that patch also gated setting the update timer based on the
RemoteSettingsExperimentLoader's enabled state. Unfortunately,
the timer was registered before the enabled flag was set, which meant
that the timer was never actually registered.
We now ensure that we set the enable state before registering the timer.
This behaviour is tracked by a new test.
| Assignee | ||
Updated•18 days ago
|
Comment 3•18 days ago
|
||
Set release status flags based on info from the regressing bug 1941963
Comment 4•18 days ago
|
||
| bugherder | ||
Comment 5•18 days ago
|
||
The patch landed in nightly and beta is affected, along with ESR.
:beth, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta and ESR approvals.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox155and the ESR status flag(s) towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 6•18 days ago
|
||
In bug 1941963, side effects were removed from
RemoteSettingsExperimentLoader.sys.mjs, making it safe to import without
triggering the creation of a global RemoteSettingsExperimentLoader.
However, that patch also gated setting the update timer based on the
RemoteSettingsExperimentLoader's enabled state. Unfortunately,
the timer was registered before the enabled flag was set, which meant
that the timer was never actually registered.
We now ensure that we set the enable state before registering the timer.
This behaviour is tracked by a new test.
Original Revision: https://phabricator.services.mozilla.com/D319282
Updated•18 days ago
|
Comment 7•18 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Users will not enroll in recipes until they restart their browser, which could impact high profile experiments on newtab etc
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing: n/a
- Risk associated with taking this patch: low
- Explanation of risk level: Simple patch with tests
- String changes made/needed?: n/a
- Is Android affected?: no
| Assignee | ||
Comment 8•18 days ago
|
||
In bug 1941963, side effects were removed from
RemoteSettingsExperimentLoader.sys.mjs, making it safe to import without
triggering the creation of a global RemoteSettingsExperimentLoader.
However, that patch also gated setting the update timer based on the
RemoteSettingsExperimentLoader's enabled state. Unfortunately,
the timer was registered before the enabled flag was set, which meant
that the timer was never actually registered.
We now ensure that we set the enable state before registering the timer.
This behaviour is tracked by a new test.
Original Revision: https://phabricator.services.mozilla.com/D319282
Updated•18 days ago
|
Comment 9•18 days ago
|
||
firefox-esr153 Uplift Approval Request
- User impact if declined/Reason for urgency: Users will not enroll in recipes until they restart their browser, which could impact high profile experiments on newtab etc
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing: n/a
- Risk associated with taking this patch: low
- Explanation of risk level: Simple patch with tests
- String changes made/needed?: n/a
- Is Android affected?: no
Comment 10•18 days ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: Users will not enroll in recipes until they restart their browser, which could impact high profile experiments on newtab etc
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing: n/a
- Risk associated with taking this patch: low
- Explanation of risk level: Simple patch with tests
- String changes made/needed?: n/a
- Is Android affected?: no
| Assignee | ||
Comment 11•18 days ago
|
||
In bug 1941963, side effects were removed from
RemoteSettingsExperimentLoader.sys.mjs, making it safe to import without
triggering the creation of a global RemoteSettingsExperimentLoader.
However, that patch also gated setting the update timer based on the
RemoteSettingsExperimentLoader's enabled state. Unfortunately,
the timer was registered before the enabled flag was set, which meant
that the timer was never actually registered.
We now ensure that we set the enable state before registering the timer.
This behaviour is tracked by a new test.
Original Revision: https://phabricator.services.mozilla.com/D319282
| Assignee | ||
Updated•17 days ago
|
Comment 12•17 days ago
|
||
firefox-esr140 Uplift Approval Request
- User impact if declined/Reason for urgency: Users will not enroll in recipes until they restart their browser, which could impact high profile experiments on newtab etc
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing: n/a
- Risk associated with taking this patch: low
- Explanation of risk level: Simple patch with tests
- String changes made/needed?: n/a
- Is Android affected?: no
| Assignee | ||
Comment 13•17 days ago
|
||
In bug 1941963, side effects were removed from
RemoteSettingsExperimentLoader.sys.mjs, making it safe to import without
triggering the creation of a global RemoteSettingsExperimentLoader.
However, that patch also gated setting the update timer based on the
RemoteSettingsExperimentLoader's enabled state. Unfortunately,
the timer was registered before the enabled flag was set, which meant
that the timer was never actually registered.
We now ensure that we set the enable state before registering the timer.
This behaviour is tracked by a new test.
Original Revision: https://phabricator.services.mozilla.com/D319282
Updated•17 days ago
|
Updated•17 days ago
|
Updated•17 days ago
|
Comment 14•17 days ago
|
||
| uplift | ||
Updated•16 days ago
|
Updated•16 days ago
|
Comment 15•16 days ago
|
||
| uplift | ||
Updated•16 days ago
|
Updated•16 days ago
|
Comment 16•16 days ago
|
||
| uplift | ||
Comment 17•16 days ago
|
||
Backed out from ESR140 for test failures. Given that it's nearly EOL anyway, I think we can just leave well enough alone there.
https://treeherder.mozilla.org/logviewer?job_id=586796096&repo=mozilla-esr140&task=PcXVaPnZRVGc3LHN7Z5dWQ.0&lineNumber=4969
Comment 18•16 days ago
|
||
Updated•16 days ago
|
Updated•16 days ago
|
Comment 19•16 days ago
|
||
| uplift | ||
Updated•12 days ago
|
Updated•10 days ago
|
Description
•