Skip to content

Add opt-in to load feature flags from Azure App Configuration - #107

Merged
AndreuCodina merged 3 commits into
mainfrom
feature/opt-in-load-feature-flags
Oct 14, 2026
Merged

AndreuCodina merged 3 commits into
mainfrom
feature/opt-in-load-feature-flags

Conversation

@AndreuCodina

Copy link
Copy Markdown
Member

No description provided.

Copilot AI balanced review requested due to automatic review settings October 14, 2026 18:57
@AndreuCodina AndreuCodina changed the title Add opt-in to load feature flags Add opt-in to load feature flags from Azure App Configuration Oct 14, 2026

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.

🟡 Changes recommended

The constructor change breaks positional compatibility, and the documentation retains a nonfunctional feature-flag example.

3 open findings
What changed in this PR

Adds explicit opt-in loading for Azure App Configuration enhanced feature flags.

Changes:

  • Adds and propagates feature_flag_enabled=False.
  • Skips feature-flag retrieval unless enabled.
  • Updates documentation and tests for opt-in behavior.
File Description
src/​azure/​app_configuration/​azure_app_configuration_settings_source.rs Adds the opt-in setting to the source.
src/​azure/​app_configuration/​azure_app_configuration_settings_provider.rs Conditionally loads feature flags.
python/​wirio_settings/​settings_manager.py Exposes the option through the public manager API.
python/​wirio_settings/​_wirio_settings/​azure_app_configuration.pyi Updates the generated constructor signature.
tests/​test_settings_manager.py Verifies option forwarding.
tests/​test_integration.py Covers enabled and default-disabled behavior.
README.md Documents feature-flag opt-in and snapshots.
Makefile Runs the new integration scenario.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md Outdated
Comment thread tests/test_integration.py Outdated
@codecov

codecov Bot commented Oct 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.66667% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...uration/azure_app_configuration_settings_source.rs 33.33% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@AndreuCodina
AndreuCodina merged commit 2cc0f20 into main Oct 14, 2026
84 checks passed
@AndreuCodina
AndreuCodina deleted the feature/opt-in-load-feature-flags branch October 14, 2026 19:59
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