Skip to content

Sync eng/common directory with azure-sdk-tools for PR 14196#48146

Open
azure-sdk wants to merge 1 commit intomainfrom
sync-eng/common-benbp/delete-storage-sync-14196
Open

Sync eng/common directory with azure-sdk-tools for PR 14196#48146
azure-sdk wants to merge 1 commit intomainfrom
sync-eng/common-benbp/delete-storage-sync-14196

Conversation

@azure-sdk
Copy link
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#14196 See eng/common workflow

Copilot AI review requested due to automatic review settings February 26, 2026 22:35
@azure-sdk azure-sdk requested a review from a team as a code owner February 26, 2026 22:35
@azure-sdk azure-sdk requested a review from benbp February 26, 2026 22:35
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Feb 26, 2026
Copy link
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

Syncs eng/common PowerShell tooling with the corresponding changes in azure-sdk-tools PR 14196, primarily updating test resource subscription selection and improving cleanup behavior for resource groups that can get “stuck” due to Storage Sync resources.

Changes:

  • Add cleanup helper to delete Storage Sync Services (and dependent sync groups/endpoints) prior to resource group deletion.
  • Update default “well-known” subscription selection to prefer Azure SDK Test Resources - TME and suppress Az subscription selection warnings.
  • Add explicit Az module requirements needed by the enhanced cleanup flow.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
eng/common/scripts/Helpers/Resource-Helpers.ps1 Adds Remove-StorageSyncServices helper to remove Storage Sync resources that block RG deletion.
eng/common/TestResources/Update-TestResources.ps1 Updates default subscription selection and warning suppression (but includes a regression in subscription restore logic).
eng/common/TestResources/Remove-TestResources.ps1 Adds Az module requirements, updates default subscription selection, and invokes Storage Sync cleanup before RG deletion.

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

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants