azure-powershell
azure-powershell copied to clipboard
Throughput bucket preview
Description
Mandatory Checklist
-
Please choose the target release of Azure PowerShell. (⚠️Target release is a different concept from API readiness. Please click below links for details.)
- [ ] General release
- [x] Public preview
- [ ] Private preview
- [ ] Engineering build
- [ ] No need for a release
-
[x] Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:
- SHOULD update
ChangeLog.mdfile(s) appropriately- Update
src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.- A snippet outlining the change(s) made in the PR should be written under the
## Upcoming Releaseheader in the past tense.
- A snippet outlining the change(s) made in the PR should be written under the
- Should not change
ChangeLog.mdif no new release is required, such as fixing test case only.
- Update
- SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
- SHOULD have proper test coverage for changes in pull request.
- SHOULD NOT adjust version of module manually in pull request
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
Hey @msJinLei Could you please help me with why the tests might be failing. I see failures where "New-AzCosmosDBLocationObject" is not found. This is not a cmdlet I have modified / removed and I still see it in the preview branch (Az.CosmosDB-preview). How can I debug this?
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
There are failed tasks: UXMetadata CmdletDiff GenertedSdk
Write-Error: Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Tools.Common.Loaders.MetadataLoader.GetModuleMetadata(String moduleName) in D:\a\_work\1\s\tools\Tools.Common\Loaders\MetadataLoader.cs:line 39
at StaticAnalysis.UXMetadataAnalyzer.UXMetadataAnalyzer.Analyze(IEnumerable`1 cmdletProbingDirs, Func`2 directoryFilter, Func`2 cmdletFilter, IEnumerable`1 modulesToAnalyze) in D:\a\_work\1\s\tools\StaticAnalysis\UXMetadataAnalyzer\UXMetadataAnalyzer.cs:line 117
at StaticAnalysis.UXMetadataAnalyzer.UXMetadataAnalyzer.Analyze(IEnumerable`1 cmdletProbingDirs, IEnumerable`1 modulesToAnalyze) in D:\a\_work\1\s\tools\StaticAnalysis\UXMetadataAnalyzer\UXMetadataAnalyzer.cs:line 71
at StaticAnalysis.Program.Main(String[] args) in D:\a\_work\1\s\tools\StaticAnalysis\Program.cs:line 189
There is an error in build
CI fails of build error
D:\a\_work\1\s\src\CosmosDB\CosmosDB\SQL\NewAzCosmosDBSqlVectorEmbedding.cs(25,62): error CS0117: 'Constants' does not contain a definition
for 'VectorEmbeddingPathHelpMessage' [D:\a\_work\1\s\src\CosmosDB\CosmosDB\CosmosDB.csproj]
D:\a\_work\1\s\src\CosmosDB\CosmosDB\SQL\NewAzCosmosDBSqlVectorEmbedding.cs(29,62): error CS0117: 'Constants' does not contain a definition for 'VectorEmbeddingDataTypeHelpMessage' [D:\a\_work\1\s\src\CosmosDB\CosmosDB\CosmosDB.csproj]
D:\a\_work\1\s\src\CosmosDB\CosmosDB\SQL\NewAzCosmosDBSqlVectorEmbedding.cs(33,62): error CS0117: 'Constants' does not contain a definition for 'VectorEmbeddingDistanceFunctionHelpMessage' [D:\a\_work\1\s\src\CosmosDB\CosmosDB\CosmosDB.csproj]
D:\a\_work\1\s\src\CosmosDB\CosmosDB\SQL\NewAzCosmosDBSqlVectorEmbedding.cs(37,62): error CS0117: 'Constants' does not contain a definition for 'VectorEmbeddingDimensionsHelpMessage' [D:\a\_work\1\s\src\CosmosDB\CosmosDB\CosmosDB.csproj]
D:\a\_work\1\s\src\CosmosDB\CosmosDB\SQL\NewAzCosmosDBSqlVectorEmbeddingPolicy.cs(26,62): error CS0117: 'Constants' does not contain a definition for 'VectorEmbeddingPolicyVectorEmbeddingHelpMessage' [D:\a\_work\1\s\src\CosmosDB\CosmosDB\CosmosDB.csproj]
D:\a\_work\1\s\src\CosmosDB\CosmosDB\SQL\NewAzCosmosDBSqlIndexingPolicy.cs(49,63): error CS0117: 'Constants' does not contain a definition for 'IndexingPolicyVectorIndexHelpMessage' [D:\a\_work\1\s\src\CosmosDB\CosmosDB\CosmosDB.csproj]
0 Warning(s)
6 Error(s)
This PR was labeled "needs-revision" because it has unresolved review comments or CI failures. Please resolve all open review comments and make sure all CI checks are green. Refer to our guide to troubleshoot common CI failures.
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp run
Azure Pipelines successfully started running 3 pipeline(s).