Skip to content

Conversation

@jeremymeng
Copy link
Member

This prevents breaking dev-tools changes to SDK automation.

@github-actions github-actions bot added the dev-tool Issues related to the Azure SDK for JS dev-tool label Dec 5, 2025
@jeremymeng jeremymeng force-pushed the engsys/sdk-automation-ci branch 5 times, most recently from fc0677f to 58297e7 Compare December 5, 2025 20:36
@jeremymeng jeremymeng force-pushed the engsys/sdk-automation-ci branch from 58297e7 to 4772b6e Compare December 5, 2025 21:24
@jeremymeng jeremymeng marked this pull request as ready for review December 5, 2025 22:18
Copilot AI review requested due to automatic review settings December 5, 2025 22:18
@jeremymeng
Copy link
Member Author

@skywing918

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 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 (SpecCommitId and TspConfigRelativePath) for configuring SDK automation validation
  • Added a new SDKAutomation job 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

--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 }} \
Copy link

Copilot AI Dec 5, 2025

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.

Suggested change
--tsp-config-relative-path ${{ parameters.TspConfigRelativePath }} \
--tsp-config-relative-path ${{ parameters.TspConfigRelativePath }} \

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev-tool Issues related to the Azure SDK for JS dev-tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant