Does anyone how to delete deployments and ensure scheduled runs are deleted with them? Our current problem is:
1. We delete a deployment
2. This does not delete the scheduled flow runs attached to it
3. These flow runs try to execute
4. The worker looks up the deployment, and cannot find it
5. The worker begins to loop-crash
6. Every flow assigned to that worker gets blocked as the worker is dead
Ideally deleting a deployment would mean automatically removing flow runs associated with it
➕ 4
👀 1
b
Bianca Hoch
02/26/2025, 3:10 PM
Hi Samuel! Thanks for sharing this. How are you doing this currently, just deleting a deployment through the UI?
s
Samuel Hinton
03/03/2025, 9:40 AM
Following this up showing a new batch of deleted deployments not deleting their scheduled flow runs:
👍 1
Samuel Hinton
03/03/2025, 9:44 AM
@Andrea Piccione tagging as relevant for you too
Samuel Hinton
03/03/2025, 9:48 AM
@Max Lewis-Clarke
b
Bianca Hoch
03/03/2025, 5:57 PM
I appreciate the additional context, thank you! I found an issue that seems to be related to what you're seeing. Would you be willing to add a comment sharing the details you provided here? And just to confirm, you're seeing this with 3.0, correct?