Skip to content

Expiry email resent for previously expiring metrics even if that bug was already closed #954

@badboy

Description

@badboy

e.g. we sent emails for browser.searchinit.engine_invalid_webextension with https://bugzilla.mozilla.org/show_bug.cgi?id=1994584 on 2025-10-16 and 2025-10-23

The bug was tackled and closed on 2025-10-18. We still resent the email later.
I think we're missing a check for a bug's status.
We gather a list of bugs here:

for bug_url, bug_metrics in filed_bugs.items():

But we never check if that bug is already closed. If it is we should remove it from the list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions