RESOLVED FIXED 215867
Ensure that email notifications are not sent for obsolete and r- patches
https://bugs.webkit.org/show_bug.cgi?id=215867
Summary Ensure that email notifications are not sent for obsolete and r- patches
Aakash Jain
Reported 2020-08-26 13:57:13 PDT
We should ensure that email notifications are not sent for obsolete and r- patches. EWS does check occasionally if the patch is obsolete/r- and stops processing the build if so. However, there aren't checks at the end of the build. If the patch becomes obsolete/r- after EWS checks the patch state, it is possible that EWS might send email notification for the failure. We should add another check just before sending the email, to ensure that EWS doesn't send email for obsolete/r- patches. Note that it should be fine to send email for bugs which are closed, since it might indicate that there was a failure on the patch which was landed.
Attachments
Patch (5.92 KB, patch)
2020-08-26 14:00 PDT, Aakash Jain
no flags
Aakash Jain
Comment 1 2020-08-26 14:00:36 PDT
Jonathan Bedard
Comment 2 2020-08-27 14:36:41 PDT
Comment on attachment 407337 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=407337&action=review > Tools/BuildSlaveSupport/ews-build/steps.py:549 > + self._addToLog('stdio', 'Skipping email since patch {} is marked r-'.format(patch_id)) Do we have a request somewhere to make this the behavior when a patch is marked r-? It's not obviously that an r- ed patch shouldn't generate notification emails.
Aakash Jain
Comment 3 2020-08-27 15:03:54 PDT
(In reply to Jonathan Bedard from comment #2) > Do we have a request somewhere to make this the behavior when a patch is marked r-? It's not obviously that an r- ed patch shouldn't generate notification emails. Not an explicit request. Although marking r- itself generate an email notification from bugzilla.
EWS
Comment 4 2020-08-27 15:18:18 PDT
Committed r266260: <https://trac.webkit.org/changeset/266260> All reviewed patches have been landed. Closing bug and clearing flags on attachment 407337 [details].
Radar WebKit Bug Importer
Comment 5 2020-08-27 15:19:15 PDT
Aakash Jain
Comment 6 2020-08-28 05:58:27 PDT
Restarted buildbot to pick up this change.
Note You need to log in before you can comment on or make changes to this bug.