Skip to content

Conversation

azure-sdk
Copy link
Collaborator

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

@azure-sdk azure-sdk requested a review from a team as a code owner October 15, 2025 23:30
@azure-sdk azure-sdk requested review from Copilot and raych1 October 15, 2025 23:30
@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 Oct 15, 2025
Copy link
Contributor

@Copilot 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

Purpose: Consolidate package validation and DevOps work item update logic into functions, reduce repeated az/auth checks, and add support for supplying explicit PackageInfo files in pipelines.

  • Inlines previous Validate-Package and Update-DevOps-Release-WorkItem scripts into function calls.
  • Adds new parameters (PackageInfoFiles) and conditional processing logic for package info sources.
  • Introduces helper functions (login/access checks, work item update) and updates pipeline template to use them.

Reviewed Changes

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

File Description
eng/common/scripts/Validate-All-Packages.ps1 Refactors validation flow into functions; adds PackageInfoFiles handling and consolidated DevOps work item updates.
eng/common/scripts/Prepare-Release.ps1 Switches from external script invocation to new Update-DevOpsReleaseWorkItem function.
eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1 Adds shared login/access guard functions and encapsulates release work item update logic.
eng/common/pipelines/templates/steps/validate-all-packages.yml Updates step parameters to support both artifact list and direct PackageInfoFiles input.

@azure-sdk azure-sdk force-pushed the sync-eng/common-users/raych1/update-validat-pkg-template-12478 branch 7 times, most recently from 4023894 to 40ec2cb Compare October 16, 2025 22:39
@azure-sdk azure-sdk force-pushed the sync-eng/common-users/raych1/update-validat-pkg-template-12478 branch from 40ec2cb to b97f4a7 Compare October 17, 2025 16:45
@azure-sdk azure-sdk merged commit 502e098 into main Oct 20, 2025
17 checks passed
@azure-sdk azure-sdk deleted the sync-eng/common-users/raych1/update-validat-pkg-template-12478 branch October 20, 2025 16:50
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