Bug #23339
openPosts not being Emailed
0%
Description
A couple of posts I've made in the past week have not been emailed out to users.
One was this forum post, posted to the TLC Group directly through the forum, and cross-posted to multiple other groups.
The second was this blog post posted to the TLC site, and not emailed through the group (I confirmed that "Send to Group" was checked in the Group Blog field.
https://tlc.commons.gc.cuny.edu/2025/09/03/tlc-workshops-teaching-statements-for-the-job-market/
Activity items were created for both posts.
https://commons.gc.cuny.edu/groups/teaching-and-learning-center/
Related issues
Updated by Boone Gorges 4 months ago
- Related to Bug #21964: Posts on Connected Group-site Not posting to forum added
Updated by Boone Gorges 4 months ago
- Status changed from New to Reporter Feedback
This is likely the same issue as #21964
I was able to see the queued items for activity id 1092333 in the database. I used a small script to trigger a manual run of the BPGES async send queue, and I found that requests were timing out after a couple batches were sent. I monkey-patched to set the timeout to 30 seconds and it seems to have made the problem go away.
It's not clear to me why the TLC posts in particular would be occasionally exceeding the default 10s limit - could have something to do with the number of members subscribed? - but it should be harmless to bump the limit across the board. I've made the change in https://github.com/cuny-academic-commons/cac/commit/7c76d5c971d086b963841cea510a348d38762c06
I'd also had a change in place that limited the number of items that could be sent in a single batch. See https://redmine.gc.cuny.edu/issues/21964#note-30. There's a ticket in the BPGES tracker to make this easier to do: https://github.com/boonebgorges/buddypress-group-email-subscription/issues/237 I've just put a filter in the plugin and hotfixed CAC with the filter, so that we can have a more reliable way of limiting batch size. https://github.com/cuny-academic-commons/cac/commit/f90b4cee800adfbb40f7d6ca47e4b09348c50474
Luke, could you please do the following:
1. Confirm that you got an email notification for the https://tlc.commons.gc.cuny.edu/2025/09/03/tlc-workshops-teaching-statements-for-the-job-market activity item. Should've come around 2:15pm EDT or thereabouts
2. Let me know whether you want me to trigger a send for the `Sharing two Learning Experience Designer...` forum post (activity 1089529)
3. Next time you post something to the TLC group, let me know here whether the notifications are sent as expected
Updated by Luke Waltzer 4 months ago
Thanks Boone.
Luke, could you please do the following:
1. Confirm that you got an email notification for the https://tlc.commons.gc.cuny.edu/2025/09/03/tlc-workshops-teaching-statements-for-the-job-market activity item. Should've come around 2:15pm EDT or thereabouts
Yes, came at 1:57, was activity item created when I edited the post.
2. Let me know whether you want me to trigger a send for the `Sharing two Learning Experience Designer...` forum post (activity 1089529)
Yes, please do.
3. Next time you post something to the TLC group, let me know here whether the notifications are sent as expected.
Will do.
Updated by Boone Gorges 4 months ago
Thanks, Luke.
2. Let me know whether you want me to trigger a send for the `Sharing two Learning Experience Designer...` forum post (activity 1089529)
Looking more closely, it appears that there are no pending 'immediate' notifications for this item. I'm not sure why - perhaps they were cleared out because they're a few days old. So I'm afraid there's nothing I can trigger here. Please do let me know the next time you send an item out.