Closed Bug 1969308 Opened 3 months ago Closed 2 months ago

Unconvert totalsize metric to standard byte number

Categories

(Core :: Machine Learning, defect)

defect

Tracking

()

VERIFIED FIXED
141 Branch
Tracking Status
firefox140 --- verified
firefox141 --- verified

People

(Reporter: ngrato, Assigned: ngrato)

References

(Blocks 1 open bug)

Details

(Whiteboard: [genai])

Attachments

(2 files)

the wrong conversion method was used to convert "totalSize".

Summary: Unconvert totalsize metric to standard number → Unconvert totalsize metric to standard byte number

the wrong conversion method was used to convert 'totalSize'

Blocks: 1959521
Depends on: 1947256
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch

the wrong conversion method was used to convert 'totalSize'

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

Attachment #9492461 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined: model size on metrics will be the wrong format
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: initiate actions to trigger glean events. (init a model deletion from about:addons )
  • Risk associated with taking this patch: UI errors / metric errors
  • Explanation of risk level: This should only touch metrics so I beleive risk is low.
  • String changes made/needed: n/a
  • Is Android affected?: no
Flags: qe-verify+
Attachment #9492461 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified as Fixed. Tested on the latest Nightly (141.0a1/20250603213222) and Beta (140.0b5
/20250603182419 from https://treeherder.mozilla.org/jobs?repo=mozilla-beta&revision=b9e56b774e8a34db6fbf6f3c419b59ca182349a8) under Windows 11 and Ubuntu 24.04 LTS.

When initiating a model deletion from about:addons, the corresponding glean event shows model size as "size": "23685047" on the latest Nightly and patched Beta 140.0b5, as opposed to the unpatched Beta 140.0b4 which shows "size": "22.6 MB", confirming the fix.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: