Closed Bug 2053129 Opened 1 month ago Closed 1 month ago

Reduce false-positives for changed search engine telemetry notifications

Categories

(Firefox :: Search, task, P2)

task

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Whiteboard: [sng])

Attachments

(2 files)

From telemetry we see regular spikes of events where search engines have changed, when they have in fact not changed.

Bug 1876178 did some work on this in the past, but we only focussed on configuration engines, as that's where the issue was thought to be.

Mostly the unnecessary events come from the result of configuration updates or add-on updates, where there's an internal SearchUtils.MODIFIED_TYPE.CHANGED notification, for which a search engine may have updated some fields, but not the ones that the telemetry covers.

Hence we should only send out the event telemetry for any engine when the relevant fields have actually changed.

With the previous patch on this bug, these preventions are no longer necessary. Whilst we could keep them, it means that the behaviour of configuration engines are different to other engines. It might also prevent internal updates happening, which we might need sometimes (e.g. for bug 2043189).

In future we might want to do something more extensive with not sending out unnecessary internal notifications, however these are generally not hot paths, so that might be something we think about at an opportune time.

Attachment #9605110 - Attachment description: Bug 2053129 - Remove the previous limitations for when to send out an internal notifications for configuration engines. r?#search-reviewers! → Bug 2053129 - Remove the previous limitations for when to send out an internal notification for configuration engines. r?#search-reviewers!
Pushed by mbanner@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/611efede5e81 https://hg.mozilla.org/integration/autoland/rev/a96fcbc15931 Only send out search engine default changed notifications for search engines when something has actually changed. r=search-reviewers,scunnane https://github.com/mozilla-firefox/firefox/commit/11541f168759 https://hg.mozilla.org/integration/autoland/rev/ee60662cb7b4 Remove the previous limitations for when to send out an internal notification for configuration engines. r=search-reviewers,scunnane
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
QA Whiteboard: [search] [qa-triage-done-c154/b153]
Regressions: 2058536
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: