Sondre Sitje
01/31/2025, 8:02 AM3.0.1
) with some automations set up. These are just basic automations that is triggering a deployment after a flow run has completed.
A week ago these automations suddenly stopped working, with no errors or anything. We do get the event prefect.automation.triggered
but are missing both the prefect.automation.action.triggered
and prefect.automation.action.executed
events which we previously got.
Here is the trigger for one of the automations (created in the UI):
{
"type": "event",
"match": {
"prefect.resource.id": "prefect.flow-run.*"
},
"match_related": {
"prefect.resource.id": [
"prefect.flow.6597b113-5b41-4c19-9f7f-6f7765195208"
],
"prefect.resource.role": "flow"
},
"after": [],
"expect": [
"prefect.flow-run.Completed"
],
"for_each": [
"prefect.resource.id"
],
"posture": "Reactive",
"threshold": 1,
"within": 0
}
Anyone got an idea on how to get this working again?
Thanks in advance.Bianca Hoch
01/31/2025, 2:49 PM{
"type": "event",
"match": {
"prefect.resource.id": "prefect.flow-run.*"
},
"match_related": {
"prefect.resource.role": "flow",
"prefect.resource.id": [
"prefect.flow.185028eb-ddc7-44b7-a2d1-5f212727e4c6"
]
},
"after": [],
"expect": [
"prefect.flow-run.Completed"
],
"for_each": [
"prefect.resource.id"
],
"posture": "Reactive",
"threshold": 1,
"within": 0
}
Bianca Hoch
01/31/2025, 2:57 PM3.0.1
around the time when the automation stopped working? Have you attempted to re-create the automation to see if the behavior persists?Sondre Sitje
02/03/2025, 7:44 AM3.0.1
for months, with no changes recently. I have re-created the automation for one of the pipelines but the issue still persists.
We do use the “basic” serve
deployment method, so no work pools or workers (yet). Today we have 21 deployments running, everything scheduled in different time slots (so they should not run i parallel).
Could this be a resource issue?
Apparently something happened yesterday as well where our slack-integration (in automation) didn’t notify on an error.
We got the prefect.automation.triggered
today as well, but still missing the other two events mentioned previously, so nothing triggers the expected deployment runs.Bianca Hoch
02/03/2025, 10:06 PMThe server has been running flawless with versionThat is puzzling. At the very least, you should be seeing an automation action failed event if something goes wrong when trying to run the deployment. It's hard to say if this is a resource issue. If it was, I'd imagine you'd see other problems cropping up in your execution environment.for months, with no changes recently.3.0.1
Bianca Hoch
02/03/2025, 10:07 PMSondre Sitje
02/04/2025, 1:59 PMBianca Hoch
02/04/2025, 2:42 PMSondre Sitje
02/19/2025, 1:54 PM