Deploying flows via the build_from_flow functions seems to take absolutely forever. I’m talking 10 minutes to deploy one simple flow. Is there anything that could cause this? Any starting point in terms of debugging would be very helpful.
Are you using the Prefect Ignore file? Because of Prefect’s hybrid model, if it isn’t a local process it must pull the flow and all the code from where it’s stored over to where the agents are. And unless you have that ignore file it will attempt to pull everything under the project folder.