Skip to content

Commit e084aba

Browse files
authored
Merge pull request #288154 from mattchenderson/azfd0013
Clarifying azfd0013 resolution
2 parents a869e44 + 056b4a6 commit e084aba

File tree

1 file changed

+20
-4
lines changed
  • articles/azure-functions/errors-diagnostics/diagnostic-events

1 file changed

+20
-4
lines changed

articles/azure-functions/errors-diagnostics/diagnostic-events/azfd0013.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,31 @@ The `FUNCTIONS_WORKER_RUNTIME` application setting indicates the language or lan
2222

2323
This event may appear for apps that were previously using inconsistent and undefined behavior to continue running while in a mismatch state. Follow the instructions in this article to resolve the event for these applications. Doing so allows these apps to take advantage of performance enhancements and ensure that they can continue to operate as expected.
2424

25-
.NET apps undergoing a [migration from the in-process model to the isolated worker][isolated-migration] may encounter this event temporarily during that process. When `FUNCTIONS_WORKER_RUNTIME` is updated to "dotnet-isolated", but the application is still using an in-process model payload, this event may appear until the migration is completed. See the migration guidance for instructions on using deployment slots to prevent this event from appearing in your production environment.
25+
.NET apps undergoing a [migration from the in-process model to the isolated worker][isolated-migration] may encounter this event temporarily during that process. When `FUNCTIONS_WORKER_RUNTIME` is updated to `dotnet-isolated`, but the application is still using an in-process model payload, this event may appear until the migration is completed. See the migration guidance for instructions on using deployment slots to prevent this event from appearing in your production environment.
2626

2727
## How to resolve the event
2828

29-
The event message indicates the current value of `FUNCTIONS_WORKER_RUNTIME` and the detected runtime metadata from the app payload. The values must be aligned, either by deploying an application of the appropriate type or by updating the value of `FUNCTIONS_WORKER_RUNTIME` to match.
29+
The event message indicates the current value of `FUNCTIONS_WORKER_RUNTIME` and the detected runtime metadata from the app payload. These values must be aligned, either by deploying an application payload of the appropriate type or by updating the setting to an expected value
3030

31-
For most applications, the correct resolution is to update the value of [`FUNCTIONS_WORKER_RUNTIME`][fwr]. To do so, on your function app in Azure, set the `FUNCTIONS_WORKER_RUNTIME` [application setting][app-settings] to the [expected value][fwr] for your application payload. When running locally in the Azure Functions Core Tools, you should also add `FUNCTIONS_WORKER_RUNTIME` to the [local.settings.json file](../../functions-develop-local.md#local-settings-file).
31+
For most applications, the correct resolution is to update the value of [`FUNCTIONS_WORKER_RUNTIME`][fwr]. To do so, on your function app in Azure, set the `FUNCTIONS_WORKER_RUNTIME` [application setting][app-settings] to the expected value for your application payload. The expected value is not necessarily the same as the detected runtime metadata, though in many cases it will be. Use the following table to determine the correct value to use:
3232

33-
For apps following a migration guide, see that guide for relevant instructions. [Migrating .NET applications to the isolated worker model][isolated-migration] involves first setting `FUNCTIONS_WORKER_RUNTIME` to "dotnet-isolated" before deploying the updated application payload, and this event may appear temporarily between those steps.
33+
| Detected payload | Expected `FUNCTIONS_WORKER_RUNTIME` value |
34+
|-|-|
35+
| `CSharp` | `dotnet` |
36+
| `custom` | `custom` |
37+
| `dotnet` | `dotnet` |
38+
| `dotnet-isolated` | `dotnet-isolated` |
39+
| `java` | `java` |
40+
| `node` | `node` |
41+
| `powershell` | `powershell` |
42+
| `python` | `python` |
43+
| Any multi-stack payload<sup>1</sup> | `dotnet` |
44+
45+
<sup>1</sup> A multi-stack payload is a comma-separated list of stack values. Multi-stack payloads are only supported for [Logic Apps Standard](../../../logic-apps/single-tenant-overview-compare.md).
46+
47+
When running locally in the Azure Functions Core Tools, you should also add `FUNCTIONS_WORKER_RUNTIME` to the [local.settings.json file](../../functions-develop-local.md#local-settings-file).
48+
49+
For apps following a migration guide, see that guide for relevant instructions. [Migrating .NET applications to the isolated worker model][isolated-migration] involves first setting `FUNCTIONS_WORKER_RUNTIME` to `dotnet-isolated` before deploying the updated application payload, and this event may appear temporarily between those steps.
3450

3551
## When to suppress the event
3652

0 commit comments

Comments
 (0)