Remove the Suggest JS backend
Categories
(Firefox :: Address Bar, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox135 | --- | fixed |
People
(Reporter: adw, Assigned: adw)
References
Details
(Whiteboard: [sng])
Attachments
(4 files)
Should be safe to remove the Suggest JS backend now. Its replacement, the Rust backend, was enabled by default in 124 (bug 1880144).
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
This patch is part 1 of 4. I tried to break the removal into parts that make
sense individually since removing it all at once would be a much larger patch
that would probably be harder to review.
This part removes add_tasks_with_rust()
from both xpcshell and browser tests
and removes some tests that either aren't enabled without Rust or don't make
sense without it.
Updated•2 months ago
|
Assignee | ||
Comment 2•2 months ago
|
||
This is part 2 of 4, the main part. It removes the backend and the code in
BaseFeature
and feature subclasses that hook into it. As a consequence it also
makes the other following changes:
- Remove
QuickSuggest.backend
(eventually I'd like to add a Merino backend and
then add a newQuickSuggest.backends
list that has the Rust, Merino, and ML
backends) - Add
QuickSuggest.config
- Replace uses of
QuickSuggest.backend.config
andQuickSuggest.jsBackend.config
withQuickSuggest.config
- Remove the
quickSuggestRustEnabled
Nimbus variable - Update most remaining tests so that they do not assume the JS backend exists
I left the browser.urlbar.quicksuggest.rustEnabled
pref. I would like to
preserve the ability to toggle off Rust suggestions while keeping other parts of
Suggest enabled even if we don't need it now. That seems like a wise thing to do
and is similar to how both Merino and the ML backends can be toggled separately.
Depends on D231465
Assignee | ||
Comment 3•2 months ago
|
||
This is part 3 of 4. It removes the "remote-settings"
source used internally
and its rs_
counterpart in telemetry result types.
Depends on D231466
Assignee | ||
Comment 4•2 months ago
|
||
This is part 4 of 4. There are some Nimbus variables that are now unused plus
one legacy histogram.
Depends on D231467
https://hg.mozilla.org/mozilla-central/rev/f1939ed50f17
https://hg.mozilla.org/mozilla-central/rev/455237b42be5
https://hg.mozilla.org/mozilla-central/rev/53e4d280499d
https://hg.mozilla.org/mozilla-central/rev/4c203310fe82
Description
•