A Push Work Pool, when used with serverless infrastructure providers such as Google Cloud Run, Azure Container Instances, and AWS ECS, does not rely on a traditional polling mechanism by the worker or agent to know when a run is completed, failed, or running.
Instead, the serverless infrastructure is responsible for executing the workflow and can update the status of the run (completed, failed, or running) back to the orchestration environment. This allows for a loosely-coupled architecture where the work pool submits the run and the serverless platform manages the lifecycle of the run, including scaling the infrastructure as needed.
The interaction between the Push Work Pool and the serverless infrastructure can be thought of as similar to a pub/sub or message-based system. In this model, the work pool can be seen as a "topic" that helps coordinate deployments with the infrastructure, but it does not actively poll for run statuses. Instead, status updates are typically pushed back by the serverless platform to the Prefect orchestration environment, which then reflects the latest run statuses.
For more information on how this specifically works with Prefect, you may want to consult the Prefect documentation or forums for integrations with various serverless platforms and the specifics of status updates.