Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no function under the "Functions" node after deploying a project to a Linux Consumption function app #3967

Closed
v-ruizh opened this issue Feb 1, 2024 · 8 comments · Fixed by microsoft/vscode-azuretools#1681
Labels
AT-CTI Created by CTI team

Comments

@v-ruizh
Copy link

v-ruizh commented Feb 1, 2024

OS: M1 & Linux
Build Version: v1.13.2
Regression: Previous Release (v1.13.1)

Repro Steps:

  1. Create a JavaScript project with HTTP Trigger function and open it in VS Code.
  2. Create a Node.js Linux Consumption function app.
  3. Deploy the JavaScript project to the above function app.
  4. Check whether there is a HTTP Trigger function under the "Functions" node.

Expect:
There is a HTTP Trigger function under the "Functions" node.

Actual:
There is no function under the "Functions" node.
image
Output log:
image

More Info:

  1. This issue also reproduces for a Python Linux Consumption function app.
  2. This issue does not reproduce on the function app with App Service Plan or Premium hosting plan.
  3. This issue does not reproduce on the previous released Function extension v1.13.1.
  4. This issue is unstable on Windows platform.
@v-ruizh v-ruizh added the AT-CTI Created by CTI team label Feb 1, 2024
@neeklo
Copy link

neeklo commented Feb 1, 2024

Facing the same issue in a C# project. Looks like a regression introduced in version 1.13.2
While awaiting a fix, reverting the plugin to the previous version 1.13.1 via the "Uninstall" > "Install another version..." menu option in VS Code corrects the behavior.

image

@m-shaverdy-nasery
Copy link

Same here! I am wondering what their QA does!!!

@nturinski
Copy link
Member

Big thanks to our testing team @v-ruizh for catching this.

I currently have merged the fix, but I want to do some more testing before releasing. Hopefully we can release the fix tomorrow, but as mentioned by @neeklo, reverting back to the previous version (1.13.1) should be a workaround.

Sorry about the inconvenience!

@v-ruizh
Copy link
Author

v-ruizh commented Feb 2, 2024

Verified this issue on Azure Functions extension 20240201.17, it does not reproduce for .NET, Python and Node.js Function Apps.
But it still reproduces for Java Linux Consumption Function App with the below steps.

  1. Create a Java Linux Consumption Function App.
  2. Expand the above Function App -> Expand "Functions" node.
  3. Deploy the Java project to the above Function App.

More Info:

  1. This issue does not reproduce if deploying a Java project to a non-expanded Java Linux Consumption Function App.
  2. This issue does not reproduce for Java Function app with App Service Plan or Premium hosting plan.

@nturinski
Copy link
Member

v1.13.3 is released. Updating should fix this issue. Again, I'm really sorry about this critical bug; thanks again for being so quick to report it.

@v-ruizh Could you verify if the issue below is still occurring?

Verified this issue on Azure Functions extension 20240201.17, it does not reproduce for .NET, Python and Node.js Function Apps. But it still reproduces for Java Linux Consumption Function App with the below steps.

  1. Create a Java Linux Consumption Function App.
  2. Expand the above Function App -> Expand "Functions" node.
  3. Deploy the Java project to the above Function App.

More Info:

  1. This issue does not reproduce if deploying a Java project to a non-expanded Java Linux Consumption Function App.
  2. This issue does not reproduce for Java Function app with App Service Plan or Premium hosting plan.

@v-ruizh
Copy link
Author

v-ruizh commented Feb 6, 2024

@nturinski Verify this issue on the current released Function extension v1.13.3. It still reproduces for the Java Linux Consumption Function App with the below steps.

  1. Create a Java Linux Consumption Function App.
  2. Expand the above Function App -> Expand "Functions" node.
  3. Deploy the Java project to the above Function App.

@marcingminski
Copy link

This is still an issue for Python functions using Azure Functions v1.13.3

12:11:50 AM test-zojCWQXCAh: Deployment successful. deployer = ms-azuretools-vscode deploymentPath = Functions App ZipDeploy. Extract zip. Remote build.
12:12:06 AM test-zojCWQXCAh: Syncing triggers...
12:12:13 AM test-zojCWQXCAh: Querying triggers...
12:12:15 AM test-zojCWQXCAh No HTTP triggers found.

@jessejiang0214
Copy link

v1.13.4 C# project, still exist!!!

@microsoft microsoft locked and limited conversation to collaborators Mar 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AT-CTI Created by CTI team
Projects
None yet
6 participants