Page MenuHomePhabricator

Civi Snooze feature stopped working!
Closed, ResolvedPublic

Description

Similar to what happened back on T349277: Snoozed donor received fundraising email, the Civi snooze isn’t working. We can see the scheduled snooze date but the action isn’t happening. Please see the activity for CID 2476155 --> The snooze was scheduled on Feb 15th (donor's first complaint) and both Civi and Acoustic don’t show the email as snoozed (donor emailed us again today with another complaint since he received the email 2). Below are additional CIDs that I've unsubscribed from for 90 days using the old 'Unsubscribe from Wikimedia Fundraising Email' link after encountering this issue: 29621716, 62662089, 41461711, 14913350, 41794509, 4516352.

SH_CID_screenshot .png (164×1 px, 28 KB)

It appears to be connected to the Civi update, particularly occurring after maintenance week. Thank you in advance for addressing this again!

Event Timeline

Hmm, looks like maybe some of these are piled up behind the data axle import job. I'll see if I can increase the priority for the snooze jobs

Change 1006080 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/crm@master] Create snooze jobs with higher priority

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

I've tried running the underlying API call using e.g.

echo '{"version":4,"databaseID":9644238,"email":"ejeggleston+checkouttest2@gmail.com", "checkPermissions":0,"values":{"snooze_end_date":"2024-03-15 00:00:00", "activity_id":207627336}}' | /usr/local/bin/drush @wmff cvapi Omnicontact.create --in=json

And it seems to snooze that email in Acoustic. I'm still figuring out what makes coworker pick up 4 items from the Data Axle queue to every 1 it picks up from the snooze queue.

OK, there really is something wrong with the coworker jobs - I just noticed they're each running over and over again till they hit the limit of 50 runs and are shunted to the omni-snooze/damaged queue. There are no obvious errors in the logs. I'll try to debug locally.

Change 1006080 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Create snooze jobs with higher priority

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

greg triaged this task as Medium priority.Mar 4 2024, 8:55 PM

Change 1009307 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):

[wikimedia/fundraising/crm@master] Cause failmail when queue task fails and gets aborted. Also set logs for single failures of task run.

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

Change 1009307 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Cause failmail when queue task fails and gets aborted. Also set logs for single failures of task run.

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

Change #1015104 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Update guzzle to 7.6.1 per core

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

Change #1015105 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm/vendor@master] Vendor update, guzzle 7.6.1

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

Change #1015167 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Update guzzle to match CiviCRM version

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

Change #1015104 abandoned by Eileen:

[wikimedia/fundraising/crm@master] Update guzzle to 7.6.1 per core

Reason:

replaced

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

Change #1015105 abandoned by Eileen:

[wikimedia/fundraising/crm/vendor@master] Vendor update, guzzle 7.6.1

Reason:

replaced

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

Change #1015167 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Update Guzzle to match CiviCRM version

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

Change #1015336 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):

[wikimedia/fundraising/crm/vendor@master] Update guzzle to 7.6.1 per core

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

Change #1015336 merged by jenkins-bot:

[wikimedia/fundraising/crm/vendor@master] Update guzzle to 7.6.1 per core

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

Thanks for your patience, the Civi snooze feature is back in operation. https://civicrm.wikimedia.org/civicrm/email-snooze

@Damilare thanks for the awesome news, and all the work to make this happen!

XenoRyet set Final Story Points to 8.