Page MenuHomePhabricator

MassMessage tool fails with big list of recipients, and does not issue warnings
Open, Needs TriagePublic

Description

Several times reported. When using big list of recipient, the mass message does not work (no message posted on talk page), but does not issue any warning, and no mention in the log either. The sender then wonders if it is just "delayed" or "will never happen". The number above which this happens fluctuate, eg, sometimes the same list of 700 people works and sometimes it does not).

the tool should either send a notification of failure to the sender, or the failure be listed in the log.

Event Timeline

Several times reported.

Where and when? Please provide sufficient context that would allow investigation. Thanks :)

Hello

Last situation was Feb 15th. It failed but did not issue a warning.
In the log, see https://commons.wikimedia.org/wiki/Special:Log?type=massmessage&user=&page=&wpdate=&tagfilter=&subtype=

15 février 2020 à 19:34 Anthere discussion contributions bloquer a envoyé un message à Commons:Wiki Loves Africa/Recipients 2020 v2 (Wiki Loves Africa)
15 février 2020 à 19:27 Anthere discussion contributions bloquer a envoyé un message à Commons:Wiki Loves Africa/Recipients 2020 v2 (Wiki Loves Africa)
15 février 2020 à 11:52 Anthere discussion contributions bloquer a envoyé un message à Commons:Wiki Loves Africa/Recipients 2020 (Wiki Loves Africa)
15 février 2020 à 11:46 Anthere discussion contributions bloquer a envoyé un message à Commons:Wiki Loves Africa/Recipients (Wiki Loves Africa)
The first 3 were tests (to one recipiendary. That worked). The fourth was the real mass message to all recipiendaries. This one did not work.
I waited 24 hours to make sure no message will end up being posted.
In the meanwhile, I looked for solutions. It appeared likely messages would never been sent and that the issue was number of recipiendaries. So we cut the list in pieces and send on 16th.

Looking for info on the 15th, I found this : Former report here (issue reported by Alexmar983) : https://meta.wikimedia.org/wiki/Talk:MassMessage#Problem_with_a_queue: and https://meta.wikimedia.org/wiki/STEM_Wiki_User_Group/WSC/mass_messages

I contacted this user to understand how (and if) he fixed the problem. My discussion with Alexmar983 : https://meta.wikimedia.org/wiki/User_talk:Alexmar983#Mass_Message

His conclusion was to cut his queue in pieces and it worked. I did the same after my posting on Feb 15 did not work. We divided our list in smaller bits (200 recipiendaries). It worked. See here : https://meta.wikimedia.org/wiki/Wiki_Loves_Africa_2020/Mass_messages#What_was_done_in_2020

This "non sending" with no warning previously happened to me in fall 2019 with some les sans pagEs project mass sending on the French wikipedia.

There are a few existing bug reports about the "failure to deliver when target list is too big" issue, but it's a bit of a mess that I don't have time to untangle right now.
TLDR, we think the primary underlying bug might be T232392: EventBus extension must not send batches that are too large.

For example, Tech News is currently being delivered each week to ~900 pages by splitting the normal target delivery list into 8 smaller lists

Other older tasks include T232379: MassMessage problems - multiple deliveries and missing deliveries and T213942: MassMessage not consistently delivering messages and maybe more.