{App Configuration} Upgrade data-plane SDK to 1.10.0b1 - #33968
{App Configuration} Upgrade data-plane SDK to 1.10.0b1#33968Christine Wanjau (ChristineWanjau) wants to merge 4 commits into
Conversation
|
Hi Christine Wanjau (@ChristineWanjau), |
There was a problem hiding this comment.
Pull request overview
This PR upgrades the azure-appconfiguration data-plane SDK used by az appconfig from 1.8.0 to 1.9.0, and aligns the App Configuration scenario tests/recordings with the newer SDK behavior (including updated data-plane API version and deterministic resource naming during recording/playback).
Changes:
- Bump
azure-appconfigurationdependency to 1.9.0 across setup and platform requirement files. - Remove the local run-prefix helper (
get_resource_name_prefix) and switch tests to fixed prefixes for deterministic recordings. - Update App Configuration test recordings to reflect SDK 1.9.0 request/response shapes and
api-version=2026-04-01; adjust local test runner cleanup behavior.
Reviewed changes
Copilot reviewed 23 out of 39 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/azure-cli/setup.py | Updates azure-appconfiguration dependency constraint to ~=1.9.0. |
| src/azure-cli/requirements.py3.windows.txt | Pins azure-appconfiguration==1.9.0 for Windows builds. |
| src/azure-cli/requirements.py3.Linux.txt | Pins azure-appconfiguration==1.9.0 for Linux builds. |
| src/azure-cli/requirements.py3.Darwin.txt | Pins azure-appconfiguration==1.9.0 for macOS builds. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_snapshot_commands.py | Removes run-prefix helper usage to keep snapshot test names deterministic. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_replica_commands.py | Removes run-prefix helper usage for replica tests. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_nsp_commands.py | Removes run-prefix helper usage for NSP scenario tests. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_mgmt_commands.py | Removes run-prefix helper usage across management-plane scenarios. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_kv_snapshot_reference_commands.py | Removes run-prefix helper usage for snapshot reference scenarios. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_kv_import_export_commands.py | Removes run-prefix helper usage across import/export scenarios. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_kv_commands.py | Removes run-prefix helper usage to keep KV scenario naming deterministic. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_key_validation.py | Removes run-prefix helper usage for key validation scenario. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_json_content_type.py | Removes run-prefix helper usage for JSON content-type scenarios. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_identity_commands.py | Removes run-prefix helper usage for identity scenarios. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_feature_commands.py | Removes run-prefix helper usage for feature flag scenarios. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_credential_commands.py | Removes run-prefix helper usage for credential scenarios. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_aad_auth.py | Removes run-prefix helper usage for AAD auth scenarios. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/recordings/test_azconfig_local_auth.yaml | Updates playback-only URIs to api-version=2026-04-01. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/recordings/test_azconfig_key_validation.yaml | Regenerates recording for SDK 1.9.0 (headers/body shape and api-version=2026-04-01). |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/_test_utils.py | Removes the local prefix helper (get_resource_name_prefix) used for local runs. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/_run_all_test.ps1 | Updates default local RG name and removes timestamp-based prefixing; cleanup now targets all resources. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| # Delete all resources in the test resource group | ||
| foreach ($resource in $resources) { | ||
| if ($resource.name.StartsWith($prefix)) { | ||
| Write-Host "Deleting resource: $($resource.name)" | ||
|
|
||
| try { | ||
| # Delete the resource using its ID | ||
| az resource delete --ids $resource.id | ||
| Write-Host "Successfully deleted resource: $($resource.name)" | ||
| } catch { | ||
| Write-Host "Failed to delete resource: $($resource). Error: $_" | ||
| } | ||
| Write-Host "Deleting resource: $($resource.name)" | ||
|
|
||
| try { |
|
App Configuration |
Live test results —
|
There was a problem hiding this comment.
Christine Wanjau (@ChristineWanjau), ## Review
Upstream CI
Azure.azure-cli
- Result: failure
- Failure details:
- Unit Test for Core Python312 (Not PR-related)
- Evidence: The job running on agent pool-ubuntu-2204 32 ran longer than the maximum time of 10 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134
- Next action: Re-run the timed-out job. If it times out again at the same setup or checkout step, escalate to the pipeline owner instead of changing unrelated PR source.
- Verify: Re-run
Unit Test for Core Python312and confirm the job completes within its limit.
- Unit Test for Core Python312 (Not PR-related)
Test validation
- Live test: Failed with conclusion
failure. Workflow run - Regression coverage: Not applicable to the changed files.
CI failure assessment:
The Azure.azure-cli build failure needs investigation. Please review the failing unit tests and address any issues related to changes in this PR. If the failures are unrelated to this PR, rerun the failing workflow.
Risk assessment
11/100 · Low · Low confidence
No additional owning-squad review signal was detected. Main signals: small, isolated diff.
|
🔔 Routing this PR to @Azure/act-codegen-extensibility-squad. |
🤖 PR Validation — ️✔️ All clear
Related command
az appconfigDescription
Upgrade the App Configuration data-plane SDK from
azure-appconfiguration1.8.0 to the1.10.0b1prerelease using an exact dependency pin.Regenerate affected App Configuration recordings with SDK
1.10.0b1and data-plane API version2026-05-01-preview. Remove the local run-prefix helper so recording and playback resource names remain deterministic, and make the optional test cleanup remove all resources from the dedicated test resource group with a correct null/empty collection check.The local-auth scenario cannot be recorded live in the test subscription because policy denies enabling local authentication. Its two data-plane request URIs were migrated to
2026-05-01-previewand verified in playback.Testing Guide
azure-appconfigurationversion is1.10.0b1.azdev test appconfig --no-exitfirst --series: 31 passed, 8 skipped.azdev scanpassed.