"Couldn't find User without an ID" Sidekiq::Extensions::DelayedMailer loop
Created by: mjdetullio
Slightly related to #2758 (closed) ...
A failed Sidekiq job gets stuck in an infinite retry loop when reassigning an issue/MR to someone when no one was previously assigned.
Steps to reproduce in 4.2 stable:
- Create an issue or merge request without assigning it to anyone
- Go to issue/MR and click Edit
- Change the assigned user to someone and save
- Notice failed job in Sidekiq -> Retries because it's trying to send an email to the previously assigned user (which was nobody)