Skip to content
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

I haven't received a CodeTriage email in a few days 😞 #1619

Open
flavorjones opened this issue Jan 29, 2022 · 9 comments
Open

I haven't received a CodeTriage email in a few days 😞 #1619

flavorjones opened this issue Jan 29, 2022 · 9 comments

Comments

@flavorjones
Copy link

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. 😢

Possible Solution

🤷

@flavorjones
Copy link
Author

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

@schneems
Copy link
Member

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.

@flavorjones
Copy link
Author

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

image

@schneems
Copy link
Member

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

def email_decider(user)
EmailRateLimit.new(user.days_since_last_clicked, minimum_frequency: user.email_frequency)
end
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.

@flavorjones
Copy link
Author

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.

@ananthvyas
Copy link

ananthvyas commented Jul 8, 2022

@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!

@tunisiano187
Copy link

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

@flavorjones
Copy link
Author

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 ?

@tunisiano187
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants