Skip to content

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

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#44329
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 a review from a team as a code owner December 9, 2025 00:29
@azure-sdk azure-sdk requested review from Copilot and raych1 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 how artifacts are passed to the test pipeline version setting script. The change modernizes the approach from JSON string parsing to structured object handling.

Key Changes:

  • Replaced string-based ArtifactsJson parameter with typed Artifacts object array for better type safety and cleaner API design
  • Enhanced validation logic to support per-artifact ServiceDirectory property, allowing more flexible configuration
  • Improved error handling with more granular validation of artifact properties (name, groupId, ServiceDirectory)

Reviewed changes

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

File Description
eng/common/scripts/SetTestPipelineVersion.ps1 Refactored to accept structured Artifacts array instead of JSON string; added per-artifact ServiceDirectory support and enhanced validation logic
eng/common/pipelines/templates/steps/set-test-pipeline-version.yml Updated parameter type from string to object and modified parameter passing to use JSON conversion for the Artifacts parameter

@azure-sdk azure-sdk force-pushed the sync-eng/common-user/raych1/set-test-pipeline-version-change-13267 branch from 0472035 to 442811d Compare December 9, 2025 00:58
@azure-sdk azure-sdk merged commit afa009c into main Dec 9, 2025
16 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