First install hatch
Register Deployments and start a local Prefect server and work-pool by doing:
hatch shell devprefect server start &prefect config set PREFECT_API_URL=http://127.0.0.1:4200/apiprefect work-pool create local-work-pool --type processprefect --no-prompt deploy --prefect-file prefect.yaml --allprefect worker start --pool local-work-pool
Trigger a run of the hello-world-deployment. This will in turn trigger multiple other runs of the hello-world* deployments. The trigger of hello-world3 will fail. Look for the:
prefect.server.utilities.messaging.memory - Message failed after 4 retries and will be moved to the dead letter queue
in the logs from the worker.
For resetting/clearing the Prefect database do: prefect server database reset -y