Closed Bug 1855615 Opened 9 months ago Closed 8 months ago

Test Suggest Glean telemetry with the Rust backend enabled

Categories

(Firefox :: Address Bar, task, P1)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: adw, Assigned: adw)

References

Details

Attachments

(1 file)

When the Rust Suggest backend is enabled, result Glean telemetry types correctly have the rust_ prefix (e.g., rust_adm_sponsored), but this isn't currently tested.

This updates the engagement Glean test so it checks Rust results.

It also adds a getter to SuggestBackendRust that returns a promise that's
resolved once the backend's initialization is fully complete. Setting
quicksuggest.rustEnabled will either trigger the Rust backend to perform
initialization and ingestion, or it will trigger the JS backend to re-sync all
features. Either way, tests need to wait until all of that is done.

Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bd8bbf161bec
Make sure Suggest Glean telemetry is tested with the Rust backend enabled. r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: