Closed Bug 1915317 Opened 2 months ago Closed 1 month ago

Integrate Rust exposure suggestions with desktop

Categories

(Firefox :: Address Bar, task, P1)

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: adw, Assigned: adw)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I implemented Rust exposure suggestions in this PR (bug 1893086). They're a replacement for the existing potential exposures feature (bug 1881875), which is desktop specific and requires keywords to be stored in Nimbus recipes. Now we need to integrate them with desktop like other suggestion types that are implemented in Rust.

The PR also added the concept of "provider constraints", which lets us specify the exposure suggestion type to ingest and query, so we'll need to adapt to that too.

This integrates Rust exposure suggestions with desktop. Exposure suggestions are
a replacement for the existing potential exposures feature (bug 1881875). When
we want to test potential exposures in the future, we can add new exposure
suggestions to remote settings and tell the Rust component to ingest them and
return them in queries. When the Rust component returns an exposure suggestion,
desktop will record it in exposure telemetry. More details about the design
here:

The way desktop tells the Rust component about different types of exposure
suggestions is through the new "provider constraints" feature. ingest() and
query() can take a SuggestionProviderConstraints object that changes what's
ingested and queried. Therefore, we need to re-ingest exposure suggestions when
the provider constraints change. Right now, exposure suggestions are the only
kind of suggestions that use provider constraints.

Depends on D220352

Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fc19820f2e1d Integrate Rust exposure suggestions with desktop. r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: