For the first time we saw this in the logs for a few different flow of ours today:
Task run 'e924fcbc-9938-47a4-b0ee-7861ba6e0675' received abort during orchestration:
Error validating state: StaleDataError("UPDATE statement on table 'task_run'
expected to update 1 row(s); 0 were matched.") Task run is in PENDING state.
This appears to come from SQLAlchemy - so presumably is a problem on the prefect side of of things that isn’t being handled yet. I doubt this is something we can fix - but rather something that relates to the database associated with the prefect server?
We are using Prefect Cloud - with Prefect agents running on a VM.