microsoft / GitHub-Copilot-for-Azure

GitHub Copilot for Azure
Other
14 stars 1 forks source link

Link is a 404 #15

Open pamelafox opened 2 weeks ago

pamelafox commented 2 weeks ago

Type: Bug

It suggested a URL that 404ed: https://learn.microsoft.com/en-us/azure/container-apps/container-apps-plan-configurations

Extension version: 0.3.7 VS Code version: Code 1.95.1 (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z) OS version: Darwin arm64 23.6.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 2400)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|6, 5, 5| |Memory (System)|16.00GB (0.05GB free)| |Process Argv|--crash-reporter-id 62586060-13a2-4d6f-9b3f-4b1de1d548e4| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 945dj816:31013170 dvdeprecation:31068756 dwnewjupytercf:31046870 newcmakeconfigv2:31071590 impr_priority:31102340 nativerepl1:31139838 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-t:31132770 wkspc-ranged-t:31151552 cf971741:31144450 iacca2:31156134 notype1:31157159 5fd0e150:31155592 dwcopilot:31170013 ```
pamelafox commented 2 weeks ago

pamelafox @azure Are there any free tiers available for container apps?

Azure (Preview) Azure Container Apps does provide a free tier which includes:

750 hours of vCPU usage. 750 hours of memory usage. 1 million requests. For more information, you can refer to the official documentation here.

HaoHoo commented 2 weeks ago

pamelafox @Azure Are there any free tiers available for container apps?

Azure (Preview) Azure Container Apps does provide a free tier which includes:

750 hours of vCPU usage. 750 hours of memory usage. 1 million requests. For more information, you can refer to the official documentation here.

Not for the answer. I guess that maybe the page changed after these pages were used as training resources or RAG vector database 😄 .

kvenkatrajan commented 1 week ago

@pamelafox - are you able to reproduce this consistently? We are not seeing hallucination but the links are all vscode related links not having pricing information for example -

Deploy to Azure Container Apps using Visual Studio Code | Microsoft Learn Tool selection - JavaScript - Azure - JavaScript on Azure | Microsoft Learn Develop Azure Functions by using Visual Studio Code | Microsoft Learn

We are still investigating. Thanks for your patience!

pamelafox commented 1 week ago

Sorry, I'm currently unable to use the extension due to .NET runtime installation errors. I have generally seen very variable output with that question however, so I'm not surprised you don't see exact same result.

bwateratmsft commented 1 week ago

Can you share the output log from ".NET Install Tool"?

pamelafox commented 1 week ago

Here's everything in that log:

ms-azuretools.vscode-azure-github-copilot requested to download the .NET ASP.NET Runtime.
Downloading .NET version(s) 8.0.11~arm64~aspnetcore .... Done!
.NET 8.0.11~arm64~aspnetcore executable path: /Users/pamelafox/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~arm64~aspnetcore/dotnet

Error : (DotnetInstallationValidationError)
Failed to download .NET 8.0.11~arm64~aspnetcore:
Validation of .dotnet installation for version {"installId":"8.0.11~arm64~aspnetcore","version":"8.0.11","architecture":"arm64","isGlobal":false,"installMode":"aspnetcore"} failed: Expected executable does not exist at "/Users/pamelafox/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~arm64~aspnetcore/dotnet"

Error : (DotnetCommandFailed)
Failed to download .NET 8.0.11~arm64~aspnetcore:
.NET Acquisition Failed: Validation of .dotnet installation for version {"installId":"8.0.11~arm64~aspnetcore","version":"8.0.11","architecture":"arm64","isGlobal":false,"installMode":"aspnetcore"} failed: Expected executable does not exist at "/Users/pamelafox/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~arm64~aspnetcore/dotnet", Error: Validation of .dotnet installation for version {"installId":"8.0.11~arm64~aspnetcore","version":"8.0.11","architecture":"arm64","isGlobal":false,"installMode":"aspnetcore"} failed: Expected executable does not exist at "/Users/pamelafox/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~arm64~aspnetcore/dotnet"
    at c.assertOrThrowError (/Users/pamelafox/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.2.3/dist/extension.js:2:99774)
    at c.validateDotnetInstall (/Users/pamelafox/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.2.3/dist/extension.js:2:99368)
    at y.<anonymous> (/Users/pamelafox/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.2.3/dist/extension.js:2:39828)
    at Generator.next (<anonymous>)
    at s (/Users/pamelafox/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.2.3/dist/extension.js:2:33041)

ms-azuretools.vscode-bicep: Trying to install .NET 8.0.11~arm64 but it already exists. No downloads or changes were made.
ms-azuretools.vscode-azure-github-copilot requested to download the .NET ASP.NET Runtime.
Downloading .NET version(s) 8.0.11~arm64~aspnetcore .... Done!
.NET 8.0.11~arm64~aspnetcore executable path: /Users/pamelafox/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~arm64~aspnetcore/dotnet

Error : (DotnetInstallationValidationError)
Failed to download .NET 8.0.11~arm64~aspnetcore:
Validation of .dotnet installation for version {"installId":"8.0.11~arm64~aspnetcore","version":"8.0.11","architecture":"arm64","isGlobal":false,"installMode":"aspnetcore"} failed: Expected executable does not exist at "/Users/pamelafox/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~arm64~aspnetcore/dotnet"

Error : (DotnetCommandFailed)
Failed to download .NET 8.0.11~arm64~aspnetcore:
.NET Acquisition Failed: Validation of .dotnet installation for version {"installId":"8.0.11~arm64~aspnetcore","version":"8.0.11","architecture":"arm64","isGlobal":false,"installMode":"aspnetcore"} failed: Expected executable does not exist at "/Users/pamelafox/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~arm64~aspnetcore/dotnet", Error: Validation of .dotnet installation for version {"installId":"8.0.11~arm64~aspnetcore","version":"8.0.11","architecture":"arm64","isGlobal":false,"installMode":"aspnetcore"} failed: Expected executable does not exist at "/Users/pamelafox/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~arm64~aspnetcore/dotnet"
    at c.assertOrThrowError (/Users/pamelafox/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/InstallationValidator.js:38:19)
    at c.validateDotnetInstall (/Users/pamelafox/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/InstallationValidator.js:19:18)
    at y.next (/Users/pamelafox/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/DotnetCoreAcquisitionWorker.js:251:43)
    at Generator.next (<anonymous>)
    at s (/Users/pamelafox/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/DotnetCoreAcquisitionWorker.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
bwateratmsft commented 6 days ago

Thanks @pamelafox. I found a similar issue in the .NET Install Tool's repository, I commented with your logs: https://github.com/dotnet/vscode-dotnet-runtime/issues/2012#issuecomment-2486233225

bwateratmsft commented 6 days ago

@pamelafox the .NET Install Tool folks asked if you could file a new issue with some extra logs that they capture. I think the easiest way to find them is to follow the instructions that show up when you file a new issue: https://github.com/dotnet/vscode-dotnet-runtime/issues/new?template=bug-report--vs-code-runtime-extension.yml