Skip to content

Sync eng/common directory with azure-sdk-tools for PR 13267#3407

Merged
azure-sdk merged 5 commits intomainfrom
sync-eng/common-user/raych1/set-test-pipeline-version-change-13267
Dec 9, 2025
Merged

Sync eng/common directory with azure-sdk-tools for PR 13267#3407
azure-sdk merged 5 commits intomainfrom
sync-eng/common-user/raych1/set-test-pipeline-version-change-13267

Conversation

@azure-sdk
Copy link
Collaborator

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

@azure-sdk azure-sdk requested review from Copilot and raych1 December 9, 2025 00:29
@azure-sdk azure-sdk requested a review from a team as a code owner December 9, 2025 00:29
@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 Dec 9, 2025
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

This PR syncs the eng/common directory with azure-sdk-tools PR #13267, refactoring the test pipeline versioning scripts to use a more type-safe approach. The main change replaces the ArtifactsJson string parameter with an Artifacts object array parameter, improving type safety and validation.

Key changes:

  • Replaced ArtifactsJson string parameter with strongly-typed Artifacts object array parameter
  • Added comprehensive property validation for artifact objects (checking for required name, groupId, and ServiceDirectory properties)
  • Enabled per-artifact ServiceDirectory override support, falling back to the script-level parameter

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
eng/common/scripts/SetTestPipelineVersion.ps1 Refactored to accept Artifacts object array instead of JSON string; added validation for artifact properties and ServiceDirectory handling per artifact
eng/common/pipelines/templates/steps/set-test-pipeline-version.yml Updated parameter type from string to object and modified how Artifacts are passed to the PowerShell script

@azure-sdk azure-sdk force-pushed the sync-eng/common-user/raych1/set-test-pipeline-version-change-13267 branch from b0698bc to 84a6b01 Compare December 9, 2025 00:59
@azure-sdk azure-sdk merged commit 7415778 into main Dec 9, 2025
17 checks passed
@azure-sdk azure-sdk deleted the sync-eng/common-user/raych1/set-test-pipeline-version-change-13267 branch December 9, 2025 01:40
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.

2 participants