-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency on import order in user-code #15957
Comments
I've seen this in Prefect (3.1.4) logs after an out of memory exception
@zzstoatzz Do you know a workaround here, since the code in question is in Prefect, not our codebase. Especially concerning here is that "Failed to update state of flow run" indicates that the flow run stays in "Running" state, i.e. occupies concurrency slots. |
Also seeing this, but when using the API client: Reproductionfrom prefect.client.orchestration import get_client
with get_client(sync_client=True) as client:
flow_runs = client.read_flow_runs() Error
Version
|
Hi! I recently encountered this issue locally with a flow that has been running smoothly for about three months. After an update, I'm now seeing the following error:
Not sure if it is related to this one. |
@zzstoatzz The issue just started appearing after my return to work this week. As far as I know, nothing has changed with the dependencies or related code. We did update the Helm charts to use the latest release of Prefect Server and bumped the Prefect versions, but none of the code itself has been modified. Apologies for not having more information—it only starts erroring when the flow is running. The flow uses the DaskTaskRunner, but as I mentioned, this has been working without issues for a while. The line where it fails is:
If I skip this line or assign an empty array, the main flow runs fine. The error only occurs when the subtasks begin to run, with each task raising an error.
|
Bug summary
The following code errors out:
with traceback:
It can be resolved by importing anything from the main
prefect
module:Version info
Additional context
This is related to our known circular import problems; I'm opening this for other users who may be searching with this error message.
The text was updated successfully, but these errors were encountered: