Skip to content

Conversation

@raych1
Copy link
Member

@raych1 raych1 commented Nov 26, 2025

Fixed #12507

Key Changes:

  • added a new function to return full package name
  • pass through the groupId when dealing with the dev ops work item
  • updated Get-PkgProperties to match both of the name and groupId if Group exists

Copilot AI review requested due to automatic review settings November 26, 2025 00:40
@raych1 raych1 requested a review from a team as a code owner November 26, 2025 00:40
@raych1 raych1 self-assigned this Nov 26, 2025
@raych1 raych1 requested a review from weshaggard November 26, 2025 00:41
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 enhances package identification for Java packages by using the full package name (groupId+artifactName) in DevOps work items and related operations.

Key changes:

  • Introduces Get-FullPackageName function to return full package names with proper format for different contexts
  • Updates Get-PkgProperties to filter by both package name and GroupId when GroupId is provided
  • Adds GroupId parameter handling across multiple scripts for consistent Java package identification

Reviewed changes

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

Show a summary per file
File Description
eng/common/scripts/Verify-ChangeLog.ps1 Adds GroupId parameter and passes it to Get-PkgProperties for proper package filtering
eng/common/scripts/Validate-All-Packages.ps1 Uses Get-FullPackageName to ensure correct package names in DevOps work items and validation outputs
eng/common/scripts/Update-ChangeLog.ps1 Adds GroupId parameter support for consistent package identification
eng/common/scripts/Prepare-Release.ps1 Adds GroupId prompting for Java packages and uses full package names in API review and DevOps updates, fixes typo in prompt message
eng/common/scripts/Package-Properties.ps1 Enhances Get-PkgProperties to filter by GroupId when provided for accurate package matching
eng/common/scripts/Helpers/Package-Helpers.ps1 Introduces Get-FullPackageName helper function with support for different separator formats
eng/common/pipelines/templates/steps/verify-changelog.yml Adds GroupId parameter to YAML template for pipeline consistency
Comments suppressed due to low confidence (1)

eng/common/scripts/Validate-All-Packages.ps1:199

  • Line 199 assigns $pkgName to $fullPackageName but this value is immediately overwritten on line 205. This line serves no purpose and should be removed to improve code clarity.
    $fullPackageName = $pkgName

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@raych1 raych1 moved this from 🤔 Triage to 🔬 Dev in PR in Azure SDK EngSys 📆🎇 Nov 26, 2025
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@raych1
Copy link
Member Author

raych1 commented Dec 10, 2025

/azp run azure-sdk-tools - sync - eng-common

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

azure-sdk added a commit to Azure/azure-sdk-for-js that referenced this pull request Dec 10, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#13076 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: ray chen <raychen@microsoft.com>
azure-sdk added a commit to Azure/azure-sdk-for-rust that referenced this pull request Dec 10, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#13076 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: ray chen <raychen@microsoft.com>
@raych1 raych1 enabled auto-merge (squash) December 10, 2025 21:00
@raych1 raych1 merged commit adb6c72 into main Dec 10, 2025
12 checks passed
@raych1 raych1 deleted the users/raych1/work-item-update branch December 10, 2025 21:04
@benbp benbp moved this from 🔬 Dev in PR to 🎊 Closed in Azure SDK EngSys 📆🎇 Dec 11, 2025
JiaqiZhang-Dev pushed a commit that referenced this pull request Dec 22, 2025
* Used full pkg name in release work items

* Used full pkg name for dev ops work item

* Added test

* Pass in package info file path

* Reverted changes to verify-changelog.yml and script

* Updated script to process groupId in work items

* Renamed new property to GroupId

* Removed the condition  check for Group

* Build hash key with non-null arguments

* Used the original BuildHashKey to return hash from non-null args
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Update scripts of processing release plan work items to use full name for Java libraries

3 participants