Skip to content

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

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#9461
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

Copilot AI review requested due to automatic review settings December 9, 2025 00:27
@azure-sdk azure-sdk requested a review from a team as a code owner December 9, 2025 00:27
@azure-sdk azure-sdk requested a review from raych1 December 9, 2025 00:27
@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 for PR 13267, refactoring the test pipeline version setting mechanism to use strongly-typed object arrays instead of JSON strings for artifact handling.

Key Changes:

  • Replaced ArtifactsJson string parameter with Artifacts object array parameter for better type safety
  • Added explicit artifact property validation with detailed error messages
  • Introduced per-artifact ServiceDirectory support with fallback to script-level parameter
  • Improved error handling with more specific and actionable error messages

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 from JSON string parsing to object array processing with enhanced validation for artifact properties (name, ServiceDirectory, groupId)
eng/common/pipelines/templates/steps/set-test-pipeline-version.yml Updated parameter type from string to object and modified argument passing to use PowerShell array syntax with JSON conversion

@azure-sdk azure-sdk force-pushed the sync-eng/common-user/raych1/set-test-pipeline-version-change-13267 branch from 6bf4424 to ad4c8e8 Compare December 9, 2025 00:56
@azure-sdk azure-sdk merged commit 80d1aee into main Dec 9, 2025
3 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