You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like broken job notification emails are not being sent - at least that's the feedback from one developer I've spoken to about this @joechamberlain1
When creating a job that throws an exception in its process() method, so that the JobDescriptior->JobStatus is set to Broken, and after removing any non-broken job descriptors from the queue, and then running the queue, an email should be sent to the admin saying that there are broken jobs in the queue
Seems like broken job notification emails are not being sent - at least that's the feedback from one developer I've spoken to about this @joechamberlain1
When creating a job that throws an exception in its process() method, so that the JobDescriptior->JobStatus is set to Broken, and after removing any non-broken job descriptors from the queue, and then running the queue, an email should be sent to the admin saying that there are broken jobs in the queue
There is an log entry when running the queue "Broken jobs were found in the job queue" - however looking at the code where this comes from https://github.com/symbiote/silverstripe-queuedjobs/blob/4/src/Services/QueuedJobService.php#L500 - I'm not sure where the email is actually being sent
Note that 'NotifiedBroken' is used to limit sending the admin email to a single send
Things might be working fine, though I think we need to validate locally that they actually are
Acceptance criteria
PRs
The text was updated successfully, but these errors were encountered: