Skip to content

Conversation

@dbarkol
Copy link
Member

@dbarkol dbarkol commented Oct 27, 2025

…b naming

  • Add app settings override for automatic environment switching

    • Local: uses azureStorage with AzureWebJobsStorage (via host.json)
    • Azure: uses azureManaged with DTS_CONNECTION_STRING (via app settings)
    • No manual host.json changes required between environments
  • Fix task hub naming convention

    • Remove hyphen from taskhub abbreviation (taskhub- → taskhub)
    • Task hub names must be alphanumeric only per Azure DTS requirements
    • Prevents 'Invalid table name' errors in production
  • Clean up environment variables

    • Remove DURABLE_TASK_STORAGE_TYPE from local.settings files
    • Remove DURABLE_TASK_CONNECTION_STRING_NAME from local.settings files
    • Update generate-settings scripts to exclude removed variables
  • Infrastructure improvements

    • Quote app settings keys with double underscores in bicep
    • Maintain Always Ready configuration for DTS with Flex Consumption
    • Configuration: AzureFunctionsJobHost__extensions__durableTask__storageProvider__*

This implementation follows the Azure Functions app settings override pattern documented at: https://learn.microsoft.com/azure/azure-functions/functions-host-json\#override-hostjson-values

Purpose

  • ...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

…b naming

- Add app settings override for automatic environment switching
  * Local: uses azureStorage with AzureWebJobsStorage (via host.json)
  * Azure: uses azureManaged with DTS_CONNECTION_STRING (via app settings)
  * No manual host.json changes required between environments

- Fix task hub naming convention
  * Remove hyphen from taskhub abbreviation (taskhub- → taskhub)
  * Task hub names must be alphanumeric only per Azure DTS requirements
  * Prevents 'Invalid table name' errors in production

- Clean up environment variables
  * Remove DURABLE_TASK_STORAGE_TYPE from local.settings files
  * Remove DURABLE_TASK_CONNECTION_STRING_NAME from local.settings files
  * Update generate-settings scripts to exclude removed variables

- Infrastructure improvements
  * Quote app settings keys with double underscores in bicep
  * Maintain Always Ready configuration for DTS with Flex Consumption
  * Configuration: AzureFunctionsJobHost__extensions__durableTask__storageProvider__*

This implementation follows the Azure Functions app settings override pattern
documented at: https://learn.microsoft.com/azure/azure-functions/functions-host-json\#override-hostjson-values
@dbarkol dbarkol self-assigned this Oct 27, 2025
@dbarkol dbarkol merged commit a250791 into main Oct 27, 2025
1 check passed
@dbarkol dbarkol deleted the feature/dts-configuration-and-documentation branch October 28, 2025 23:51
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.

2 participants