dt-mergebot icon indicating copy to clipboard operation
dt-mergebot copied to clipboard

Stop pinging owners over and over for the same PR (allow unsubscribing)

Open fregante opened this issue 2 years ago β€’ 5 comments

Pings are necessary to make people aware of a new PR. If they don't take action, every following comment is already delivered to their notification by default. Continuous pinging doesn't do anything extra.

I want owners to have two options:

  • do nothing or review/comment (keep receiving updates)
  • click unsubscribe (stop receiving updates)

The second option is not available because the bot keeps bugging everyone in nearly every comment.

fregante avatar Apr 12 '23 05:04 fregante

@jakebailey @sandersn @andrewbranch

This bot behavior leads to people unsubscribing/blocking DefinitelyTyped, causing them to never contribute to the project again. This is the opposite of what this feature was meant to achieve.

Please review this bot and my open PR, it's a very straightforward change.

fregante avatar Jan 16 '24 07:01 fregante

I'm not sure I agree with your premise. Getting pinged is exactly what a DT owner signed up for; why be an owner if you're not willing to review PRs?

If you're adamant to not re-ping, then either we should always ping initially, or potentially even just check who all has been previously pinged in the PR and only ping new owners (allowing older PRs to continue to ping the most recent people). Your current PR seems to remove the initial ping, which seems incorrect.

(It is of course funny to be pinged here about not wanting to be pinged πŸ˜„)

jakebailey avatar Jan 19 '24 21:01 jakebailey

πŸ™Œ We agree on the base premise, I opened with this:

Pings are necessary to make people aware of a new PR

The issue is not about being pinged, but allowing unsubscribing to each PR.

A single mention is enough to:

  • notify owners of new PRs
  • notify owners of changes to the PR, unless they explicitly unsubscribed from the PR

Let's say a PR is opened regarding a part of a package that I've never even seen, or that I have no time to review. I want to unsubscribe from that specific PR and not be notified again.

Because let's say Andrew saw this issue and and clicked "Unsubscribe" because he's on vacation, but I'm a bot and I'll mention y'all again:

@jakebailey @sandersn @andrewbranch

…and maybe I'll mention every one again every comment. I bet I'll be blocked after the 3rd mention here. πŸ₯Ή

(It is of course funny to be pinged here about not wanting to be pinged πŸ˜„)

I hope that gets the message across πŸ˜ƒ

fregante avatar Jan 20 '24 06:01 fregante

check who all has been previously pinged in the PR

  • Do PRs live long enough (on average) that new owners are added while they're open?
  • Are owners added often enough?

The rarity of this subset of PR/owners makes me think it's not worth the extra complexity of this.

fregante avatar Jan 20 '24 06:01 fregante

Because let's say Andrew saw this issue and and clicked "Unsubscribe" because he's on vacation, but I'm a bot and I'll mention y'all again:

Unsubscribing from specific threads is certainly not the method I'd use to silence notifications on vacation. There are much better tools for that. But this is moot.

The rarity of this subset of PR/owners makes me think it's not worth the extra complexity of this.

Yes, that was an over the top suggestion. Simply making it ping only in the first comment would be sufficient.

jakebailey avatar Jan 20 '24 06:01 jakebailey