Closed Bug 1940331 Opened 1 month ago Closed 29 days ago

Running `mach gen-use-counter-metrics` will clobber custom emails in use_counter_metrics.yaml

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: mgaudet, Assigned: mgaudet)

References

(Depends on 1 open bug)

Details

Right now if you were to run mach gen-use-counter-metrics you'd clobber some custom emails set by Benjamin Beurdouche for MLS in Bug 1900537.

Given the header of the file is

# This file is AUTOGENERATED by usecounters.py. DO NOT EDIT.
# (instead, re-run ./mach gen-use-counter-metrics)

We probably need something better; for the patch I'm working on I've hand preserved those emails. Feels rude to just overwrite them, but at the same time, it's not an ideal workflow. If Ben doesn't really need the emails we could just use this bug to overwrite the yaml file with the generator contents.

I've marked this as Depends On Bug 1899418 which was a feature request for custom notification emails

Flags: needinfo?(bbeurdouche)

It is fine with me if my email is clobbered, that's not a concern. By looking at the code, it looks like my counter names are not up-to-date so they might be clobbered too which is also fine.

Flags: needinfo?(bbeurdouche)

Alright -- when Bug 1940109 hits central I'll use this bug to land a re-run of mach gen-use-counter-metrics.

Assignee: nobody → mgaudet
See Also: → 1938524
Severity: -- → S3
Status: NEW → RESOLVED
Closed: 29 days ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.