Telemetry: Settings, Models
Categories
(Core :: Machine Learning: Frontend, task, P1)
Tracking
()
People
(Reporter: cbellini, Assigned: gcardieri)
References
(Blocks 3 open bugs, Regressed 1 open bug)
Details
(Whiteboard: [genai][other])
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
Updated•2 months ago
|
Comment 1•2 months ago
•
|
||
Events:
- model_request
- model_response
- memories_optin
- memories_optout
- memories_panel_displayed
- memory_removed_panel
- memories_nuke
Metrics:
- smart_window.model
| Assignee | ||
Updated•27 days ago
|
Updated•21 days ago
|
Comment 2•19 days ago
|
||
with bug 2021947 focusing on metering errors, this ticket is mostly settings related events for model selection and memory management
although i do see memories panel in comment 1 which is part of assistant ui probably handled in bug 2001527
Updated•19 days ago
|
| Assignee | ||
Updated•19 days ago
|
Comment 3•13 days ago
|
||
giulia, bug 2023489 is updating MemoryStore.hardDeleteMemory to pass along what triggered deletion for both assistant and settings
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Comment 4•11 days ago
|
||
Updated•10 days ago
|
Updated•7 days ago
|
Backed out for causing bc failures @browser_aiFeatures_smart_window_telemetry.js.
Comment 10•5 days ago
|
||
Giulia, could you get this uplifted to 150 please, once this has been verified? Feel free to ping me here or on slack if you need help with this.
Rares, can we prioritize this for verification please? Thank you!
Comment 11•5 days ago
|
||
[Tracking Requested - why for this release]:
Required for Smart Window Feature Fx150 MVP launch.
Updated•5 days ago
|
| Assignee | ||
Updated•4 days ago
|
Comment 12•3 days ago
|
||
Hi Gijs, Im having some issues with a few of those events:
memories_optin - missing
memories_optout - missing
memories_panel_displayed - will not show up if its displayed in Sidebar when a memory is used and opened by the user, as far as I cant tell it only showed up after I visited settings.
| Assignee | ||
Comment 13•3 days ago
|
||
Hi @Rares,
The memories_optin and memories_optout are no longer part of this ticket, during development I talked with Vanessa from Data Science and we decided to change it. The updated metrics and events are listed in this google doc: https://docs.google.com/document/d/1EtlLGvLTSidFRoMMXGLLaNcxpYHjU-L5jYK7N88EGhw/edit?tab=t.0#heading=h.829h7k28fmpl
Here's an overall of what was implemented:
- (event)memories_panel_displayed: User opens the memories preferences panel - this applies only to the settings, not to the sidebar
- (event)settings_memories: User interacts with the checkboxes to change memories settings
- (event)settings_model: User selects a different model from the settings page
4.(event) memories_nuke: User clicks on “Delete all” button for memories - (metric) smart_window.model: Records the model selected by the user, or “custom-model”
Sorry this wasn't mentioned in the ticket, just in phabricator.
Comment 14•3 days ago
|
||
Thank you for clearing that up. This issue is Verified as fixed in our latest Nightly 51.0a1 (2026-03-27)
Comment 15•3 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: This patch adds part of the telemetry required for the smart window launch, if this is declined an important chunk of telemetry data would be lost for smart window.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: This patch has a summary of changes: https://phabricator.services.mozilla.com/D288768
- Risk associated with taking this patch: low
- Explanation of risk level: Telemetry to the smart window settings for a feature behind a pref.
- String changes made/needed?: No
- Is Android affected?: no
| Assignee | ||
Comment 16•3 days ago
|
||
Include telemetry for smart window preferences.
Events:
- memories nuke: when the delete all memories is clicked
- settings_memories: when the user checks/unchecks the memories checkboxes
- settings_model: when the user changes the model selection
- memories_panel_displayed: when the memories panel is visible
Metrics:
- model: when the model changes
Other updates:
- Using the MODELS constants for the model names
- Added a head_smart_window as a script to avoid repeating functions (over 40 lines of repetition)
Possible pain/reviewing points:
- head_smart_window is added as a script, should we do another approach? I could add the functions in the head.js but then they would be imported by all tests which seems unnecessary
- Global variable "previousAssistantModel" was needed to ensure when a custom model is selected we still know which model was previously set
Original Revision: https://phabricator.services.mozilla.com/D288768
Comment 17•2 days ago
|
||
:gcardieri can you take a look at the intermittent regression before we land this on beta? (bug 2026069)
Comment 18•21 hours ago
|
||
Hi @diannaS Just commented in intermittent test regression bug closing it as it hasn't failed since merge and was only seen on autoland twice while merging and should be safe to unblock uplift thanks
Updated•19 hours ago
|
Updated•19 hours ago
|
Updated•19 hours ago
|
Comment 19•19 hours ago
|
||
| uplift | ||
Updated•12 hours ago
|
Comment 20•9 hours ago
|
||
Verified as fixed in our latest Beta 150.0b3
| Assignee | ||
Updated•4 hours ago
|
Description
•