Test: Azure.ResourceManager.HorizonDb scaffolding CI validation#57873
Closed
haiyuazhang wants to merge 1 commit intomainfrom
Closed
Test: Azure.ResourceManager.HorizonDb scaffolding CI validation#57873haiyuazhang wants to merge 1 commit intomainfrom
haiyuazhang wants to merge 1 commit intomainfrom
Conversation
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
0d1dae5 to
5124f8a
Compare
This was referenced Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧪 Test PR — Mgmt Scaffolding CI Validation
Purpose
This PR validates that a new management-plane TypeSpec SDK, generated with the scaffolding automation from #57875, passes all CI checks. Generated from the same spec commit (
f6e1fbd) as AutoPR #57579 for direct comparison.Scaffolding Pattern Validation
We audited 10 existing mgmt packages (old and new) to verify our scaffolding output matches real-world conventions:
ci.mgmt.ymltrigger: none,LimitForPullRequest: true, single artifact)Directory.Build.propsAssemblyInfo.csAzureResourceProviderNamespace+ 2InternalsVisibleToentriesTests.csprojCHANGELOG.md### Features Added/### Breaking Changessections)1.0.0-beta.1 (Unreleased)— all packages use this for unreleased versionsTestBase.csCreateResourceGroup(subscription, rgNamePrefix, location)withRecording.GenerateAssetName()TestEnvironment.csTestEnvironmentREADME.mdPackages audited
rgNamePrefixpatternAzureCoreTestFrameworkrgNamePrefixpatternAzureCoreTestFrameworkHow this PR was generated
This is the exact output of running
Invoke-GenerateAndBuildV2.ps1locally with the scaffolding changes from #57875 applied.1. Created an input JSON simulating an AutoPR trigger:
{ "specFolder": "C:/Users/haiyzhan/code/spec", "headSha": "f6e1fbd6268be7712bf96a516ba846f7d42e2baa", "repoHttpsUrl": "https://github.com/Azure/azure-rest-api-specs", "relatedTypeSpecProjectFolder": [ "specification/horizondb/resource-manager/Microsoft.HorizonDb/HorizonDb" ], "sdkReleaseType": "beta" }2. Ran the generation pipeline script:
3. The script executed this flow:
4. Pipeline output:
{ "packages": [{ "packageName": "Azure.ResourceManager.HorizonDb", "result": "succeeded", "version": "1.0.0-beta.1" }] }File inventory
All files in this PR were produced by the generation pipeline. No manual edits.
@azure-typespec/http-client-csharp-mgmt)src/Generated/**,.csproj,.sln,metadata.json,tsp-location.yamlNew-MgmtPackageScaffolding()ci.mgmt.yml,Directory.Build.props,README.md,CHANGELOG.md,src/Properties/AssemblyInfo.cs,tests/**eng/templates/Azure.ResourceManager.Template/Export-API.ps1(viaGeneratePackage)api/*.cs(3 files)Spec reference
specification/horizondb/resource-manager/Microsoft.HorizonDb/HorizonDbf6e1fbd6268be7712bf96a516ba846f7d42e2baa(same as AutoPR [AutoPR Azure.ResourceManager.HorizonDb]-generated-from-SDK Generation - .NET-6080418 #57579)2026-01-20-preview@azure-typespec/http-client-csharp-mgmt@1.0.0-alpha.20260403.1Expected outcome
All CI checks pass ✅, proving the scaffolding from #57875 produces a complete, CI-ready management SDK package without manual intervention.