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

Copilot AI review requested due to automatic review settings November 21, 2025 18:31
@azure-sdk azure-sdk requested a review from a team as a code owner November 21, 2025 18:31
@azure-sdk azure-sdk requested a review from raych1 November 21, 2025 18:31
@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 syncs the eng/common directory with azure-sdk-tools PR #13009. The changes improve the handling of the PackageInfoFiles parameter in API review and package validation workflows by filtering out empty or whitespace entries and providing more descriptive error messages.

Key Changes:

  • Added filtering logic to remove empty/whitespace entries from PackageInfoFiles arrays in PowerShell scripts
  • Improved error messages to guide users when PackageInfoFiles contains only empty entries
  • Changed YAML parameter passing from JSON conversion to direct array construction using join

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 Added filtering for empty PackageInfoFiles entries and improved error message
eng/common/scripts/Create-APIReview.ps1 Added filtering for empty PackageInfoFiles entries and improved error message
eng/common/pipelines/templates/steps/validate-all-packages.yml Changed PackageInfoFiles parameter passing from JSON conversion to array join syntax
eng/common/pipelines/templates/steps/create-apireview.yml Changed PackageInfoFiles parameter passing from JSON conversion to array join syntax

@azure-sdk azure-sdk merged commit 69f545b into main Nov 21, 2025
22 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