Closed Bug 1897292 Opened 1 year ago Closed 1 year ago

`mach event-into-legacy` doesn't generate the correct `telemetry_mirror`

Categories

(Toolkit :: Telemetry, defect, P1)

defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: chutten, Assigned: chutten)

Details

Attachments

(1 file)

If you ./mach event-into-legacy browser.launched_to_handle.system_notification you'll be given a decent legacy event definition for browser_launched_to_handle.system_notification. The problem is, you'll be told to add the following property: telemetry_mirror: SystemNotification_Browser_launched_to_handle_Events. Which will fail when you try to compile because the true cpp enum name is Browser_launched_to_handle_SystemNotification_Events

This is due to a couple of problems, but the biggest one is the order of the first to arguments to create_legacy_mirror_def are reversed

And fix a pylint for overwriting event_category.

Pushed by chutten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/76f8ca9a4f69 Generate the correct event cpp name in event-into-legacy r=TravisLong
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: