Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sdk generation pipeline] fix for data-plane SDK #40284

Merged
merged 1 commit into from
Mar 31, 2025
Merged

Conversation

msyyc
Copy link
Member

@msyyc msyyc commented Mar 31, 2025

fix SDK generation failure for Azure/azure-rest-api-specs#33135

@Copilot Copilot bot review requested due to automatic review settings March 31, 2025 07:38
@msyyc msyyc requested review from scbedd and mccoyp as code owners March 31, 2025 07:38
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

This PR addresses issues in the SDK generation pipeline with a focus on the data-plane SDK. The change adds a conditional check before calling check_file to handle packages based on their name.

  • Added a condition to only call check_file for packages with names starting with "azure-mgmt-".
Comments suppressed due to low confidence (1)

tools/azure-sdk-tools/packaging_tools/sdk_package.py:103

  • The variable 'package_name' is used but is not defined within this scope. It may be intended to use an existing variable or extract the package name from 'package'.
if package_name.startswith("azure-mgmt-"):

@msyyc
Copy link
Member Author

msyyc commented Mar 31, 2025

/check-enforcer override

@msyyc msyyc merged commit 25d9d1c into main Mar 31, 2025
15 of 20 checks passed
@msyyc msyyc deleted the fix-sdk-generation-2025 branch March 31, 2025 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants