Load feature flags from the dedicated feature flag resource endpoint - #48222
Closed
Yuan Qu (yuanqu72) wants to merge 27 commits into
Closed
Load feature flags from the dedicated feature flag resource endpoint#48222Yuan Qu (yuanqu72) wants to merge 27 commits into
Yuan Qu (yuanqu72) wants to merge 27 commits into
Conversation
…in the provider Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Yuan Qu (yuanqu72)
requested review from
Avani Gupta (avanigupta),
Jimmy Campbell (jimmyca15) and
Matthew Metcalf (mrm9084)
as code owners
July 22, 2026 23:01
|
Azure Pipelines: 10 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Member
|
/azp run |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
Member
|
/azp run appconfiguration |
|
No pipelines are associated with this pull request. |
Member
|
/azp run python - appconfiguration |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Matthew Metcalf (mrm9084)
requested changes
Jul 24, 2026
Yuan Qu (yuanqu72)
requested review from
a team,
Ravi Pidaparthi (RaviPidaparthi),
Ahmed Ashour (ahmedaashour),
Bidisha Chakraborty (bidisha-c),
retry-recv (bobogogo1990),
Rena (cRui861),
Darren Cohen (dargilco),
David Watrous (dpwatrous),
fhaghbin-msft,
Glenn Harper (glharper),
Howie Leung (howieleung),
iwang2,
Jingjing Li (jingjlii),
Juntu Chen (juntuchen-msft),
Victor Li (lilinvictorms),
Hanchi Wang (luigiw),
Mikael (mikaelsitruk),
minwoolee-msft,
Neehar Duvvuri (needuv),
Quentin Robinson (quentinRobinson),
Rajarshi Sarkar (sarkar-rajarshi),
Travis Angevine (trangevi),
Vinothini Dharmaraj (v-dharmarajv),
Haopeng Wang (wanghoppe),
wiboris and
Xing Wu (xingwu1)
as code owners
August 19, 2026 22:01
…g parsing Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Member
Author
|
/azp run python - appconfiguration |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Member
Author
|
Closing the pr. Moved it to the new pr: #48668 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Loads feature flags from the new dedicated Feature Flag resource endpoint (
FeatureFlagClient/FeatureFlag) inazure-appconfiguration-provider, in addition to the existing key-value based feature flags.feature_flag_enabled=True, feature flags created via the feature flag resource endpoint are now loaded automatically alongside key-value based feature flags.feature_management.feature_flagslist. When a resource-based feature flag and a key-value based feature flag share the same name, the resource-based one takes precedence.load()options are required to opt in; existingfeature_flag_selectorsfilter both kinds.azure-appconfigurationto>=1.10.0b1forFeatureFlagClient/FeatureFlagsupport.Dependency on #47620
AppConfig-FFEndpointbranch), which introduces theFeatureFlagClientAPIs inazure-appconfigurationthat this change depends on. Because of that, this PR targetsAppConfig-FFEndpointinstead ofmain— the diff here is scoped only tosdk/appconfiguration/azure-appconfiguration-provider.This PR should be reviewed/merged after (or together with) #47620, once that lands in
main.Changes
_azureappconfigurationprovider.py/aio/_azureappconfigurationproviderasync.py: load and merge feature flags from the feature flag resource endpoint_client_manager.py/aio/_async_client_manager.py: new client manager support for feature flag resource clients_constants.py,_request_tracing_context.py: new constants and request tracing updates for the feature flag resource pathsamples/feature_flag_resource_sample.py,samples/async_feature_flag_resource_sample.pytests/test_provider_feature_flag_resources.py,tests/test_async_provider_feature_flag_resources.py,tests/test_azureappconfigurationproviderbase.py,tests/test_configuration_client_manager.pyCHANGELOG.md,README.md,samples/README.mdupdatedTesting