Nimbus integration with Search Service should have protection for invalid values
Categories
(Firefox :: Search, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox116 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Whiteboard: [snt-])
Attachments
(5 files)
I set up a test Nimbus experiment with incorrect extra parameter values. These caused the code to throw and stop initialisation of the search service.
Due to the level of QA that we have I think it would be unlikely to happen in reality. However, I would still be concerned that something could get changed in newer versions of Firefox, and the impacts not realised for older versions.
I think we should have protections in place so that a broken Nimbus experiment cannot stop initialisation/use of the search service.
We should review all Nimbus points, to make sure that we handle exceptions appropriately, and maybe see if there's a way to report back via Nimbus about the experiment not being applied (maybe unenroll with a flag?)
The incorrect branch value was:
{
"extraParams": {
"google_channel_row" : "bar"
}
]
}
This should have been:
{
"extraParams": [
{
"key": "google_channel_row",
"value": "bar"
}
]
}
This caused this function to throw, which then stopped the search service initialising.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
These are mainly previous copy/paste of items that are not needed for the specific tests. Params tests are covered in other tests.
Depends on D180965
| Assignee | ||
Comment 2•2 years ago
|
||
Depends on D181067
| Assignee | ||
Comment 3•2 years ago
|
||
This avoids skipping the whole test and provides a better indication of why it is skipped.
Depends on D181068
| Assignee | ||
Comment 4•2 years ago
|
||
Depends on D181069
| Assignee | ||
Comment 5•2 years ago
|
||
Depends on D181070
Comment 7•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/09f429a2a3d9
https://hg.mozilla.org/mozilla-central/rev/e96fa65a3ba3
https://hg.mozilla.org/mozilla-central/rev/1e710f8aee6d
https://hg.mozilla.org/mozilla-central/rev/f5d8c994b0ce
https://hg.mozilla.org/mozilla-central/rev/163eab9d0e76
Description
•