Azure / Azure/azure-sdk-tools

[azsdk] azsdk_package_run_check runs for entire service instead of singular package

Open
#13,734 6 comments 0 reactions 0 assignees View on GitHub
AzSDK Tools Agent dev inner loop
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

When running the `azsdk_package_run_check` tool while working on a new version of the `Azure.ResourceManager.HealthDataAIService` .NET library, it says issues were found. When asked to address those issues it said that some of the issues were with the data plane library. When I asked copilot about this it said the tool runs checks on all packages for the service

Is there some requirement for all the libraries of a service to be checked together? In my case, issues with the data plane library were blocking me from continuing to work on the mgmt plane library. Copilot had to fix the data plane issues, re-run the tool, then remove the changes to the data plane library.

### Tool Input:
```json
{
"checkType": "All",
"fixCheckErrors": true,
"packagePath": "c:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.ResourceManager.HealthDataAIServices"
}
```

### Tool Output:
```
{"exit_code":1,"check_status_details":"noop\nGet-PkgProperties called with PackageName: [Azure.ResourceManager.HealthDataAIServices], ServiceDirectory: [], GroupId: []\r\ndotnet msbuild /nologo /t:GetPackageInfo \u0022C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\eng\\service.proj\u0022 /p:ServiceDirectory= /p:AddDevVersion= /p:OutputProjectInfoListFilePath=\u0022C:\\Users\\rgeraghty\\AppData\\Local\\Temp\\package-info-92f43d4c-00db-45bb-b4c0-e32721ac13a8.txt\u0022 -tl:off\r\nFound the following change log entry for version \u00271.1.0-beta.1\u0027 in [C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.ResourceManager.HealthDataAIServices\\CHANGELOG.md].\r\n-----\r\n## 1.1.0-beta.1 (Unreleased)\r\n\r\n### Features Added\r\n\r\n### Breaking Changes\r\n\r\n### Bugs Fixed\r\n\r\n### Other Changes\r\n\r\n-----\nDocWardenVersion=0.7.3\r\nSettingsPath=c:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\eng\\.docsettings.yml\r\nRepoRoot=C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\r\nScanPath=C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.ResourceManager.HealthDataAIServices\r\nInstalling setup tools and DocWarden\r\npip install setuptools wheel --quiet\r\nWARNING: Ignoring invalid distribution ~ip (C:\\Python312\\Lib\\site-packages)\r\nWARNING: Ignoring invalid distribution ~ip (C:\\Python312\\Lib\\site-packages)\r\nWARNING: Ignoring invalid distribution ~ip (C:\\Python312\\Lib\\site-packages)\r\npip install doc-warden==0.7.3 --quiet\r\nWARNING: Ignoring invalid distribution ~ip (C:\\Python312\\Lib\\site-packages)\r\nWARNING: Ignoring invalid distribution ~ip (C:\\Python312\\Lib\\site-packages)\r\n WARNING: Failed to write executable - trying to use .deleteme logic\r\nERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: \u0027C:\\\\Python312\\\\Scripts\\\\markdown2.exe\u0027 -\u003E \u0027C:\\\\Python312\\\\Scripts\\\\markdown2.exe.deleteme\u0027\r\n\r\npip install doc-warden==0.7.3 --quiet failed with exit code 1\nnoop\nnoop\nnoop\nnoop\n\u001B[31;1mCheck-AOT-Compatibility.ps1: \u001B[31;1mA positional parameter cannot be found that accepts argument \u0027c:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\eng\\scripts\\compatibility\\Check-AOT-Compatibility.ps1\u0027.\u001B[0m\nService Directory healthdataaiservices\r\nProject Directory \r\nSDK Type all\r\nRestore ./node_modules\r\n\r\nadded 1 package, and audited 2 packages in 1s\r\n\r\nfound 0 vulnerabilities\r\nForce .NET Welcome experience\r\nMSBuild version 18.0.7\u002B445250245 for .NET\r\n18.0.7.61305\r\n\r\nChecking that solutions are up to date\r\nChecking Azure.Health.Deidentification.sln\r\nChecking Azure.ResourceManager.HealthDataAIServices.sln\r\nRe-generating clients\r\nMSBuild version 18.0.7\u002B445250245 for .NET\r\n Determining projects to restore...\r\n Restored C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\core\\Azure.Core\\src\\Azure.Core.csproj (in 450 ms).\r\n Restored C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.ResourceManager.HealthDataAIServices\\src\\Azure.ResourceManager.HealthDataAIServices.csproj (in 450 ms).\r\n Restored C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\src\\Azure.Health.Deidentification.csproj (in 450 ms).\r\n Restored C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\core\\Azure.Core.TestFramework\\src\\Azure.Core.TestFramework.csproj (in 476 ms).\r\n Restored C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\Azure.Health.Deidentification.Tests.csproj (in 476 ms).\r\n Restored C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.ResourceManager.HealthDataAIServices\\tests\\Azure.ResourceManager.HealthDataAIServices.Tests.csproj (in 515 ms).\r\n 1 of 7 projects are up-to-date for restore.\r\n \r\n added 171 packages, and audited 172 packages in 9s\r\n \r\n 29 packages are looking for funding\r\n run \u0060npm fund\u0060 for details\r\n \r\n 2 vulnerabilities (1 moderate, 1 high)\r\n \r\n To address all issues, run:\r\n npm audit fix\r\n \r\n Run \u0060npm audit\u0060 for details.\r\n \r\n added 171 packages, and audited 172 packages in 10s\r\n \r\n 29 packages are looking for funding\r\n run \u0060npm fund\u0060 for details\r\n \r\n 2 vulnerabilities (1 moderate, 1 high)\r\n \r\n To address all issues, run:\r\n npm audit fix\r\n \r\n Run \u0060npm audit\u0060 for details.\r\n Determining projects to restore...\r\n All projects are up-to-date for restore.\r\n Client.Plugin -\u003E C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Client.Plugin\\Debug\\net10.0\\Client.Plugin.dll\r\n Copying output to dist path\r\n Copying output to dist path\r\n Client.Plugin.Tests -\u003E C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Client.Plugin.Tests\\Debug\\net10.0\\Client.Plugin.Tests.dll\r\n \r\n Build succeeded.\r\n 0 Warning(s)\r\n 0 Error(s)\r\n \r\n Time Elapsed 00:00:02.80\r\n Determining projects to restore...\r\n Determining projects to restore...\r\n All projects are up-to-date for restore.\r\n All projects are up-to-date for restore.\r\n Client.Plugin -\u003E C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Client.Plugin\\Debug\\net10.0\\Client.Plugin.dll\r\n Client.Plugin -\u003E C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Client.Plugin\\Debug\\net10.0\\Client.Plugin.dll\r\n Copying output to dist path\r\n Copying output to dist path\r\n Copying output to dist path\r\n Copying output to dist path\r\n Client.Plugin.Tests -\u003E C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Client.Plugin.Tests\\Debug\\net10.0\\Client.Plugin.Tests.dll\r\n \r\n Build succeeded.\r\n 0 Warning(s)\r\n 0 Error(s)\r\n \r\n Time Elapsed 00:00:04.34\r\n Client.Plugin.Tests -\u003E C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Client.Plugin.Tests\\Debug\\net10.0\\Client.Plugin.Tests.dll\r\n \r\n Build succeeded.\r\n 0 Warning(s)\r\n 0 Error(s)\r\n \r\n Time Elapsed 00:00:04.95\r\n Using output directory \u0027C:/Users/rgeraghty/Code/AzSDK-Tools-Agent-Demo/azure-sdk-for-net/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/\u0027\r\n \r\n 888 888 d8b 888 \r\n 888 888 Y8P 888 \r\n 888 888 888 \r\n 888888 .d8888b 88888b. .d8888b 888 888 .d88b. 88888b. 888888 \r\n 888 88K 888 \u002288b d88P\u0022 888 888 d8P Y8b 888 \u002288b 888 \r\n 888 \u0022Y8888b. 888 888 888888 888 888 888 88888888 888 888 888 \r\n Y88b. X88 888 d88P Y88b. 888 888 Y8b. 888 888 Y88b. \r\n \u0022Y888 88888P\u0027 88888P\u0022 \u0022Y8888P 888 888 \u0022Y8888 888 888 \u0022Y888 \r\n 888 \r\n 888 \r\n 888 \r\n \r\n 0.31.0\r\n Using output directory \u0027C:/Users/rgeraghty/Code/AzSDK-Tools-Agent-Demo/azure-sdk-for-net/sdk/healthdataaiservices/Azure.Health.Deidentification/\u0027\r\n \r\n 888 888 d8b 888 \r\n 888 888 Y8P 888 \r\n 888 888 888 \r\n 888888 .d8888b 88888b. .d8888b 888 888 .d88b. 88888b. 888888 \r\n 888 88K 888 \u002288b d88P\u0022 888 888 d8P Y8b 888 \u002288b 888 \r\n 888 \u0022Y8888b. 888 888 888888 888 888 888 88888888 888 888 888 \r\n Y88b. X88 888 d88P Y88b. 888 888 Y8b. 888 888 Y88b. \r\n \u0022Y888 88888P\u0027 88888P\u0022 \u0022Y8888P 888 888 \u0022Y8888 888 888 \u0022Y888 \r\n 888 \r\n 888 \r\n 888 \r\n \r\n 0.31.0\r\n Found emitter package @azure-typespec/http-client-csharp@1.0.0-alpha.20260126.1\r\n Skipping creation of tsp-client-metadata.yaml file.\r\n Installing dependencies from npm...\r\n Found emitter package @azure-typespec/http-client-csharp-mgmt@1.0.0-alpha.20260123.1\r\n Skipping creation of tsp-client-metadata.yaml file.\r\n Installing dependencies from npm...\r\n \r\n added 105 packages, and audited 106 packages in 8s\r\n \r\n 22 packages are looking for funding\r\n run \u0060npm fund\u0060 for details\r\n \r\n found 0 vulnerabilities\r\n \u0027grep\u0027 is not recognized as an internal or external command,\r\n operable program or batch file.\r\n Resolved path: C:/Users/rgeraghty/Code/AzSDK-Tools-Agent-Demo/azure-sdk-for-net/sdk/healthdataaiservices/Azure.Health.Deidentification/TempTypeSpecFiles/node_modules/@typespec/compiler\r\n \r\n added 108 packages, and audited 109 packages in 9s\r\n \r\n 22 packages are looking for funding\r\n run \u0060npm fund\u0060 for details\r\n \r\n found 0 vulnerabilities\r\n Compiling tsp using @azure-typespec/http-client-csharp...\r\n \u0027grep\u0027 is not recognized as an internal or external command,\r\n operable program or batch file.\r\n Resolved path: C:/Users/rgeraghty/Code/AzSDK-Tools-Agent-Demo/azure-sdk-for-net/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/TempTypeSpecFiles/node_modules/@typespec/compiler\r\n Compiling tsp using @azure-typespec/http-client-csharp-mgmt...\r\n Diagnostics were reported during compilation. Use the \u0060--debug\u0060 flag to see if there is warning diagnostic output.\r\n generation complete\r\n Diagnostics were reported during compilation. Use the \u0060--debug\u0060 flag to see if there is warning diagnostic output.\r\n generation complete\r\nRe-generating snippets\r\nTool \u0027azure.sdk.tools.snippetgenerator\u0027 (version \u00271.0.0-dev.20241213.1\u0027) was restored. Available commands: snippet-generator\r\nTool \u0027dotnet-reportgenerator-globaltool\u0027 (version \u00274.8.0\u0027) was restored. Available commands: reportgenerator\r\nTool \u0027azure.sdk.tools.testproxy\u0027 (version \u00271.0.0-dev.20251209.1\u0027) was restored. Available commands: test-proxy\r\n\r\nRestore was successful.\r\nDiscovered snippets:\r\n Snippet:AzHealthDeidSample1_DemonstrateCredential in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample1_HelloWorld.cs\r\n Snippet:AzHealthDeidSample1_HelloWorld in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample1_HelloWorld.cs\r\n Snippet:AzHealthDeidSample1_CreateRequest in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample1_HelloWorld.cs\r\n Snippet:AzHealthDeidSample1Async_HelloWorld in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample1_HelloWorldAsync.cs\r\n Snippet:AzHealthDeidSample1Async_CreateRequest in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample1_HelloWorldAsync.cs\r\n Snippet:AzHealthDeidSample2_CreateJob in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample2_CreateAndRunJob.cs\r\n Snippet:AzHealthDeidSample2Async_CreateJob in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample2_CreateAndRunJobAsync.cs\r\n Snippet:AzHealthDeidSample3_ListJobs in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample3_ListJobs.cs\r\n Snippet:AzHealthDeidSample3Async_ListJobs in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample3_ListJobsAsync.cs\r\n Snippet:AzHealthDeidSample4_ListCompletedFiles in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample4_ListCompletedFiles.cs\r\n Snippet:AzHealthDeidSample4Async_ListCompletedFiles in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample4_ListCompletedFilesAsync.cs\r\n Snippet:AzHealthDeidSample5_SurrogateOnly in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample5_SurrogateOnly.cs\r\n Snippet:AzHealthDeidSample5_SurrogateOnlyAsync in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\tests\\samples\\Sample5_SurrogateOnlyAsync.cs\r\nReplaced Snippet:AzHealthDeidSample1_DemonstrateCredential in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\README.md\r\nReplaced Snippet:AzHealthDeidSample1_HelloWorld in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\README.md\r\nReplaced Snippet:AzHealthDeidSample1_CreateRequest in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\README.md\r\nReplaced Snippet:AzHealthDeidSample2_CreateJob in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\README.md\r\nReplaced Snippet:AzHealthDeidSample1_HelloWorld in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample1_HelloWorld.md\r\nReplaced Snippet:AzHealthDeidSample1_CreateRequest in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample1_HelloWorld.md\r\nReplaced Snippet:AzHealthDeidSample1Async_HelloWorld in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample1_HelloWorldAsync.md\r\nReplaced Snippet:AzHealthDeidSample1Async_CreateRequest in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample1_HelloWorldAsync.md\r\nReplaced Snippet:AzHealthDeidSample2_CreateJob in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample2_CreateJob.md\r\nReplaced Snippet:AzHealthDeidSample2Async_CreateJob in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample2_CreateJobAsync.md\r\nReplaced Snippet:AzHealthDeidSample3_ListJobs in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample3_ListJobs.md\r\nReplaced Snippet:AzHealthDeidSample3Async_ListJobs in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample3_ListJobsAsync.md\r\nReplaced Snippet:AzHealthDeidSample4_ListCompletedFiles in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample4_ListCompletedFiles.md\r\nReplaced Snippet:AzHealthDeidSample4Async_ListCompletedFiles in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample4_ListCompletedFilesAsync.md\r\nReplaced Snippet:AzHealthDeidSample5_SurrogateOnly in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample5_SurrogateOnly.md\r\nReplaced Snippet:AzHealthDeidSample5_SurrogateOnlyAsync in C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\samples\\Sample5_SurrogateOnlyAsync.md\r\n\r\nSnippetGenerator completed in 00:00:00.5196075\r\nRe-generating listings\r\n\u003E dotnet build /t:ExportApi /p:RunApiCompat=false /p:InheritDocEnabled=false /p:GeneratePackageOnBuild=false /p:Configuration=Release /p:IncludeSamples=false /p:IncludePerf=false /p:IncludeStress=false /p:IncludeTests=false /p:Scope=\u0022healthdataaiservices\u0022 /p:SDKType=all /restore C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\eng\\service.proj \r\n Determining projects to restore...\r\n Restored C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.ResourceManager.HealthDataAIServices\\src\\Azure.ResourceManager.HealthDataAIServices.csproj (in 538 ms).\r\n Restored C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification\\src\\Azure.Health.Deidentification.csproj (in 538 ms).\r\n 1 of 3 projects are up-to-date for restore.\r\n Azure.Health.Deidentification -\u003E C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Azure.Health.Deidentification\\Release\\netstandard2.0\\Azure.Health.Deidentification.dll\r\n Azure.ResourceManager.HealthDataAIServices -\u003E C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Azure.ResourceManager.HealthDataAIServices\\Release\\netstandard2.0\\Azure.ResourceManager.HealthDataAIServices.dll\r\n Azure.Health.Deidentification -\u003E C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Azure.Health.Deidentification\\Release\\net8.0\\Azure.Health.Deidentification.dll\r\n Azure.ResourceManager.HealthDataAIServices -\u003E C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Azure.ResourceManager.HealthDataAIServices\\Release\\net8.0\\Azure.ResourceManager.HealthDataAIServices.dll\r\n Generated reference assembly source code: C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.ResourceManager.HealthDataAIServices/api/Azure.ResourceManager.HealthDataAIServices.netstandard2.0.cs\r\n Generated reference assembly source code: C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification/api/Azure.Health.Deidentification.netstandard2.0.cs\r\n Generated reference assembly source code: C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.ResourceManager.HealthDataAIServices/api/Azure.ResourceManager.HealthDataAIServices.net8.0.cs\r\n Azure.Health.Deidentification -\u003E c:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Azure.Health.Deidentification\\Release\\net10.0\\Azure.Health.Deidentification.dll\r\n Generated reference assembly source code: C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification/api/Azure.Health.Deidentification.net8.0.cs\r\n Azure.ResourceManager.HealthDataAIServices -\u003E C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\artifacts\\bin\\Azure.ResourceManager.HealthDataAIServices\\Release\\net10.0\\Azure.ResourceManager.HealthDataAIServices.dll\r\n Generated reference assembly source code: C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.Health.Deidentification/api/Azure.Health.Deidentification.net10.0.cs\r\n Generated reference assembly source code: C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net\\sdk\\healthdataaiservices\\Azure.ResourceManager.HealthDataAIServices/api/Azure.ResourceManager.HealthDataAIServices.net10.0.cs\r\n\r\nBuild succeeded.\r\n 0 Warning(s)\r\n 0 Error(s)\r\n\r\nTime Elapsed 00:00:14.36\r\nCommand succeeded (00:00:14.8035362)\r\n\r\nNormalizing line endings in API listing files\r\nSpell check public API surface\r\nFound 6 public API surface files to spell check.\r\n\r\nadded 110 packages, and audited 111 packages in 3s\r\n\r\n14 packages are looking for funding\r\n run \u0060npm fund\u0060 for details\r\n\r\nfound 0 vulnerabilities\r\nnpm --prefix C:\\Users\\rgeraghty\\AppData\\Local\\Temp\\cspell-tool-path exec --no -- cspell lint --config ./.vscode/cspell.json --no-must-find-files --root C:\\Users\\rgeraghty\\Code\\AzSDK-Tools-Agent-Demo\\azure-sdk-for-net --file-list stdin\r\n1/1 sdk/healthdataaiservices/Azure.Health.Deidentification/api/Azure.Health.Deidentification.net10.0.cs 880.15ms\r\n2/2 sdk/healthdataaiservices/Azure.Health.Deidentification/api/Azure.Health.Deidentification.net8.0.cs 66.47ms\r\n3/3 sdk/healthdataaiservices/Azure.Health.Deidentification/api/Azure.Health.Deidentification.netstandard2.0.cs 35.23ms\r\n4/4 sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/api/Azure.ResourceManager.HealthDataAIServices.net10.0.cs 30.38ms\r\n5/5 sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/api/Azure.ResourceManager.HealthDataAIServices.net8.0.cs 38.11ms\r\n6/6 sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/api/Azure.ResourceManager.HealthDataAIServices.netstandard2.0.cs 31.43ms\r\nCSpell: Files checked: 6, Issues found: 0 in 0 files.\r\nCleaning up package install cache at C:\\Users\\rgeraghty\\AppData\\Local\\Temp\\cspell-tool-path\r\nValidating installation instructions\r\ngit diff\r\ndiff --git a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/tsp-location.yaml b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/tsp-location.yaml\r\nindex 3197fc9648c..322030078cd 100644\r\n--- a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/tsp-location.yaml\r\n\u002B\u002B\u002B b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/tsp-location.yaml\r\n@@ -1,4 \u002B1,6 @@\r\n directory: specification/healthdataaiservices/HealthDataAIServices.Management\r\n commit: 18651ab2460e0874397f3597b91dcc00cb4ca7bc\r\n repo: Azure/azure-rest-api-specs\r\n-emitterPackageJsonPath: \u0022eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json\u0022\r\n\u002BadditionalDirectories: \r\n\u002B\r\n\u002BemitterPackageJsonPath: eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json\r\n\\ No newline at end of file\r\nerror: Generated code is not up to date.\r\n You may need to rebase on the latest main, \r\n run \u0027eng\\scripts\\Update-Snippets.ps1 healthdataaiservices\u0027 if you modified sample snippets or other *.md files (https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#updating-sample-snippets), \r\n run \u0027eng\\scripts\\Export-API.ps1 healthdataaiservices\u0027 if you changed public APIs (https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#public-api-additions). \r\n run \u0027dotnet build /t:GenerateCode\u0027 to update the generated code and samples.\r\n \r\nTo reproduce this error locally, run \u0027eng\\scripts\\CodeChecks.ps1 -ServiceDirectory healthdataaiservices\u0027.\r\n\r\nSummary:\r\n\r\n 1 error(s)\r\n\r\nerror : Generated code is not up to date.\r\n You may need to rebase on the latest main, \r\n run \u0027eng\\scripts\\Update-Snippets.ps1 healthdataaiservices\u0027 if you modified sample snippets or other *.md files (https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#updating-sample-snippets), \r\n run \u0027eng\\scripts\\Export-API.ps1 healthdataaiservices\u0027 if you changed public APIs (https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#public-api-additions). \r\n run \u0027dotnet build /t:GenerateCode\u0027 to update the generated code and samples.\r\n \r\nTo reproduce this error locally, run \u0027eng\\scripts\\CodeChecks.ps1 -ServiceDirectory healthdataaiservices\u0027.\nnoop","language":"DotNet","package_name":"Azure.ResourceManager.HealthDataAIServices","version":"1.1.0-beta.1","package_type":"Management","response_error":"Some checks failed","next_steps":["Failed checks: README, AOT Compatibility, Generated Code","Address the issues identified above before proceeding with package release.","Re-run the package checks after making corrections to verify all issues are resolved."],"operation_status":"Failed"}
```

### Copilot's workaround:

> The check still shows issues. The main problem is with the tsp-location.yaml file format change. The fix tool regenerated the code but the diff still shows the tsp-location.yaml file has formatting changes that need to be committed.

> Let me check what the current state of the file is and just commit the changes as they are valid generated output:

`git add sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/tsp-location.yaml; git status`
> I see there are additional changes from the Azure.Health.Deidentification package (the data-plane package) that got modified during the code checks. Let me restore those files since they're unrelated to our management plane SDK changes:

`git restore sdk/healthdataaiservices/Azure.Health.Deidentification/`
`git status`
> Now let me commit this file format change and then run the checks again:

`git commit -m "Update tsp-location.yaml formatting"`
> Now let's run the checks again to verify the generated code is now up to date:

> The Generated Code Checks passed with 0 errors! Now let me clean up the unrelated changes to the data-plane package again and check the final status:

`git restore sdk/healthdataaiservices/Azure.Health.Deidentification/; git status`

## Proposed Change:
If all libraries of a service are not required to be tested together, then the `azsdk_package_run_check` tool should only run checks for the package being worked on.

Contributor guide

Open the contributing guide

Research direction

Start at the azsdk_package_run_check entry point and trace how the packagePath for Azure.ResourceManager.HealthDataAIServices is passed to eng/service.proj. Confirm why the service-level checks include Azure.Health.Deidentification, then make the check scope honor the singular package path; done means data-plane issues no longer block the management-plane package check.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, devtools, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.