Repository navigation
deps: migrate armdeploymentstacks to v2.0.0 - #10606
Victor Vazquez (vhvb1989) wants to merge 2 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a2092c44-0278-465f-aa49-ebd550f62710
📋 Prioritization NoteThanks for the contribution! The linked issue isn't in the current milestone yet. |
There was a problem hiding this comment.
🟡 Changes recommended
Both deployment-stack functional cassettes retain the old API version and cannot match v2 requests during playback.
1 open issue
What changed in this PR
Migrates azd’s Deployment Stacks integration to SDK v2.0.0 for #10605, separately from the dependency-only updates in #10572.
Changes:
- Updates SDK imports and scope-specific action enums while preserving delete/detach settings.
- Adds serialized-default coverage and updates round-trip assertions.
- Aligns shared dependencies across affected extensions and removes obsolete exceptions.
| File | Description |
|---|---|
| cli/azd/pkg/infra/provisioning/bicep/deployment_stacks_test.go | Updates v2 round-trip assertions. |
| cli/azd/pkg/azapi/stack_deployments.go | Migrates SDK and default action enums. |
| cli/azd/pkg/azapi/stack_deployments_test.go | Tests serialized defaults and v2 overrides. |
| cli/azd/pkg/azapi/deployments_unit_test.go | Uses v2 SDK models. |
| cli/azd/go.sum | Updates core dependency checksums. |
| cli/azd/go.mod | Requires v2 and related dependency upgrades. |
| cli/azd/extensions/azure.coding-agent/go.sum | Refreshes SDK checksums. |
| cli/azd/extensions/azure.coding-agent/go.mod | Aligns SDK dependencies. |
| cli/azd/extensions/azure.appservice/go.sum | Refreshes SDK checksums. |
| cli/azd/extensions/azure.appservice/go.mod | Aligns SDK dependencies. |
| cli/azd/extensions/azure.ai.training/go.sum | Refreshes SDK checksums. |
| cli/azd/extensions/azure.ai.training/go.mod | Aligns SDK dependencies. |
| cli/azd/extensions/azure.ai.toolboxes/go.sum | Refreshes SDK and tidy checksums. |
| cli/azd/extensions/azure.ai.toolboxes/go.mod | Aligns SDK dependencies. |
| cli/azd/extensions/azure.ai.skills/go.sum | Refreshes SDK and tidy checksums. |
| cli/azd/extensions/azure.ai.skills/go.mod | Aligns SDK dependencies. |
| cli/azd/extensions/azure.ai.routines/go.sum | Refreshes SDK and tidy checksums. |
| cli/azd/extensions/azure.ai.routines/go.mod | Aligns SDK dependencies. |
| cli/azd/extensions/azure.ai.rle/go.sum | Refreshes SDK checksums. |
| cli/azd/extensions/azure.ai.rle/go.mod | Aligns SDK dependencies. |
| cli/azd/extensions/azure.ai.projects/go.sum | Refreshes SDK checksums. |
| cli/azd/extensions/azure.ai.projects/go.mod | Aligns SDK dependencies. |
| cli/azd/extensions/azure.ai.models/go.sum | Refreshes SDK checksums. |
| cli/azd/extensions/azure.ai.models/go.mod | Aligns SDK dependencies. |
| cli/azd/extensions/azure.ai.finetune/go.sum | Refreshes SDK checksums. |
| cli/azd/extensions/azure.ai.finetune/go.mod | Aligns SDK dependencies. |
| cli/azd/extensions/azure.ai.evaluations/go.sum | Refreshes SDK checksums. |
| cli/azd/extensions/azure.ai.evaluations/go.mod | Aligns SDK dependencies; marks YAML direct. |
| cli/azd/extensions/azure.ai.dataset/go.sum | Refreshes SDK checksums. |
| cli/azd/extensions/azure.ai.dataset/go.mod | Aligns SDK dependencies. |
| cli/azd/extensions/azure.ai.connections/go.sum | Refreshes SDK checksums. |
| cli/azd/extensions/azure.ai.connections/go.mod | Aligns SDK dependencies. |
| cli/azd/dependency-versions.json | Removes resolved azcore exceptions. |
Review effort: Balanced
| github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/operationalinsights/armoperationalinsights/v2 v2.0.2 | ||
| github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcegraph/armresourcegraph v0.9.0 | ||
| github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armdeploymentstacks v1.0.1 | ||
| github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armdeploymentstacks/v2 v2.0.0 |
Replay resource-group and subscription scope provisioning/deletion without changing response fixtures or request matching. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a2092c44-0278-465f-aa49-ebd550f62710
azure.ai.connections PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-ai-connections.zip"
|
azure.appservice PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-appservice.zip"
|
azure.coding-agent PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-coding-agent.zip"
|
azure.ai.projects PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-ai-projects.zip"
|
azure.ai.finetune PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-ai-finetune.zip"
|
azure.ai.models PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-ai-models.zip"
|
azure.ai.skills PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-ai-skills.zip"
|
azure.ai.routines PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-ai-routines.zip"
|
azure.ai.toolboxes PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-ai-toolboxes.zip"
|
azure.ai.dataset PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-ai-dataset.zip"
|
azure.ai.rle PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-ai-rle.zip"
|
azure.ai.training PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-ai-training.zip"
|
azure.ai.evaluations PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10606/azure-ai-evaluations.zip"
|

Summary
Fixes #10605.
Migrate
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armdeploymentstackstogithub.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armdeploymentstacks/v2@v2.0.0in source and module requirements. This is separate from the source-change-free dependency updates in #10572.Validation
go build -mod=readonly ./...passes in core and all 18 Go extension modules.go tool mage checkDependencyVersionspasses.go test -mod=readonly ./... -shortpasses in these source-affected modules:cli/azdgit diff --checkpasses.Functional compatibility follow-up
Migrated only Deployment Stacks request URL API versions to
2025-07-01, retaining response bodies and strict request matching. Offline functional playback passes for both resource-group and subscription scope provisioning/deletion.