gitlab-org--gitlab-foss/app/workers
Dmitriy Zaporozhets c1b490d6ef Merge branch 'handle-smtp-input-errors' into 'master'
Gracefully handle SMTP user input errors (e.g. incorrect email addresses) to prevent Sidekiq retries

### What does this MR do?

This MR gracefully handles SMTP input errors (e.g. incorrect or invalid e-mail addresses) to prevent these types of exceptions from causing Sidekiq to retry the task. If these specific exceptions occur, they will be logged, and the e-mail will be dropped from the queue.

### Why was this MR needed?

If you include an author that has a misspelled e-mail address, Sidekiq will keep sending e-mail to all the recipients even if they have already received the e-mail. The only way to recover is to clear the Sidekiq queue.

Note that other exceptions can still be thrown (e.g. `IOError`, `Net::SMTPAuthenticationError`, `Net::SMTPServerBusy`, `Net::SMTPUnknownError`, and `TimeoutError`). If the worker encounters these, Sidekiq should retry the task.

### What are the relevant issue numbers?

Closes https://github.com/gitlabhq/gitlabhq/issues/9560

See merge request !1163
2015-08-25 09:23:43 +00:00
..
email_receiver_worker.rb Ignore empty incoming messages. 2015-08-24 10:57:35 -07:00
emails_on_push_worker.rb Gracefully handle SMTP user input errors (e.g. incorrect email addresses) to prevent Sidekiq retries 2015-08-19 23:18:34 -07:00
fork_registration_worker.rb CI forking: tests 2015-04-06 19:45:16 +03:00
gitlab_shell_worker.rb replace Gitolited mixin with Gitlab::ShellAdapter 2013-03-21 21:01:14 +02:00
irker_worker.rb Add Irker service configuration options 2015-07-05 06:40:56 -07:00
merge_worker.rb Revert "Merge branch 'revert-satellites' into 'master' " 2015-08-11 14:33:31 +02:00
post_receive.rb Trigger post-receive hoooks when commits are made by GitLab 2015-08-10 10:54:42 +02:00
project_cache_worker.rb Avoid cache building for super-weird case when repository root_ref is nil 2015-07-17 16:03:38 +02:00
project_service_worker.rb Fix async services execution broken in 7.6 2014-12-29 17:48:43 +02:00
project_web_hook_worker.rb Added X-GitLab-Event header for web hooks 2015-05-08 16:49:03 +03:00
repository_archive_worker.rb Add tests. 2015-03-31 13:37:21 +02:00
repository_import_worker.rb Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLab 2015-08-23 09:23:44 -07:00
system_hook_worker.rb Added X-GitLab-Event header for web hooks 2015-05-08 16:49:03 +03:00