Open
Description
Investigative information
Invocation: Local function app invocation.
Repro steps
- host.json with
"hubName": "CustomTaskHubName" - project.csproj file with
<FunctionsPreservedDependencies Include="Microsoft.Extensions.Options.dll" />
- Run function locally (with --verbose?)
- Note that the HubName is using the default hub name: "TestHubName"
Expected behavior
hubName setting is honored
Actual behavior
hubName setting is not honored, but uses the default hub name.
Example output:
[2023-06-21T18:02:29.713Z] Starting task hub worker. Extension GUID 78d03c7c-9545-4d72-adf8-48bba35bbe97. InstanceId: . Function: . HubName: TestHubName. AppName: . SlotName: . ExtensionVersion: 2.9.5. SequenceNumber: 0.
Known workarounds
Don't use Options and don't copy the dll to the output folder using FunctionsPreservedDependencies.
Related information
Microsoft.Extensions.Options version is 7.0.0
Microsoft.Azure.WebJobs.Extensions.DurableTask version is 2.9.5
Tagging @davidmrdavid since he helped debug this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment