Azure / LogicAppsUX

https://learn.microsoft.com/azure/logic-apps
MIT License
73 stars 80 forks source link

VS code: Taking longer time than expected to deploy workflow from VS code to logic app only in NuGet Artifact. #2533

Closed vgouth closed 1 year ago

vgouth commented 1 year ago

Describe the Bug with repro steps

1.Create a new workflow app using VS Code. 2.Create a stateful/stateless workflow 3.Open the workflow.json file in designer and author a new workflow. 4.Add http request trigger. 5.Add Inline javascript action and add a Response action, where the body is the output from the Run in-line JavaScript action (Inline javascript test case)or else add some parameters with request and any action like response or compose(workflow parameters test case). 6..Save, debug and run it. 7..Create a logic app from logic apps tree in resources blade. 8.Deploy the workflow from VS code to logic app in NuGet Artifact. 9..Expected: Should able to deploy the workflow from VS code to logic app in NuGet Artifact within less than 10min. Actual: It is taking more than 45-50 minutes to create a zip package and deploy the workflow from VS code to logic app only in NuGet Artifact.

Note: Issue repro only in nuget artifact, to create a zip package and deploy the workflow, but the deployment is getting success enough though it is taking longer time by getting the error as shown below.

What type of Logic App Is this happening in?

Standard (VSCode)

Are you using Preview Designer or GA Designer

Preview

Workflow JSON

No response

Screenshots or Videos

image image image

Browser

VS Code

Additional context

Artifacts details:

1.VS Code extension: vscode-azurelogicapps-2.18.0.vsix 2.NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzczNTE1ODYzL2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.23.1.nupkg 3.Extension Bundle (CDN URL): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting 4.Extension Bundle (Direct Download): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/1.23.1/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.23.1_any-any.zip

AB#24206986

ccastrotrejo commented 1 year ago

The specific process of creating the zip package and uploading to azure is done via the VSCode Azure SDK for Node.js package. After analyzing it, it might be taking so much time due to the internet upload speed. I put a known issue label on this in the meantime we discuss on this with the team,

vgouth commented 1 year ago

Internet upload and download speed is 20MBPS. image

ccastrotrejo commented 1 year ago

I had a talk with one of the team members of App Service Tools. The amount of time will totally depend on the project size and the internet speed. As for now, they aren't sure how they can improve the performance of it. But I will keep this open as a known issue.