Skip to content

fix: default AzureWebJobsStorage to UseDevelopmentStorage=true in classic project creation flow#5110

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-default-values-azurewebjobsstorage
Open

fix: default AzureWebJobsStorage to UseDevelopmentStorage=true in classic project creation flow#5110
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-default-values-azurewebjobsstorage

Conversation

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

The classic project creation flow initialized AzureWebJobsStorage to "" in local.settings.json, while the Template Gallery flow defaulted to "UseDevelopmentStorage=true" (Azurite emulator). This inconsistency meant behavior differed based on which creation path was used.

Changes

  • ScriptProjectCreateStep.ts: Replace the hardcoded empty string default with the existing localStorageEmulatorConnectionString constant ('UseDevelopmentStorage=true')
- AzureWebJobsStorage: ''
+ AzureWebJobsStorage: localStorageEmulatorConnectionString

Since ScriptProjectCreateStep is the base for all language runtimes (JS/TS, Python, PowerShell, Go, C#, etc.), this aligns the classic flow with the Template Gallery across the board.

Copilot AI requested review from Copilot and removed request for Copilot June 15, 2026 23:36
Copilot AI requested review from Copilot and removed request for Copilot June 15, 2026 23:38
Copilot AI changed the title [WIP] Fix inconsistent default values for AzureWebJobsStorage fix: default AzureWebJobsStorage to UseDevelopmentStorage=true in classic project creation flow Jun 15, 2026
Copilot AI requested a review from nturinski June 15, 2026 23:38
@nturinski nturinski marked this pull request as ready for review June 16, 2026 16:21
@nturinski nturinski requested a review from a team as a code owner June 16, 2026 16:21
Copilot AI review requested due to automatic review settings June 16, 2026 16:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aligns the classic project creation flow with the Template Gallery flow by defaulting AzureWebJobsStorage in newly created local.settings.json to the Azurite-compatible "UseDevelopmentStorage=true" value (via the shared localStorageEmulatorConnectionString constant), rather than an empty string.

Changes:

  • Import localStorageEmulatorConnectionString into ScriptProjectCreateStep.
  • Set the default localSettingsJson.Values.AzureWebJobsStorage to localStorageEmulatorConnectionString to ensure consistent defaults across creation flows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants