Azure / Azure/azure-functions-core-tools

FUNCTIONS_WORKER_RUNTIME required in flex consumption app settings

Open
#4,645 4 comments 0 reactions 0 assignees View on GitHub
needs-discussion potential-bug
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
4d 20h
Merged PRs (30d)
14

Description

### Version

Currently using 4.2.2

### Description

[Flex consumption plans have deprecated the FUNCTIONS_WORKER_RUNTIME app setting](https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings#flex-consumption-plan-deprecations), and in fact it can't be added through normal means.
Image

Despite that, Core Tools still requires the setting to be present in order to run locally, and automatically adds it to my local settings, de-syncing my local and hosted settings.
Image

### Steps to reproduce

Create a flex consumption app and run it.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with Core Tools 4.2.2 using a Flex consumption app, then compare the hosted app settings with the generated local settings. Done means the local run no longer requires or automatically adds FUNCTIONS_WORKER_RUNTIME for Flex consumption apps.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.