Azure / Azure/azure-functions-host

Send (some?) parsed host.json values to worker during initialization

Open
#11,501 1 comment 0 reactions 0 assignees View on GitHub
area: worker Engineering Backlog enhancement
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

Currently, some of the workers (notably dotnet-isolated) do their own parsing of host.json to pull in values that they need. The biggest one at the moment is the http `routeprefix`, which is used to provide route details to functions (https://github.com/Azure/azure-functions-dotnet-worker/pull/1596).

However, this is unnecessary parsing on the worker side that can introduce other complexities (like differences in parsing behavior).

We need a way for the host to send some host.json details along to the worker as part of the worker initialization flow.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the host-to-worker initialization flow and comparing it with the dotnet-isolated worker's host.json parsing described in the linked pull request. Identify which parsed values are in scope and where initialization data is exchanged; done means workers can receive those values without parsing host.json themselves.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.