-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure Bot to inform PR owner about failed CI #24287
Comments
The upside to this is clear. The downside is that it makes our notifications even noisier and a lot of us already find the notifications for the repository to be overwhelming. (Not saying we can't or won't do it. Just trying to identify all relevant considerations.) @nodejs/github-bot @nodejs/automation |
I built https://github.com/JasonEtco/ci-reporter for this kind of use case. I think that if managed well, it prevents an overwhelming amount of notifications - however, I don't think that ci-reporter manages notifications well, so this isn't an advertisement so much as a cautionary tale. This is a thing you can do, if it shares more information than just "CI failed!" then cool, but information overload is a thing. My $0.02! |
To implement this using existing code I believe one just needs to send a PR to https://github.com/nodejs/github-bot that takes advantage of https://github.com/nodejs/node-core-utils/blob/master/docs/ncu-ci.md (or just the Jenkins API - ncu-ci just has a bunch of pattern-matching code on top of the Jenkins API to guess the reasons non-js/cctest failures that are very specific to our CI). See nodejs/reliability#17 on an example output of ncu-ci that aggregated the results of multiple CI runs and formatted them as markdown. But I tend to worry about the downside as mentioned by @Trott .. |
Another factor is that our CI is not always green and there tend to be irrelevant failures (flakes). This is the result produced by
|
Just to be clear, I talk about the "small" CI triggered on commit/PR creation, not the full CI triggered manually. |
For the Travis job you can configure Travis to notify you. |
Thanks! |
Is your feature request related to a problem? Please describe.
I happened twice to me that I submitted a PR, automatic CI failed but I forgot to take a look resulting in PR lying around longer then needed.
Describe the solution you'd like
Bot should inform PR owner about failed CI.
The text was updated successfully, but these errors were encountered: