Users are experiencing repeated notifications for the same post, potentially tied to failed notification jobs stuck in retry loops. bartv observed these jobs reappearing after deletion and suspects Discourse may be retrying notifications for non-existent users, suggesting cleanup logic is missing. codinghorror links this to Wingtip’s issue, where incorrect ownership during a vBulletin migration caused him to be wrongly flagged as the original poster and receive excessive notifications. Wingtip clarifies that a WordPress background job modifying post formatting triggered these notifications — not replies — yet users received two “reply” notifications per thread despite no actual replies. codinghorror notes such edits should trigger “edit” notifications (with pencil glyph), not reply-style alerts. The core issue appears to be faulty notification logic: jobs retrying for missing users, and misclassified edit events triggering reply notifications. A fix should ensure Jobs::PostAlert exits immediately if the target user doesn’t exist, and correctly categorize notifications based on event type. bartv is on v2.3.0.beta10 +172, rebuilt recently, and hesitant to manually kill jobs for fear of breaking the system.
On several topics, I have users who keep getting a new reply notifications. I noticed that these post Ids appear in the retry log, making me wonder if Discourse keeps trying to notify these missing users and in the process notifies everyone?
I tried deleting these jobs but they’ll re-appear. Should I ‘kill’ them instead? (I’m a little reluctant, afraid I’d break something).
Also, it doesn’t seem to make sense to keep retrying something for a missing user, perhaps these tasks should clean themselves up.
I’m currently on v2.3.0.beta10 +172, did a rebuild yesterday.
With my problem, I was erroneously listed as the original poster of these threads and was watching them. This was some sort of bug with the original vBulletin migration.
We had a background job in Wordpress that was going through every WP frontpage post and modifying the formatting, which then notified me as a watcher.
Yes, as the owner you would be notified of edits to “your” posts. This should have come across as edit pencil glyph notifications that say ‘edit’ though, not reply style indications?
They were definitely reply notifications, two per thread, even though there were no new replies. Not sure how their script did it internally, just that it was extremely annoying!