CodeTriage icon indicating copy to clipboard operation
CodeTriage copied to clipboard

I haven't received a CodeTriage email in a few days :disappointed:

Open flavorjones opened this issue 3 years ago • 9 comments
trafficstars

Hello! And thank you for CodeTriage. I've halved the number of open issues on Nokogiri over the past two months with your help!

I realized this morning that the last CodeTriage email I received was on Jan 24th. Previously I had been receiving one a day, regularly. There doesn't appear to be any filtering going on in my email client, though I suppose and fear that something like inadvertent blocklisting codetriage.com emails may have happened (I use Gmail).

Expected Behavior

I would love to continue to receive a daily email.

Current Behavior

No email. :cry:

Possible Solution

:shrug:

flavorjones avatar Jan 29 '22 14:01 flavorjones

Today I received an email. It's February 1st, maybe this has to do with monthly limits from the email delivery service?

flavorjones avatar Feb 01 '22 19:02 flavorjones

Strange. Did you go awhile without interacting with an email? We have some auto back-off logic that kicks in if we see that emails aren’t being clicked. It might be that back off logic.

schneems avatar Feb 13 '22 15:02 schneems

No, I've been clicking through all of them, at least in the month of January:

image

flavorjones avatar Feb 14 '22 12:02 flavorjones

Looking at your account in the DB it looks like code triage thinks it's been 5 days since you've clicked on a link in one of the emails:

irb(main):007:0> job.send(:skip?, user)
=> "Email backoff"
irb(main):010:0> user.days_since_last_clicked
=> 5
irb(main):011:0> user.email_frequency
=> "daily"

Here's where the backoff logic is called https://github.com/codetriage/CodeTriage/blob/51d496085bc076b43302e1c29922271688dacfe0/app/jobs/send_daily_triage_email_job.rb#L61-L63 and here's where that class lives https://github.com/codetriage/CodeTriage/blob/51d496085bc076b43302e1c29922271688dacfe0/app/models/email_rate_limit.rb.

I went ahead and forced it to deliver an email right now, let me know if you didn't get it.

schneems avatar Feb 18 '22 18:02 schneems

I got the email! Here's the latest view into my inbox:

image (2)

I believe I didn't click the email on the 15th. Possibly also on the 11th, which would match the "grow your streak" number.

However, I just want to point out that the streak continued to increase between the Jan 24 and Feb 1 email ... that's the period when I didn't receive any emails that prompted me to open this issue. I was clicking on those email links, but there was a break in delivery for some reason.

flavorjones avatar Feb 19 '22 17:02 flavorjones

@schneems I'm in a similar situation where I'm not receiving any mails at all. Initially I got a ton of codetriage misses you mails, but then once I actually subscribed to a few repos, nothing:D Apologies if I was supposed to create a new issue. Lmk and I can create one. Thanks for the help!

ananthvyas avatar Jul 08 '22 16:07 ananthvyas

Same problem for me, but i see on the codetriage page that the repos have 0 issues, but on the github page, they have 22issues... Here is an example : https://github.com/chocolatey-community/chocolatey-packages/issues

tunisiano187 avatar Oct 11 '22 17:10 tunisiano187

FWIW, I believe the situation that caused me to file this original ticket was: there were no more issues to email me about! I had received emails for all the open issues on all the repositories I was subscribed to.

Since then, when a new issue is created, Code Triage has reliably emailed me about it. But if there are no new issues, I won't get any emails.

If my diagnosis is correct, I think this is operating as designed? Might that be what's going on for you, too @tunisiano187 and @ananthvyas ?

flavorjones avatar Oct 11 '22 22:10 flavorjones

@flavorjones, i don't think so, the repository has new tickets nearly everyday, and i just ask for 1 per day. I've tryied to "untriage" then recreate it, and the repositories i've made that are now OK, maybe it's linked to the github token? or a change that needs to be updated? today i receive 2 triage for issues that are 2 days old

tunisiano187 avatar Oct 12 '22 06:10 tunisiano187