From 44c1855e027b8778a1e2c8af494c826c93f5e2de Mon Sep 17 00:00:00 2001 From: helen229 Date: Wed, 2 Sep 2026 10:44:14 -0700 Subject: [PATCH 1/3] Rename Verify-All-Package job display name to Update-Package-WorkItems Rename the misleading job display name to reflect its true purpose. --- eng/common/pipelines/templates/steps/validate-all-packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/pipelines/templates/steps/validate-all-packages.yml b/eng/common/pipelines/templates/steps/validate-all-packages.yml index 4bcb1286738c..5232932d228a 100644 --- a/eng/common/pipelines/templates/steps/validate-all-packages.yml +++ b/eng/common/pipelines/templates/steps/validate-all-packages.yml @@ -37,7 +37,7 @@ steps: -IsReleaseBuild $$(SetAsReleaseBuild) ` -PackageInfoFiles @('${{ join(''',''', parameters.PackageInfoFiles) }}') workingDirectory: $(Pipeline.Workspace) - displayName: Validate packages and update work items + displayName: Update-Package-WorkItems continueOnError: true condition: >- and( From d08b31c8e396ba70eb337ef38b5b0b08782e7c24 Mon Sep 17 00:00:00 2001 From: helen229 Date: Wed, 2 Sep 2026 11:03:28 -0700 Subject: [PATCH 2/3] Rename Validate-All-Packages.ps1 to Update-Package-WorkItems.ps1 Rename Validate-All-Packages.ps1 to Update-Package-WorkItems.ps1 to match the renamed step and update its invocation path and doc references. --- eng/common/pipelines/templates/steps/validate-all-packages.yml | 2 +- .../{Validate-All-Packages.ps1 => Update-Package-WorkItems.ps1} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename eng/common/scripts/{Validate-All-Packages.ps1 => Update-Package-WorkItems.ps1} (99%) diff --git a/eng/common/pipelines/templates/steps/validate-all-packages.yml b/eng/common/pipelines/templates/steps/validate-all-packages.yml index 5232932d228a..893f298a1ebe 100644 --- a/eng/common/pipelines/templates/steps/validate-all-packages.yml +++ b/eng/common/pipelines/templates/steps/validate-all-packages.yml @@ -26,7 +26,7 @@ steps: scriptLocation: inlineScript # PackageInfoFiles example: @('a/file1.json','a/file2.json') inlineScript: | - $(Build.SourcesDirectory)/eng/common/scripts/Validate-All-Packages.ps1 ` + $(Build.SourcesDirectory)/eng/common/scripts/Update-Package-WorkItems.ps1 ` -ArtifactList ('${{ convertToJson(parameters.Artifacts) }}' | ConvertFrom-Json | Select-Object Name) ` -ArtifactPath ${{ parameters.ArtifactPath }} ` -RepoRoot $(Build.SourcesDirectory) ` diff --git a/eng/common/scripts/Validate-All-Packages.ps1 b/eng/common/scripts/Update-Package-WorkItems.ps1 similarity index 99% rename from eng/common/scripts/Validate-All-Packages.ps1 rename to eng/common/scripts/Update-Package-WorkItems.ps1 index b92e912601b0..d9b63b04a618 100644 --- a/eng/common/scripts/Validate-All-Packages.ps1 +++ b/eng/common/scripts/Update-Package-WorkItems.ps1 @@ -17,7 +17,7 @@ Param ( [array] $PackageInfoFiles ) -# Validate-All-Packages.ps1 folds in the code that was originally in Validate-Package.ps1 +# Update-Package-WorkItems.ps1 folds in the code that was originally in Validate-Package.ps1 # since Validate-Package.ps1 was only called from Validate-All-Packages.ps1. This replaces # script calls with function calls and also allows calling CheckAzLoginAndDevOpsExtensionInstall # and CheckDevOpsAccess once for all of the PackageInfo files being processed instead of once From 44b3c053a64f4d8fde21fba52cab1c9a82a7ade1 Mon Sep 17 00:00:00 2001 From: helen229 Date: Thu, 10 Sep 2026 13:45:09 -0700 Subject: [PATCH 3/3] Limit package work item change to display name --- .../pipelines/templates/steps/validate-all-packages.yml | 4 ++-- ...Update-Package-WorkItems.ps1 => Validate-All-Packages.ps1} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename eng/common/scripts/{Update-Package-WorkItems.ps1 => Validate-All-Packages.ps1} (99%) diff --git a/eng/common/pipelines/templates/steps/validate-all-packages.yml b/eng/common/pipelines/templates/steps/validate-all-packages.yml index 893f298a1ebe..d2fe18318fb2 100644 --- a/eng/common/pipelines/templates/steps/validate-all-packages.yml +++ b/eng/common/pipelines/templates/steps/validate-all-packages.yml @@ -26,7 +26,7 @@ steps: scriptLocation: inlineScript # PackageInfoFiles example: @('a/file1.json','a/file2.json') inlineScript: | - $(Build.SourcesDirectory)/eng/common/scripts/Update-Package-WorkItems.ps1 ` + $(Build.SourcesDirectory)/eng/common/scripts/Validate-All-Packages.ps1 ` -ArtifactList ('${{ convertToJson(parameters.Artifacts) }}' | ConvertFrom-Json | Select-Object Name) ` -ArtifactPath ${{ parameters.ArtifactPath }} ` -RepoRoot $(Build.SourcesDirectory) ` @@ -37,7 +37,7 @@ steps: -IsReleaseBuild $$(SetAsReleaseBuild) ` -PackageInfoFiles @('${{ join(''',''', parameters.PackageInfoFiles) }}') workingDirectory: $(Pipeline.Workspace) - displayName: Update-Package-WorkItems + displayName: Update Package Work Item continueOnError: true condition: >- and( diff --git a/eng/common/scripts/Update-Package-WorkItems.ps1 b/eng/common/scripts/Validate-All-Packages.ps1 similarity index 99% rename from eng/common/scripts/Update-Package-WorkItems.ps1 rename to eng/common/scripts/Validate-All-Packages.ps1 index d9b63b04a618..b92e912601b0 100644 --- a/eng/common/scripts/Update-Package-WorkItems.ps1 +++ b/eng/common/scripts/Validate-All-Packages.ps1 @@ -17,7 +17,7 @@ Param ( [array] $PackageInfoFiles ) -# Update-Package-WorkItems.ps1 folds in the code that was originally in Validate-Package.ps1 +# Validate-All-Packages.ps1 folds in the code that was originally in Validate-Package.ps1 # since Validate-Package.ps1 was only called from Validate-All-Packages.ps1. This replaces # script calls with function calls and also allows calling CheckAzLoginAndDevOpsExtensionInstall # and CheckDevOpsAccess once for all of the PackageInfo files being processed instead of once