Closed Bug 2085361 Opened 1 month ago Closed 25 days ago

Resolution reason, completion status (completed/skipped/expired), and completion count are not included in the "DISMISS" messaging-system ping when the card stack is dismissed

Categories

(Firefox :: Messaging System, defect)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
162 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr153 --- unaffected
firefox159 --- unaffected
firefox160 --- wontfix
firefox161 --- verified
firefox162 --- verified

People

(Reporter: srosu, Assigned: nfabian)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fide-fi])

Attachments

(2 external files)

[Affected versions]:

  • Firefox Nightly 161.0a1 (Build ID: 20261022214940)

[Affected Platforms]:

  • Windows 11 x64
  • macOS 15.7.9
  • Ubuntu 24.04.1

[Prerequisites]:

  • Have the latest Firefox Nightly 161.0a1 en-* build installed/extracted and opened.
  • Have the Nimbus DevTools extension installed.

[Steps to reproduce]:

  1. Open the devTools extension and click on the Feature Configuration Enrollment.
  2. Select fxms-message-15 from the drop-down and paste in the contents of this GitHub gist, and click Enroll.
  3. Change the drop-down to newtabTrainhop, paste the contents of this gist, and click Enroll.
  4. Restart the browser and set up Glean using the testing steps from here: TestRail.
  5. Open a new tab to display the card stack.
  6. Navigate through the card stack until the final card is displayed and wait for it to auto-dismiss.
  7. Navigate to the Glean Debug Viewer and look for your debug ID.
  8. Select your debug ID and open the last “messaging-system” ping.
  9. Search for the "DISMISS" event and observe its values.

[Expected result]:

  • The event includes the resolution reason, completion status (completed, skipped, or expired), and completion count.

[Actual result]:

  • The event does not include the resolution reason, completion status (completed, skipped, or expired), or completion count.

[Notes]:

  • Attached here the messaging-system ping for the DISMISS event.
Flags: needinfo?(emcminn)
Assignee: nobody → nfabian
Whiteboard: [fide-fi]
Attachment #9673805 - Attachment description: WIP: Bug 2085361 - Enhance Dismiss Telemetry for card stack with resolution, completion status + count - Track completion status for visible cards, send a Dismiss event with the aggregated metrics on dismiss → WIP: Bug 2085361 - Enhance Dismiss Telemetry for card stack with resolution, completion status + count
Attachment #9673805 - Attachment description: WIP: Bug 2085361 - Enhance Dismiss Telemetry for card stack with resolution, completion status + count → Bug 2085361 - Enhance Dismiss Telemetry for card stack with resolution, completion status + count r?emcminn
Pushed by nfabian@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/da64cf8ee7b0 https://hg.mozilla.org/integration/autoland/rev/7ba690d5771b Enhance Dismiss Telemetry for card stack with resolution, completion status + count r=emcminn,omc-reviewers
Status: NEW → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch

The patch landed in nightly and beta is affected.

:nfabian, please make an uplift decision for beta:

  • For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set status-firefox161 to wontfix if the fix can wait for the next release.

Uplift requests can be submitted from Lando: D339336.

See Requesting an Uplift for documentation on how to request an uplift.

For more information, please visit BugBot documentation.

Flags: needinfo?(nfabian)

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Dismiss telemetry is required to collect completion metrics from the New Tab onboarding card stack feature. If declined, it would delay the experiments intended for Firefox 161.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing: N/A
  • Risk associated with taking this patch: low
  • Explanation of risk level: Enhances existing telemetry for experimentation
  • String changes made/needed?: No
  • Is Android affected?: no
Attachment #9675717 - Flags: approval-mozilla-beta?
  • Track completion status for visible cards, send a Dismiss event with the aggregated metrics on dismiss

Original Revision: https://phabricator.services.mozilla.com/D339336

Attachment #9675717 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: needinfo?(nfabian)

I verified this issue using Firefox Nightly 162.0a1 (Build ID: 20261108213838) and Firefox Beta 161.0b1 (Build ID: 20261106162943) from Treeherder on macOS 15.7.9, Windows 10, and Ubuntu 24.04.1.

  • I can confirm that the "DISMISS" event is registered after HNT_CARD_STACK completion, with the correct "engaged"/"not_engaged" reason, completion status ("completed"/"skipped") for each card, and completion_count for the entire stack.

However, while verifying this issue, I noticed that no "DISMISS" event is registered when the HNT_CARD_STACK message is removed after the 48-hour expiration period. Based on this, I am marking the issue as verified and have filed a separate issue to track the expiration scenario: Bug 2090850.

Status: RESOLVED → VERIFIED
Flags: needinfo?(emcminn)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: