Page MenuHomePhabricator

Remove extra snooze activities
Closed, ResolvedPublic

Description

I'm not sure if there is already a task for this but i've noticed some records where we've added a manual snooze to the record the activity has been created numerous times making it hard to see any other actiivties on the record cid 4960903 for example, were snoozed in October. I've seen this on a number of records.

@MBeat33 - adding you as i'm not sure if you've seen this on the DR side of things.

Event Timeline

This issue was also reported as T392726: Lots of snooze activities on one contact. We put up one patch trying to fix it but it may not have been enough - looks like that patch was merged to deployment on Dec 23 and this contact has duplicate records up till Dec 30th.

There were a few different problems causing this issue, with a handful of patches in T392726: Lots of snooze activities on one contact to address them. I believe it was finally fully fixed on Jan 10. If we're seeing repeated snoozes since then, please let me know, but otherwise I think we can consider this one done.

My feeling was going back to delete the old repeated snoozes wasn't worth the hassle, since there aren't that many contacts affected, but if this is an issue for DR or MGFE, I can take a look at that.

@Lars - can we just ping you the cids if we see this repeat snooze activity on any records we come across or is there a way we can clean this up ourselves on the record?

@Lars - here's another one I came across

@RLewis I don't think cleaning this up manually would make sense. We have ~10k contacts affected.

So I think if we want to make this a priority to clean up, I can do this for all those contacts with some work. Where does that sit for you relative to other priorities?

Re: your last comment, I think there is a missing cid there. Was that someone who has current repeated snoozes or just one that needs cleaning up?

@Lars sorry here is the cid
49844569 and yes that makes sense since there as so many. In relation to priority, I think it depends how many of these are at the $5k+ and above level as it makes it tricky to review any other activities when you're looking at the activities for these donors.

Lars renamed this task from Snooze Activity in Civi creating numerous activities on a record to Remove extra snooze activities.Jan 28 2026, 5:58 PM

Change #1234504 had a related patch set uploaded (by Lars SG; author: Lars SG):

[wikimedia/fundraising/crm@master] Delete repeated snooze activities

https://gerrit.wikimedia.org/r/1234504

Change #1234504 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Delete repeated snooze activities

https://gerrit.wikimedia.org/r/1234504

@Lars - not sure if you need the cids but I came across this one as well -
61921474

Thanks @RLewis. If you see anything with multiple snoozes after Jan 10, let me know, but not necessary otherwise. I have a patch that will soon be deployed that should clean these up.

Change #1235131 had a related patch set uploaded (by Lars SG; author: Lars SG):

[wikimedia/fundraising/crm@master] Fix delete repeated snooze activities

https://gerrit.wikimedia.org/r/1235131

Change #1235131 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Fix delete repeated snooze activities

https://gerrit.wikimedia.org/r/1235131

Change #1235886 had a related patch set uploaded (by Lars SG; author: Lars SG):

[wikimedia/fundraising/crm@master] Fix delete repeated snooze activities

https://gerrit.wikimedia.org/r/1235886

Change #1235886 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Fix delete repeated snooze activities

https://gerrit.wikimedia.org/r/1235886

XenoRyet set Final Story Points to 4.