Closed Bug 1751746 Opened 2 years ago Closed 2 years ago

Change search-telemetry to use strict partner code matching

Categories

(Firefox :: Search, defect)

defect

Tracking

()

VERIFIED FIXED
98 Branch
Tracking Status
relnote-firefox --- 96+
firefox-esr91 96+ verified
firefox96 blocking verified
firefox97 blocking verified
firefox98 blocking verified

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

We want to change to strict matching for partner codes rather than prefix for the in-content search telemetry.

See Also: → 1751753

As the test plan for this change needs to cover Remote Settings changes as well as code changes, the QA team has tested this on a try-build using both the try-build dump and the staging dump-disabled configuration - (configuration changes approved meanwhile.)

  1. (done)Reproduce the issue on affected builds.
  2. (done)Ensure that the used telemetry RS bucket is v2 not v1.
  3. (done)Ensure that the issue doesn't reproduce and the telemetry logged is (google telementry used as an example):
  • "google:organic:other" when the code is not maching the new strict list
  • "google:organic:none" when the code is not present
  • "google:tagged-follow-on:firefox-b-d" for follow-on
  1. Ensure all telemetry recording engines are behaving taking in account point 3.
  • google (done)
  • ddg (done)
  • bing (done)
  • baidu (done)
  1. (not done) Wide regression testing on search general telemetry
  2. (not done) Multiple OS coverage.
  3. (not done) Regression testing covering the removal of v1 RS telemetry bucket and effects on old versions esr 79 / esr 91 + 1-2 non-train builds
  4. (not done/not ready) Verification(98) and Uplift verification (96 dot / 97b)
  5. (not done) Telemetry Test coverage updates to account for the spill.
  6. (not in QA scope) Data sanitize

All in all, with the current testing, with the fix and the RS changes accounted, the results look good. I will update the above list when complete and follow-up with the verifications.

Comment on attachment 9260438 [details]
Bug 1751746 - Change search-telemetry to use strict partner code matching. r?daleharvey!,mkaply!

Beta/Release Uplift Approval Request

  • User impact if declined: Prevents unexpected data being submitted as part of search telemetry.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: QE have been testing already and have steps.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Code changes contained within a self-contained code module.
  • String changes made/needed: None
Attachment #9260438 - Flags: approval-mozilla-release?
Attachment #9260438 - Flags: approval-mozilla-beta?

Comment on attachment 9260438 [details]
Bug 1751746 - Change search-telemetry to use strict partner code matching. r?daleharvey!,mkaply!

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: See beta/release approval.
  • User impact if declined:
  • Fix Landed on Version:
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky):
Attachment #9260438 - Flags: approval-mozilla-esr91?

Comment on attachment 9260438 [details]
Bug 1751746 - Change search-telemetry to use strict partner code matching. r?daleharvey!,mkaply!

Dot release driver, approved for 97.0b8 so we can start validating ASAP.

Attachment #9260438 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Note: esr does not have the file browser/components/urlbar/tests/browser/browser_urlbar_telemetry_handoff.js but the rest of the patch applies fine.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
QA Whiteboard: [qa-triaged]

Comment on attachment 9260438 [details]
Bug 1751746 - Change search-telemetry to use strict partner code matching. r?daleharvey!,mkaply!

Approved for 96.0.3

Attachment #9260438 - Flags: approval-mozilla-release? → approval-mozilla-release+

Comment on attachment 9260438 [details]
Bug 1751746 - Change search-telemetry to use strict partner code matching. r?daleharvey!,mkaply!

Approved for 91.5.1esr

Attachment #9260438 - Flags: approval-mozilla-esr91? → approval-mozilla-esr91+

(In reply to Adrian Florinescu [:aflorinescu] from comment #2)

As the test plan for this change needs to cover Remote Settings changes as well as code changes, the QA team has tested this using both the staging dump-disabled configuration -

  1. (done)Reproduce the issue on affected builds.
  2. (done)Ensure that the used telemetry RS bucket is v2 not v1.
  3. (done)Ensure that the issue doesn't reproduce and the telemetry logged is (google telementry used as an example):
  • "google:organic:other" when the code is not maching the new strict list
  • "google:organic:none" when the code is not present
  • "google:tagged-follow-on:firefox-b-d" for follow-on
  1. (done) Ensure all telemetry recording engines are behaving taking in account point 3.
  • google (done)
  • ddg (done)
  • bing (done)
  • baidu (done)
  1. (done) Wide regression testing on search general telemetry
  1. (done) Multiple OS coverage.
    -windows 10
    -mac 11
    -ubuntu 20

    with:
    - 91.5.1esr
    - 96.0.3
    - 97.0b8
    - 98.0a1

  2. (done) Regression testing covering the removal of v1 RS telemetry bucket and effects on old versions esr 79 / esr 91 + 1-2 non-train builds (main-preview / RS staging)

  • 85.0.2 (Windows 10 + Mac 11)
  • 92.0a1 (20210713214232)
  • 92.0.1 (Windows 10 + Mac 11
  1. (done) Verification(98) and Uplift verification (96 dot / 97b)
  2. (not done) Telemetry Test coverage updates to account for the spill.
  3. (not in QA scope) Data sanitize
Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+ → in-qa-testsuite?(adrian.florinescu)
Group: mozilla-employee-confidential
Flags: in-qa-testsuite?(adrian.florinescu) → in-qa-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: