Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.92k stars 441 forks source link

Telemetry for improperly zipped apps #10021

Open satvu opened 5 months ago

satvu commented 5 months ago

Follow up of this issue. We've been seeing an increase in "No Job Functions Found" errors as a result of improperly zipped apps that resulted in an unexpected folder structure.

While these apps have the correct files needed to start up (like host.json), the incorrect folder and file structure can lead to vague errors that prevent the apps from behaving as expected. Some considerations for tracking this:

shashank3kapoor commented 4 months ago

Could anyone please provide an update for this issue? Has this issue been resolved? or is a fix underway?

satvu commented 3 months ago

@shashank3kapoor Are you blocked by a deployment issue? I see that you commented on https://github.com/Azure/azure-functions-dotnet-worker/issues/2335 - if the solution there did not help you, could you open a support ticket instead?

This tracking item is only for telemetry - resolving the root cause of an improperly zipped app will still depend on user action and investigation.

shashank3kapoor commented 3 months ago

@satvu Thanks.

Below changes fixed the problem:

Updating the file structure Startup.cs -> Program.cs And using Update wizard (VS 2022) to upgrade to 8.0

YAML:(Linux)