azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Throughput bucket preview

Open Achint-Agrawal opened this issue 6 months ago • 19 comments

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.md and reviewed the following information:

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • 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

Achint-Agrawal avatar May 22 '25 10:05 Achint-Agrawal

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

/azp run

msJinLei avatar May 23 '25 01:05 msJinLei

Azure Pipelines successfully started running 3 pipeline(s).

azure-pipelines[bot] avatar May 23 '25 01:05 azure-pipelines[bot]

/azp run

msJinLei avatar May 23 '25 16:05 msJinLei

Azure Pipelines successfully started running 3 pipeline(s).

azure-pipelines[bot] avatar May 23 '25 16:05 azure-pipelines[bot]

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?

Achint-Agrawal avatar May 23 '25 18:05 Achint-Agrawal

/azp run

msJinLei avatar May 26 '25 16:05 msJinLei

Azure Pipelines successfully started running 3 pipeline(s).

azure-pipelines[bot] avatar May 26 '25 16:05 azure-pipelines[bot]

  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 image

msJinLei avatar May 26 '25 17:05 msJinLei

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)

msJinLei avatar May 26 '25 17:05 msJinLei

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.

github-actions[bot] avatar May 26 '25 17:05 github-actions[bot]

/azp run

msJinLei avatar May 30 '25 06:05 msJinLei

Azure Pipelines successfully started running 3 pipeline(s).

azure-pipelines[bot] avatar May 30 '25 06:05 azure-pipelines[bot]

/azp run

msJinLei avatar Jun 03 '25 02:06 msJinLei

Azure Pipelines successfully started running 3 pipeline(s).

azure-pipelines[bot] avatar Jun 03 '25 02:06 azure-pipelines[bot]

/azp run

vidai-msft avatar Jun 03 '25 05:06 vidai-msft

Azure Pipelines successfully started running 3 pipeline(s).

azure-pipelines[bot] avatar Jun 03 '25 05:06 azure-pipelines[bot]

/azp run

vidai-msft avatar Jun 09 '25 11:06 vidai-msft

Azure Pipelines successfully started running 3 pipeline(s).

azure-pipelines[bot] avatar Jun 09 '25 11:06 azure-pipelines[bot]