azure-search-openai-demo-csharp icon indicating copy to clipboard operation
azure-search-openai-demo-csharp copied to clipboard

Long time no output to run "azd up" in section "Deployment" on local environment

Open jianingwang123 opened this issue 2 years ago • 2 comments
trafficstars

Describe the issue: Long time(>30min) no output while running azd up according to the section "Deployment" of README.md. This is shown as following: image

Environment:

  • Readme - Local

Repro Steps: 1.Run azd auth login 2.Run azd init -t azure-search-openai-demo-csharp 3.Run azd up

Expected behavior: Run command azd up successfully.

@charris-msft to notification.

jianingwang123 avatar Nov 08 '23 10:11 jianingwang123

This issue needs further validation. From the app perspective, there's not much we can do to control what azd does.

luisquintanilla avatar Dec 11 '23 19:12 luisquintanilla

@luisquintanilla We have some suggestions for this issue.

  1. Running "PrepareDocs.dll" takes too long, could you please optimize it. If it is not possible to shorten the time, it is recommended to add some user-friendly explanations. eg: Write-Host 'Running "PrepareDocs.dll". This will take a long time (>30min)'

  2. It is recommended to add some info before Get-Location | Select-Object -ExpandProperty Path to avoid long runs that may cause users to think that the program is blocking. eg: Current path: xxx.

v-jiaodi avatar Dec 12 '23 08:12 v-jiaodi