kulttuuri/DiscordNotifications

cirrusSearchLinksUpdatePrioritized job causes notification to be sent (for past edits)

Closed this issue · 1 comments

On MediaWiki 1.30 we see that sometimes a notification is sent with a diff that dates from several months ago, and with a user name that doesn't correspond to the user that did the edit.

Investigating the job queue when this happens, I see the diff corresponds to the last edit of the page affected by a cirrusSearchLinksUpdatePrioritized job (caused by Cirrus Search). Apparently, those jobs are added randomly to refresh the index.

I don't know, however, why the reported username is not correct. Maybe the job is inserted randomly upon editing a page, and it picks the user that performed the edit on the page that triggered the job, instead of the last edit of the page.

This seems to be Issue #91 after all, cirrusSearchLinksUpdatePrioritized doesn't seem to be the fault here, just a coincidence.