Skip to content

bot: Send email to differential owner when build failures are encountered, fixes #99#124

Merged
La0 merged 1 commit intomozilla:masterfrom
abpostelnicu:email_notify
Sep 30, 2019
Merged

bot: Send email to differential owner when build failures are encountered, fixes #99#124
La0 merged 1 commit intomozilla:masterfrom
abpostelnicu:email_notify

Conversation

@abpostelnicu
Copy link
Copy Markdown
Contributor

Since Phabricator doesn't offer support for sending email when UnitTest failures happen we need to have this specific implementation in order to inform patch owners when build failure happen.

Copy link
Copy Markdown
Collaborator

@La0 La0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looks good, some small changes and we should be good to run on testing

Comment thread bot/code_review_bot/report/mail_builderrors.py Outdated
Comment thread bot/code_review_bot/report/mail_builderrors.py Outdated
Comment thread bot/code_review_bot/report/mail_builderrors.py Outdated
Comment thread bot/code_review_bot/report/mail_builderrors.py Outdated
Comment thread bot/code_review_bot/report/mail_builderrors.py Outdated
Comment thread bot/code_review_bot/revisions.py
Comment thread bot/tests/mocks/phabricator_diff_search.json
Comment thread bot/code_review_bot/report/__init__.py Outdated
@abpostelnicu abpostelnicu marked this pull request as ready for review September 27, 2019 17:59
@abpostelnicu abpostelnicu requested a review from La0 September 27, 2019 17:59
Comment thread bot/tests/conftest.py
return self.nb % 2 == 0

def is_build_error(self):
return self.nb % 4 == 0
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😆

@La0 La0 merged commit 9d888ae into mozilla:master Sep 30, 2019
@abpostelnicu abpostelnicu deleted the email_notify branch September 30, 2019 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants