Adam
07/08/2025, 3:47 PMMarvin
07/08/2025, 3:47 PMMarvin
07/08/2025, 3:48 PMAdam
07/08/2025, 3:49 PMrun_deployment
not end?Marvin
07/08/2025, 3:49 PMMarvin
07/08/2025, 3:50 PMrun_deployment
, it will wait for the flow run to reach a terminal state (COMPLETED, FAILED, or CRASHED). However, it will not wait for non-terminal states, which include:
- PENDING
- RUNNING
- CANCELLING
- AWAITINGRETRY
- RETRYING
- SUSPENDED
- PAUSED
These non-terminal states indicate that the flow run is still in progress or in a transitional state. The run_deployment
command will continue to poll until a terminal state is reached, unless configured otherwise.
You can find more details about states and their behavior in the Prefect states documentation.