prefect
prefect copied to clipboard
occasional duplicate flow runs
First check
- [X] I added a descriptive title to this issue.
- [X] I used the GitHub search to find a similar issue and didn't find it.
- [X] I searched the Prefect documentation for this issue.
- [X] I checked that this issue is related to Prefect and not one of its dependencies.
Bug summary
Occasionally, the Prefect agent submits duplicate flow runs to the infrastructure.
Reproduction
This happens randomly once in a while on a setup that is otherwise working fine.
Error
Agent log output:
17:31:08.214 | INFO | prefect.agent - Submitting flow run 'f7b431a0-051f-4808-bc63-915f8bfb8265'
17:31:16.124 | INFO | prefect.agent - Completed submission of flow run 'f7b431a0-051f-4808-bc63-915f8bfb8265'
17:31:17.056 | INFO | prefect.agent - Submitting flow run 'f7b431a0-051f-4808-bc63-915f8bfb8265'
17:31:25.208 | INFO | prefect.agent - Completed submission of flow run 'f7b431a0-051f-4808-bc63-915f8bfb8265'
### Versions
```Text
Version: 2.8.3
API version: 0.8.4
Python version: 3.8.15
Git commit: 07de1ac4
Built: Thu, Feb 23, 2023 4:31 PM
OS/Arch: linux/x86_64
Additional context
No response