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

Succeed to deploy a JavaScript project to a .NET Flex Consumption function app without any error #4156

Open
v-ruizh opened this issue May 23, 2024 · 1 comment
Labels
AT-CTI Created by CTI team bug

Comments

@v-ruizh
Copy link

v-ruizh commented May 23, 2024

OS: All
Build Version: v1.15.1-alpha.0
Regression: Not a Regression

Repro Steps:

  1. Create a JavaScript project with Http Trigger template.
  2. Create a Flex Consumption function app with another runtime, such as .NET 8 isolated.
  3. Deploy the JavaScript project to the above .NET Flex Consumption function app.
  4. Check whether fail to deploy a JavaScript project to a .NET Flex Consumption function app with an error.

Expect:
Fail to deploy a JavaScript project to a .NET Flex Consumption function app with an error, such as the below one.
image

Actual:
Succeed to deploy a JavaScript project to a .NET Flex Consumption function app without any error.
image

More Info:

  1. This issue also reproduces when deploying a JavaScript project to a Python/Java/PowerShell Flex Consumption function app.
  2. There is no application setting "FUNCTIONS_WORKER_RUNTIME" in Flex Consumption function app.
    image
@v-ruizh v-ruizh added the AT-CTI Created by CTI team label May 23, 2024
@nturinski nturinski added the bug label May 29, 2024
@nturinski
Copy link
Member

Great catch. There should be a different property that we can check for flex apps in order to get the runtime information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AT-CTI Created by CTI team bug
Projects
None yet
Development

No branches or pull requests

2 participants