backlog icon indicating copy to clipboard operation
backlog copied to clipboard

As a user, I'd like an option to exclude pull requests with failing check (CI) status from my reminders

Open majormoses opened this issue 8 years ago • 5 comments

People submit WIP or (unfortunately) horribly broken code all the time by looking at the status checks we can determine if its worth pinging a user or the team or wait for the submitter to fix the code. In a way its some ways it's the reverse of #69

majormoses avatar Nov 09 '18 01:11 majormoses

This is somewhat of a dupe of https://github.com/pullreminders/backlog/issues/68, which I am closing, but please check it out because you left a comment there.

This is also related to https://github.com/pullreminders/backlog/issues/69, although less so for open-source since I'm guessing most of your pull request authors aren't going to be using Pull Reminders to help them catch failed checks, right?

abinoda avatar Nov 09 '18 01:11 abinoda

@majormoses I updated the title of this issue, let me know if it looks right to you

abinoda avatar Nov 09 '18 01:11 abinoda

So at work I'd like to avoid getting pinged about stuff that's failing, they can always hit me up in slack to get help. For OSS projects where users don't necessarily have an easy line of communication outside of github to maintainers to reach out for help.

majormoses avatar Nov 09 '18 01:11 majormoses

@majormoses So, one temporary workaround could be if you had a bot that automatically added and removed a "checks-failing" label from pull requests. Then you could just exclude that label in your Pull Reminders settings, right?

abinoda avatar Nov 09 '18 01:11 abinoda

So it would require two components in order to work in its current state:

  1. when a PR is opened it would be auto labeled with something like ci: running and create a filter for this
  2. When CI passes the previously applied label would be removed, in the event of a failure we would need to remove the previous label and add apply another label with something like ci: failing and create a filter for this

This seems like a lot of coordination that needs to happen which is why it would be nice to simply look at the status since it should be able to be pulled via an API.

majormoses avatar Nov 09 '18 03:11 majormoses