Skip to content

App Config Provider - Feature Flag Page based Etags#46412

Open
mrm9084 wants to merge 3 commits intoAzure:mainfrom
mrm9084:FeatureFlagCollectionMonitoring
Open

App Config Provider - Feature Flag Page based Etags#46412
mrm9084 wants to merge 3 commits intoAzure:mainfrom
mrm9084:FeatureFlagCollectionMonitoring

Conversation

@mrm9084
Copy link
Copy Markdown
Member

@mrm9084 mrm9084 commented Apr 20, 2026

Description

Updates Feature Flags to use page based etags matching this pr #45411 for configuration settings.

Copilot AI review requested due to automatic review settings April 20, 2026 17:20
@github-actions github-actions bot added the App Configuration Azure.ApplicationModel.Configuration label Apr 20, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 updates Azure App Configuration Provider feature flag refresh to use page-based etag tracking (aligned with the earlier collection monitoring work in #45411), reducing the number of requests required to detect feature flag changes.

Changes:

  • Switched feature flag refresh change-detection from per-flag etag checks to page-based etag checks (sync + async).
  • Updated refresh samples to use AAD (endpoint + credential) instead of connection strings.
  • Added changelog entry and removed an unused test import.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
sdk/appconfiguration/azure-appconfiguration-provider/azure/appconfiguration/provider/_client_manager.py Returns feature flags with page etags; adds page-etag change check for feature flags (sync).
sdk/appconfiguration/azure-appconfiguration-provider/azure/appconfiguration/provider/aio/_async_client_manager.py Async equivalent: returns feature flags with page etags; adds page-etag change check for feature flags.
sdk/appconfiguration/azure-appconfiguration-provider/azure/appconfiguration/provider/_azureappconfigurationprovider.py Uses feature-flag page etag checking during refresh and stores feature-flag page etags.
sdk/appconfiguration/azure-appconfiguration-provider/azure/appconfiguration/provider/aio/_azureappconfigurationproviderasync.py Async equivalent: uses/stores feature-flag page etags during refresh.
sdk/appconfiguration/azure-appconfiguration-provider/azure/appconfiguration/provider/_azureappconfigurationproviderbase.py Replaces per-flag watched etags state with feature-flag page etags state.
sdk/appconfiguration/azure-appconfiguration-provider/samples/refresh_sample.py Switches refresh sample from connection string auth to AAD auth.
sdk/appconfiguration/azure-appconfiguration-provider/samples/refresh_sample_feature_flags.py Switches feature-flag refresh sample from connection string auth to AAD auth.
sdk/appconfiguration/azure-appconfiguration-provider/tests/test_azureappconfigurationproviderbase.py Removes unused import.
sdk/appconfiguration/azure-appconfiguration-provider/CHANGELOG.md Documents the switch to page-based etag checking for feature flag refresh.

mrm9084 and others added 2 commits April 20, 2026 11:35
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

App Configuration Azure.ApplicationModel.Configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants