Closed alfredodeza closed 1 year ago
This issue is idle because it has been open for 14 days with no activity.
This issue is very much active and still a concern. @patelchandni is there a way we can prevent the bot from flagging this one?
@alfredodeza it is either incorrect folder structure passed into this action or need to trigger remote build steps for this app (which may be core tool triggers by default). I think the app used in your pipeline no longer exists because of which I cannot further investigate. Please open a support ticket from Azure portal to investigate this further with a sample app ready.
@patelchandni thanks for providing some information about what might be going on. The example repository has two workflows, one with the function-action
which doesn't work (times out) and the other one with Azure Core Tools (as described in this ticket).
You can replicate this issue by creating an Azure Function and attempting to deploy with the sample workflow provided.
I wasn't able to open a ticket from the Azure Portal as this was considered a "code" issue that would require a support plan in place.
If you need me to create the Function App again, I can also do that. Happy to provide everything needed to get this solved!
Removing line 44: Update deploy.yml · alfredodeza/rust-azure-function@e0ddd59 (github.com) fixed the issue.
Trying to deploy a Rust application to Azure Functions using GitHub Actions succeeds but after deployment, the requests time out with an HTTP 500.
The same code deploys correctly using Visual Studio Code with the Azure Functions extension.
This is the workflow file to replicate:
The repository with a working example is https://github.com/alfredodeza/rust-azure-function
On Azure, these logs are observed when streaming the logs:
The only other way to deploy correctly was using Azure Core Tools with the
func
command.The GitHub workflow file was then updated to install Azure Core Tools and deploy the same Rust application which succeeds using the following (excerpt from full markdown file):