Would be nice to have a means of quickly getting alerted about the CI failing on a PR you authored. It’s a bit cumbersome to keep an eye out on it manually, and a freshly created PR typically gets more eyes on it so having it in failing state is a bit of a waste of everyone’s time. Creating this issue after brief IRC discussion.
I think the main requirements are:
- be able to opt out or easily ignore/hide
- only get a single notification per run, not for every single job failing
- low-touch, easy to maintain
Some potential approaches I see:
- Use GitHub actions as recommended by Cirrus CI documention, e.g. here’s a sample email workflow
- can we get this to work so the PR author is notified?
- Use
bitcoin-git
IRC bot to DM the nickname that corresponds to the PR author’s GitHub nickname
- people with a different username on IRC and GitHub would not get notifications
- to opt-out, I think users could simply use
/ignore bitcoin-git
?
- Use drahtbot to tag the author as assignee when CI fails (and remove them as assignee upon force push)
- haven’t come up with an elegant way for people to opt-out of this, but arguably it’s also the least intrusive option and e.g. could be filtered on the mailbox level?