Open Bug 2089909 Opened 19 days ago Updated 8 days ago

Check that generated widgets report their extension id in New Tab telemetry

Categories

(Firefox :: Widgets, task)

task

Tracking

()

People

(Reporter: nina-py, Assigned: nina-py)

References

(Depends on 2 open bugs, Blocks 2 open bugs)

Details

(Whiteboard: [hnt][hnt-wattle])

Each generated widget has an id of the form <uuid>@generated-widget.mozilla.org. ExtensionWidgetsFeed sends the widget id as telemetryName, so this may need no code beyond a test, and can fold into bug 2085192. A count of widgets created, as against shown, needs a creation event, which belongs to the generation telemetry.

Acceptance criteria:

  • Every generated widget reports its extension id in widgets_enabled_list.
  • The same id appears in widgets_impression, widgets_user_event, widgets_enabled, widgets_ready and widgets_error, so the events of generated widgets can be told apart from other widgets.
  • The id stays the same when a widget is updated and is never reused after uninstall.
  • The names of the other widgets are unchanged.
  • A test against the recorded Glean values checks each of these, including the length of the id.
Blocks: 2089915
Depends on: 2094315
You need to log in before you can comment on or make changes to this bug.