Email notifications not sent as expected
Summary
Sometimes, I found that I don't receive email notifications for comments I'm mentioned in.
Sometimes, I received email notifications for comments I'm not mentioned in.
Same projects (gitlab-ce
, gitlab-ee
), and notification settings on on mention
.
Email notifications are for issues I was mentioned in the past, but in other comments).
I'm not subscribed to any label (as far as I know).
Steps to reproduce
?
Example Project
I was mentioned in 1, 2, 3, but I've never received emails. Spotted by looking at my Todos.
I received notification emails for all new messages in https://gitlab.com/gitlab-org/gitlab-ce/issues/4176 (e.g., https://gitlab.com/gitlab-org/gitlab-ce/issues/4176#note_42507333) even if I wasn't mentioned on them.
What is the current bug behavior?
Notifications not sent as expected - see above.
What is the expected correct behavior?
Notifications sent as expected - see above.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)