Skip to content

[azsdkcli] update snippets#11997

Merged
l0lawrence merged 3 commits into
Azure:mainfrom
l0lawrence:morechecks
Sep 9, 2025
Merged

[azsdkcli] update snippets#11997
l0lawrence merged 3 commits into
Azure:mainfrom
l0lawrence:morechecks

Conversation

@l0lawrence
Copy link
Copy Markdown
Member

No description provided.

@github-actions github-actions Bot added the azsdk-cli Issues related to Azure/azure-sdk-tools::tools/azsdk-cli label Sep 8, 2025
…anguageSpecificChecks.cs

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
@l0lawrence l0lawrence marked this pull request as ready for review September 9, 2025 17:35
Copilot AI review requested due to automatic review settings September 9, 2025 17:35
Copy link
Copy Markdown
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 snippet update functionality to the Azure SDK CLI package checking tool. The changes enable users to run snippet validation/update operations on SDK packages through the existing CLI interface.

  • Adds new Snippets check type to the PackageCheckType enum
  • Implements snippet update functionality across all language-specific check implementations
  • Updates the tool interface to include snippet checking in the "All" checks workflow

Reviewed Changes

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

Show a summary per file
File Description
PackageCheckTool.cs Adds Snippets support to the main package check tool with new handler method and updated description
PythonLanguageSpecificChecks.cs Implements Python-specific snippet update using python_snippet_updater.py script
LanguageChecks.cs Adds UpdateSnippetsAsync interface method and delegates to language-specific implementations
JavaScriptLanguageSpecificChecks.cs Adds stub implementation for JavaScript snippet updates
JavaLanguageSpecificChecks.cs Adds stub implementation for Java snippet updates
ILanguageSpecificChecks.cs Defines the UpdateSnippetsAsync interface contract
GoLanguageSpecificChecks.cs Adds stub implementation for Go snippet updates
DotNetLanguageSpecificChecks.cs Adds stub implementation for .NET snippet updates
PackageCheckType.cs Adds Snippets enum value for the new check type
CheckAllToolTests.cs Updates tests to include the new Snippets check type

@l0lawrence l0lawrence merged commit 43bb922 into Azure:main Sep 9, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azsdk-cli Issues related to Azure/azure-sdk-tools::tools/azsdk-cli

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants