Some of the Intent, Mentions and Input Telemetry events show incorrect values
Categories
(Core :: Machine Learning: Frontend, defect)
Tracking
()
People
(Reporter: rdoghi, Assigned: flozia, NeedInfo)
References
(Blocks 2 open bugs, Regressed 3 open bugs)
Details
(Whiteboard: [genai][input])
Attachments
(2 files)
Found in
- Nightly 151.0a1 (2026-03-29)
Affected versions
- Nightly 151.0a1 (2026-03-29)
- Beta 150.0b2
Affected platforms
- all
Steps to reproduce
- Open a Smart Window.
- Trigger the following TElemetry events:
navigate_submit
chat_submit
search_submit
smart_bar_intent_change_preview
add_tabs_click
add_tabs_selection
remove_tab
mention_start
mention_select
mention_remove
Expected result
- The Telemetry events are fired and they contain the correct values
Actual result
- The following issues have been encountered:
navigate_submit: (No Data to display)
does not fire if we Type www.gamespot.com and then Hit Enter Directly
does not fire for search or anything.
submit_type does not work correctly, it will not identify the Button click instead of Enter.
chat_submit:
no tokens value displayed
memories values not displayed
Submit Type will not register that I clicked the Ask button instead of Enter.
asking from the Address bar will show Tabs - 0
Location is not registered from the address bar.
search_submit:
detected intent was incorrect, intent was ask while the user selected the search
search from the address bar is not detected
add_tabs_click:
Tabs preselected will not record 1 only if 2 or more are preselected in which case for 2 tabs added it will show 1 preselected tab (not sure if its ok, technically its true if we already add 1 tab 1 is already there preselected.)
"message_seq": does this count users prompt as well ? for 1 user prompt and 1 response from the ai its counted as 2 message_seq
Regression range
N/A
Updated•13 days ago
|
| Assignee | ||
Updated•13 days ago
|
| Assignee | ||
Comment 2•13 days ago
|
||
Updated•12 days ago
|
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Comment 3•10 days ago
|
||
Adds the extra_key window to the urlbar engagement telemetry. The key makes it possible to distinguish telemetry between different window modes.
Updated•10 days ago
|
Comment 7•5 days ago
|
||
Backed out for causing bc and TV failures at engagementTelemetry
Backout Link
Push with failures
Failure Log Bc
Failure log TV
Failure line TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_engagement_window.js | handoff - Test timed out
Comment 10•5 days ago
|
||
Backed out for causing bc process crashes @ browser_aiwindow_smartbar_telemetry.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/255933389dea46b38f106b79732bb33f61ae4a38
Comment 11•5 days ago
|
||
Comment 12•5 days ago
|
||
Comment 13•5 days ago
|
||
Backed out for causing documentation failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/b5870abd15c29697c69789caad68cad719f634e4
Comment 14•4 days ago
|
||
Comment 15•4 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3c465482a379
https://hg.mozilla.org/mozilla-central/rev/7bdee5ba7c96
| Assignee | ||
Comment 16•3 days ago
|
||
Needs QA from @rdoghi in Nightly Fx151 before uplifting to beta. The two Phabricator revisions associated with this bug also resolve bug 2028783.
Comment 17•3 days ago
|
||
Florian, I took a look at this patch while Rares is on PTO. It seems that with the latest Nightly 151.0a1 on macOS 26, the telemetry events that were problematic are triggered in about:glean. However, I have some questions that need clarification:
- For the chatSubmit event, I don't see the value added for memories, although I have memories saved in about:preferences#manageMemories, and they were mentioned a couple of times in the sidebar chat when using the AI. Do we need to have a value for memories as well?
- The chatSubmit event does not show information when searched from the URL bar under the "location" value. I can only see "fullpage" or "sidebar".
e.g.{ "chat_id": "9e79aae4-8928-4bdf-8607-4feaf4e0ed71", "detected_intent": "chat", "length": "18", "location": "sidebar", "mentions": "0", "message_seq": "0", "model": "Qwen3-235B-A22B-Instruct-2507", "submit_type": "enter", "tabs": "1" } - As mentioned in comment 0, "Tabs preselected will not record 1, only if 2 or more are preselected, in which case for 2 tabs added it will show 1 preselected tab (not sure if it's OK; technically it's true if we already add 1 tab, 1 is already there preselected.)". Can you please confirm if this is expected? I can see this behavior on the latest Nightly.
- Also, from comment 0, "message_seq": does this count the user's prompts as well? For 1 user prompt and 1 response from the AI, it's counted as 2 message_seq. Can you tell us more about how this works? I can see "message_seq": "5" when chatting a bit with the AI.
| Assignee | ||
Comment 18•3 days ago
|
||
Thank you @cgeorgiu!
- Memories are being recorded as part of the
chatSubmitevent anymore and were removed from the list directly, but can be merged with themodel_requesttelemetry. - We did not add the
locationproperty to the existing urlbar implemetation and will be covered under bug 2024631. For the purpose of the Smart Window events we can correctly assume that a missinglocationextra_key means the event comes from the urlbar still. - That is the correct behaviour.
- This is the correct behaviour as well: We are counting user and system prompts.
| Assignee | ||
Comment 19•3 days ago
•
|
||
[removed duplicate comment]
Comment 20•3 days ago
|
||
(In reply to Florian Zia [:flozia] from comment #18)
Thank you @cgeorgiu!
- Memories are being recorded as part of the
chatSubmitevent anymore and were removed from the list directly, but can be merged with themodel_requesttelemetry.- We did not add the
locationproperty to the existing urlbar implemetation and will be covered under bug 2024631. For the purpose of the Smart Window events we can correctly assume that a missinglocationextra_key means the event comes from the urlbar still.- That is the correct behaviour.
- This is the correct behaviour as well: We are counting user and system prompts.
Thank you! I'm going to mark this issue verified as fixed on latest Nightly 151.0a1.
I’m also confirming the fix for Bug 2028783. The window_mode key for the urlbar.engagement and urlbar.abandonment events is now correctly displaying classic, private, and Smart Window when following the steps mentioned on Slack.
For urlbar.engagement:
- Open a window
- Click in the URL bar
- Type something: For example “test”
- Press Enter to navigate or select a result
For urlbar.abandonment:
- Open a window
- Click in the URL bar
- Type something
- Click away or press Escape without selecting anything
Description
•