azure-dev icon indicating copy to clipboard operation
azure-dev copied to clipboard

Deploying function code after a provision requires a delay/recheck

Open richardpark-msft opened this issue 3 years ago • 1 comments

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

richardpark-msft avatar Jan 31 '22 20:01 richardpark-msft

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.

jongio avatar Jul 30 '22 14:07 jongio

We haven't recently seen this lately. Please re-open if it happens again.

rajeshkamal5050 avatar Feb 16 '23 08:02 rajeshkamal5050

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 avatar Feb 16 '23 19:02 richardpark-msft

@richardpark-msft image

vhvb1989 avatar Feb 16 '23 20:02 vhvb1989