Skip to content

Conversation

@azure-sdk
Copy link
Collaborator

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

@azure-sdk azure-sdk requested a review from a team as a code owner November 21, 2025 18:32
@azure-sdk azure-sdk requested review from Copilot and raych1 November 21, 2025 18:32
@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 Nov 21, 2025
Copilot finished reviewing on behalf of azure-sdk November 21, 2025 18:33
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 synchronizes the eng/common directory with azure-sdk-tools PR 13009, adding defensive handling for empty or whitespace-only entries in the PackageInfoFiles parameter.

Key Changes:

  • Adds filtering to remove empty/whitespace entries from PackageInfoFiles arrays in PowerShell scripts
  • Updates YAML parameter passing from JSON conversion to array syntax using join
  • Enhances error messages to clarify when PackageInfoFiles contains only empty entries

Reviewed changes

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

File Description
eng/common/scripts/Validate-All-Packages.ps1 Adds filtering for empty strings in PackageInfoFiles parameter and updates error message
eng/common/scripts/Create-APIReview.ps1 Adds filtering for empty strings in PackageInfoFiles parameter and updates error message
eng/common/pipelines/templates/steps/validate-all-packages.yml Changes PackageInfoFiles parameter passing from JSON conversion to array syntax
eng/common/pipelines/templates/steps/create-apireview.yml Changes PackageInfoFiles parameter passing from JSON conversion to array syntax

@azure-sdk azure-sdk merged commit 360e300 into main Nov 21, 2025
28 checks passed
@azure-sdk azure-sdk deleted the sync-eng/common-users/raych1/fixed-JSON-parse-err-13009 branch November 21, 2025 19:31
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