Deploying function code after a provision requires a delay/recheck
Comment from @ellismg.
When I was writing the automated tests for the function deployment I noticed there was a delay between the provision and being able to deploy to the function.
This isn't great (the check code itself and the need for the check) so we should take a look and see if we can improve this.
If anything it'd be nice to use an API to do the check, rather than just continually launching and failing in the CLI since we don't differentiate failures there so we could be retrying on something very silly.
Originally posted by @ellismg in https://github.com/Azure/azure-dev/pull/460#r795976155
I continue to see this issue as well. In the func test, we call infra/create and then immediately call deploy and sometimes the func isn't fully ready to accept code.
We haven't recently seen this lately. Please re-open if it happens again.
I'll be honest @rajeshkamal5050, I had to file this issue under duress when I was under the team. I'm glad to close this painful chapter of my life.
@richardpark-msft
