Closed Bug 1610616 Opened 4 years ago Closed 4 years ago

Make probe expiry alerts create bugs for expiring probes

Categories

(Data Platform and Tools :: General, enhancement, P3)

enhancement
Points:
2

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benwu, Assigned: benwu)

References

Details

Attachments

(1 file)

This is an updated version of bug 1261400.

Probe expiry alerts currently sends weekly emails for expiring probes. It would be useful to file bugs for probes either instead of or alongside the emails and tag probe owners. Bugs may have better visibility and allow for tracking. Another advantage is that the existence of the bug can act as a state and we wouldn't need to send weekly emails which can get spammy.

We'll probably need to put a bugzilla api key into airflow for this.

:ryanvm, are there any details we should be aware of to make this better align with the release cycle? I know that some bugs are manually filed in the version increase simulation if tests fail due to expired bugs so there will be duplicates. Is this ok to do? Any thoughts on how to best handle this?

Flags: needinfo?(ryanvm)

I don't think it'd be a big deal if there were occasional duplicates filed. We probably just want to link them together in the end.

Flags: needinfo?(ryanvm)
See Also: → 1261400
Assignee: nobody → bewu

I've thought about this a little more and I'm wondering if filing bugs the best thing to do. Should it be done instead of or in addition to emails? I figure it could be better for visibility since it's persistent and less spammy than weekly emails. But with bugzilla email filters and the fact that somewhat spammy might be what we want, I'm not sure this is needed. Implementation is fairly low effort so either way is fine with me. I think sending one email and filing bugs each time new expiring probes are found (each release cycle) would be a good balance.

The implementation I have will create bugs for any probe expiring the next version, probably with ni? for the probe owners. If a bug was previously created for a probe that is no longer expiring in the next version it will be marked as resolved on the next run (should we let owners close the bug themselves?).

Flags: needinfo?(fbertsch)
Flags: needinfo?(chutten)

Bugs (like this one) and emails have both been used to alert people of expiring probes in the past. From what I can tell the bugs are responded to much better than emails, perhaps because by placing them in the correct component the Triage Owner then is motivated to deal with it.

I don't know that mail on top of the bugs will have any greater effect... but with the email able to bounce over bugmail filters, maybe it's worth it? I think the mails given for the needinfo? you propose will be as effective if not more, so long as the email content is reasonably-well translatable to a bug description.

Flags: needinfo?(chutten)
Flags: needinfo?(fbertsch)
Depends on: 1627102
Blocks: 1696907
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: