Azure / Azure/azure-functions-core-tools

Improve bundles configuration settings

Open
#2,097 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
4d 20h
Merged PRs (30d)
14

Description

With the change to support IWebJobsConfigurationStartup (https://github.com/Azure/azure-functions-host/pull/5991), I introduced a "chicken-and-egg" problem and now bundles options do not get set up correctly before they are instantiated. This means that in core tools there's no setting for the bundles path and bundle operations will fail.

There's a workaround today by explicitly setting environment variables but we need to improve this.

Will add link to workaround code once committed.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the IWebJobsConfigurationStartup change in PR 5991 and trace how bundle options are initialized in core tools. Reproduce bundle operations without the environment-variable workaround; done means the bundles path is configured before bundle operations run.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
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.