<@ULVA73B9P>, i am seeing an error on flows that w...
# ask-marvin
n
@Marvin, i am seeing an error on flows that were running fine just a couple of days ago received abort during orchestration: The enclosing flow must be running to begin task execution. Task run is in PENDING state.
m
The error message "received abort during orchestration: The enclosing flow must be running to begin task execution. Task run is in PENDING state" indicates that a task run attempted to execute, but the flow it belongs to was not in a running state. This can happen if the flow was inadvertently stopped or if there was a miscommunication between the flow and task states. Here are a few things you might consider checking or trying: 1. Flow State: Ensure that the flow is indeed running when tasks are supposed to execute. If the flow is stopped or paused, tasks will not proceed. 2. Recent Changes: If there have been any recent updates to your Prefect version or configuration, consider reverting to the previous state to see if the issue persists. 3. Logging: Enable detailed logging to capture more information about the orchestration process. This might help identify why the flow is not in the expected state when tasks attempt to run. 4. Concurrency and Dependencies: Check if there are any concurrency limits or task dependencies that might be affecting the flow's execution state. 5. Community Discussions: There was a related discussion on the Prefect Community Slack, which might provide additional insights or solutions. You can view it here. If none of these steps resolve the issue, you might want to raise it on Prefect's GitHub issues page or continue the discussion in the community forums.
n
At the end of the day setting my concurrency limits for the task fixed the issue. Thanks