mondras
06/04/2024, 10:26 PM"prefect.delete-stage": "soft"
for this call. my ui still has the flow on a schedule; please explain. thanksMarvin
06/04/2024, 10:26 PM"prefect.delete-stage": "soft"
), which means the flow is hidden but not fully removed from the system. This can lead to some residual effects, such as the flow continuing to appear on schedules. This behavior occurs because deleting a flow does not automatically delete the associated deployments or scheduled tasks, leading to orphaned deployments.
This issue is documented in Prefect's GitHub issues. For example, Issue #9856 notes that deleting a flow will not delete its associated deployments. If these deployments are scheduled, they will continue to trigger based on their schedule, potentially causing errors when trying to run the orphaned deployments.
Here are the key points from the issue:
- When deleting a flow, deployments for that flow are not deleted.
- Scheduled deployments will continue to run despite the flow being deleted.
- These orphaned deployments lead to errors because the associated flow is missing.
- There is no immediate way to navigate to these orphaned deployments in the UI unless known.
### Steps to resolve:
1. Manually identify and delete the associated deployments for the flow.
2. Clean up any external resources or manually remove schedules related to the deleted flow.
For additional help, please refer to:
- GitHub Issue #9856
- Prefect Docs on artifacts management, which explains some aspects of managing flows and artifacts.
If you need more detailed steps or run into other issues, feel free to ask!mondras
06/04/2024, 11:04 PMMarvin
06/04/2024, 11:04 PMBring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by