The translationnotifications mailer is broken, which is preventing translators to receive emails and digests about pending translator tasks.
As far as I was told, the issue is with MailAddress but I'm seeing other errors with JobExecutor and sendEmail.
EventBus reports errors because of a Non-scalar value found in the event. According to @Ottomata in -analytics today this is because:
<ottomata> to field is being set an instance of MailAddress <ottomata> which is failing because MailAddress is not a scalar <ottomata> MailAddress's toString does work as expected though
Looking for related errors in Logstash I can find as well 4,000+ JobExecutor sendMail errors since January 2023. See this Logstash query e.g.:
"Failed executing job: sendMail Special:MyLanguage/Main_Page to={\"name\":\"***REDACTED***\",\"realName\":\"\",\"address\":\"\"} from={\"name\":\"\",\"realName\":\"\",\"address\":\"wiki@wikimedia.org\"} body=string(1324) subj=Digest email for translation requests from Meta replyto={\"name\":\"\",\"realName\":\"\",\"address\":\"***REDACTED***\"} namespace=-1 title=MyLanguage/Main_Page requestId=9be0ac0706badf0d293ec762",
Error
- mwversion: 1.41.0-wmf.4
- reqId: 9be0ac0706badf0d293ec762
- Find reqId in Logstash
Non-scalar value found in the event
exception.trace
Impact
Notes
Original Task Description
I have opted-in to translation notifications via a weekly email digest for Spanish via Meta-Wiki Special:TranslatorSignup for quite some time. However, and despite translation notifications been sent according to the relevant on-wiki log, I have received no email or digests, which makes me suspect that either the whole "email" feature is broken, or maybe just the digest option is not working.
Just in case, my email address is valid and verified/confirmed as well.
Thank you.