-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[EngSys] add SDK Automation validation to dev-tool CI #36821
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
base: main
Are you sure you want to change the base?
Conversation
fc0677f to
58297e7
Compare
58297e7 to
4772b6e
Compare
There was a problem hiding this 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 adds SDK Automation validation to the dev-tool CI pipeline to prevent breaking changes to SDK automation workflows. The validation runs SDK generation against the azure-rest-api-specs repository using a sample TypeSpec configuration to ensure dev-tool changes don't break the automation process.
Key Changes:
- Added two new pipeline parameters (
SpecCommitIdandTspConfigRelativePath) for configuring SDK automation validation - Added a new
SDKAutomationjob that validates SDK generation using the spec-gen-sdk-runner tool from azure-rest-api-specs - Configured sparse checkout for both azure-rest-api-specs and azure-sdk-for-js repositories to optimize the validation process
common/tools/dev-tool/ci.yml
Outdated
| --lang azure-sdk-for-js \ | ||
| --commit ${{ parameters.SpecCommitId }} \ | ||
| --spec-repo-url https://github.com/Azure/azure-rest-api-specs \ | ||
| --tsp-config-relative-path ${{ parameters.TspConfigRelativePath }} \ |
Copilot
AI
Dec 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra whitespace in parameter reference. There are two spaces before the closing braces.
| --tsp-config-relative-path ${{ parameters.TspConfigRelativePath }} \ | |
| --tsp-config-relative-path ${{ parameters.TspConfigRelativePath }} \ |
This prevents breaking dev-tools changes to SDK automation.