Skip to content

{NetAppFiles} Fix test_volume_create_with_cmk recording: align identity api-version to 2025-05-31-preview#33478

Merged
necusjz merged 1 commit into
Azure:devfrom
YangAn-microsoft:fix/netappfiles-cmk-identity-apiversion
Jun 2, 2026
Merged

{NetAppFiles} Fix test_volume_create_with_cmk recording: align identity api-version to 2025-05-31-preview#33478
necusjz merged 1 commit into
Azure:devfrom
YangAn-microsoft:fix/netappfiles-cmk-identity-apiversion

Conversation

@YangAn-microsoft
Copy link
Copy Markdown
Contributor

Description

Fixes a broken playback test on dev caused by a semantic merge conflict between two PRs that merged the same day:

Because both merged concurrently, #32214's bulk find-and-replace never touched the new netappfiles cassette, so on dev the live request (2025-05-31-preview) no longer matches the recorded request (2024-11-30), producing:

vcr.errors.CannotOverwriteExistingCassetteException

This PR aligns the recorded userAssignedIdentities PUT request URI to 2025-05-31-preview, matching the current az identity api-version (same mechanical change #32214 applied to all other affected cassettes).

Testing

  • Single-line recording change; full validation via CI.

…ities recording api-version to 2025-05-31-preview
Copilot AI review requested due to automatic review settings June 1, 2026 07:42
@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd Bot commented Jun 1, 2026

️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd Bot commented Jun 1, 2026

️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

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 fixes a broken NetAppFiles scenario test playback by updating the recorded az identity create request URI in a VCR cassette to match the current az identity API version (2025-05-31-preview), avoiding cassette mismatches during playback on dev.

Changes:

  • Updated the Microsoft.ManagedIdentity/userAssignedIdentities PUT request api-version in test_volume_create_with_cmk.yaml from 2024-11-30 to 2025-05-31-preview.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@isra-fel
Copy link
Copy Markdown
Member

isra-fel commented Jun 2, 2026

QQ: Why PR validation didn't fail for https://github.com/Azure/azure-cli/pull/32214/changes

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Jun 2, 2026

@YangAn-microsoft

@necusjz necusjz merged commit 4b2dc65 into Azure:dev Jun 2, 2026
67 checks passed
@YangAn-microsoft YangAn-microsoft deleted the fix/netappfiles-cmk-identity-apiversion branch June 2, 2026 00:40
@necusjz
Copy link
Copy Markdown
Member

necusjz commented Jun 2, 2026

QQ: Why PR validation didn't fail for https://github.com/Azure/azure-cli/pull/32214/changes

probably its ci completely executed before the related check-in.

@jiasli
Copy link
Copy Markdown
Member

jiasli commented Jun 3, 2026

It is not a good practice to manually edit the recording file. It's better to rerun the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants