prefect
prefect copied to clipboard
Serving a deployment that already belongs to a work pool doesn't remove it from its work pool
Bug summary
Deploy a flow to a work pool. Then serve that flow with the same flow and deployment name. The deployment will still be affiliated with its work pool and work queue, but some fields in the deployment schema will have been erased and both that work pool's worker and the serve process will be polling for runs.
Version info (prefect version
output)
Version: 2.20.1
API version: 0.8.4
Python version: 3.11.5
Git commit: f6bebfca
Built: Fri, Aug 9, 2024 10:35 AM
OS/Arch: darwin/arm64
Profile: default
Server type: cloud
Additional context
No response