Skip to content

Conversation

@danieljurek
Copy link
Member

@danieljurek danieljurek commented Dec 4, 2025

Get-GetAllPackageInfoFromRepo returns an empty array if no packages are publishable. This means there are no packages in the service to build and test which causes an error.

To fix: set publish = true in the azure_messaging_servicebus Cargo.toml file.

Example build: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5638463&view=logs&j=8be16720-14eb-5bbb-1134-7a8b2c5000bc&t=98f58421-5e68-5db5-4107-79c932a43ba0

@danieljurek danieljurek self-assigned this Dec 4, 2025
Copilot AI review requested due to automatic review settings December 4, 2025 18:06
@danieljurek danieljurek moved this from 🤔 Triage to 🔬 Dev in PR in Azure SDK EngSys 🍔🌭 Dec 4, 2025
Copilot finished reviewing on behalf of danieljurek December 4, 2025 18:12
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 fixes a build and test pipeline issue where the servicebus package was being excluded from automation due to having publish = false in its Cargo.toml, causing the pipeline to fail when no publishable packages were found in the service directory.

Key Changes:

  • Changed publish = false to publish = true in the servicebus Cargo.toml to make the package discoverable by the build system
  • Added defensive error handling in the PowerShell script to log when no publishable packages are found
  • Cleaned up trailing whitespace in the PowerShell script

Reviewed changes

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

File Description
sdk/servicebus/azure_messaging_servicebus/Cargo.toml Changed package from non-publishable to publishable, allowing it to be included in build and test pipelines
eng/scripts/Language-Settings.ps1 Added error logging when no publishable packages are found and removed trailing whitespace

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔬 Dev in PR

Development

Successfully merging this pull request may close these issues.

4 participants