Skip to content

Add script to validate existence of E2E prompt tool. Update const used in ToolListCommand#3034

Open
conniey wants to merge 8 commits into
microsoft:mainfrom
conniey:add-folder-metadata
Open

Add script to validate existence of E2E prompt tool. Update const used in ToolListCommand#3034
conniey wants to merge 8 commits into
microsoft:mainfrom
conniey:add-folder-metadata

Add new-line

180262f
Select commit
Loading
Failed to load commit list.
Azure Pipelines / mcp - pullrequest failed Jul 14, 2026 in 54m 12s

Build #20260714.7 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 30,092 (98.38%)
  • Other: 495 (1.62%)
  • Total: 30,588
Code coverage

  • 4907 of 233139 line covered (2.10%)

Annotations

Check failure on line 23849 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mcp - pullrequest

Build log #L23849

PowerShell exited with code '1'.

Check failure on line 1 in Azure.Mcp.Tools.Cosmos.Tests.CosmosCommandTests.Should_show_single_item_from_cosmos_account

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mcp - pullrequest

Azure.Mcp.Tools.Cosmos.Tests.CosmosCommandTests.Should_show_single_item_from_cosmos_account

Property 'items' not found. Full element: '{"message":"{\u0022Message\u0022:\u0022Unable to find a record for the request GET https://Sanitized.documents.azure.com/\\nUri doesn\\u0027t match:\\n    request \\u003Chttps://Sanitized.documents.azure.com/\\u003E\\n    record  \\u003Chttps://Sanitized.documents.azure.com/dbs/ToDoList/colls/VectorItems\\u003E\\nHeader differences:\\n    \\u003Cx-ms-activity-id\\u003E is absent in request, value \\u003C40e54ef1-e1ea-4a5b-aada-9c3814dc5ba2\\u003E\\n    \\u003Cx-ms-date\\u003E is absent in request, value \\u003CWed, 27 May 2026 05:51:41 GMT\\u003E\\nBody differences:\\nRemaining Entries:\\n0: https://Sanitized.documents.azure.com/dbs/ToDoList/colls/VectorItems\\n1: https://Sanitized.documents.azure.com/dbs/ToDoList/colls/VectorItems/docs\\n2: https://Sanitized.documents.azure.com/dbs/4AIhAA==/colls/4AIhAOM69Xg=/pkranges\\n3: https://Sanitized.documents.azure.com/dbs/4AIhAA==/colls/4AIhAOM69Xg=/pkranges\\n4: https://Sanitized.documents.azure.com/dbs/ToDoList/colls/VectorItems/docs\\n\u0022,\u0022Status\u0022:\u0022NotFound\u0022}\nRequestUri: http://127.0.0.1:49660/;\nRequestMethod: GET;\nHeader: Authorization Length: 40;\nHeader: User-Agent Length: 152;\nHeader: Cache-Control Length: 8;\nHeader: x-ms-version Length: 10;\nHeader: x-ms-cosmos-sdk-supportedcapabilities Length: 1;\nHeader: Accept Length: 16;\nHeader: x-recording-upstream-base-uri Length: 38;\n\nActivityId: 39b9391c-cdc6-476f-9c3d-6ea2fca204ed, Request URI: /, RequestStats: , SDK: Darwin/10.20 cosmos-netstandard-sdk/3.18.0","stackTrace":"   at Microsoft.Azure.Cosmos.GatewayStoreClient.ParseResponseAsync(HttpResponseMessage responseMessage, JsonSerializerOptions serializerSettings, DocumentServiceRequest request)\n   at Microsoft.Azure.Cosmos.GatewayStoreModel.GetDatabaseAccountAsync(Func\u00601 requestMessage, IClientSideRequestStatistics clientSideRequestStatistics, CancellationToken cancellationToken)\n   at Microsoft.Azure.Cosmos.DocumentClient.GetDatabaseAccountPrivateAsync(Uri serviceEndpoint, CancellationToken cancellationToken)\n   at Microsoft.Azure.Cosmos.ClientContextCore.RunWithDiagnosticsHelperAsync[TResult](String containerName, String databaseName, OperationType operationType, ITrace trace, Func\u00602 task, Nullable\u00601 openTelemetry, RequestOptions requestOptions, Nullable\u00601 resourceType)\n   at Microsoft.Azure.Cosmos.ClientContextCore.OperationHelperWithRootTraceAsync[TResult](String operationName, String containerName, String databaseName, OperationType operationType, RequestOptions requestOptions, Func\u00602 task, Nullable\u00601 openTelemetry, TraceComponent traceComponent, TraceLevel traceLevel, Nullable\u00601 resourceType)\n   at Azure.Mcp.Tools.Cosmos.Services.CosmosService.ValidateCosmosClientAsync(CosmosClient client, CancellationToken cancellationToken) in /Users/runner/work/1/s/tools/Azure.Mcp.Tools.Cosmos/src/Services/CosmosService.cs:line 150\n   at Azure.Mcp.Tools.Cosmos.Services.CosmosService.CreateCosmosClientWithAuth(String accountName, String subscription, AuthMethod authMethod, String tenant, String resourceGroup, RetryPolicyOptions retryPolicy, CancellationToken cancellationToken) in /Users/runner/work/1/s/tools/Azure.Mcp.Tools.Cosmos/src/Services/CosmosService.cs:line 131\n   at Azure.Mcp.Tools.Cosmos.Services.CosmosService.GetCosmosClientAsync(String accountName, String subscription, AuthMethod authMethod, String tenant, String resourceGroup, RetryPolicyOptions retryPolicy, CancellationToken cancellationToken) in /Users/runner/work/1/s/tools/Azure.Mcp.Tools.Cosmos/src/Services/CosmosService.cs:line 169\n   at Azure.Mcp.Tools.Cosmos.Services.CosmosService.QueryItems(String accountName, String databaseName, String containerName, String query, String subscription, AuthMethod authMethod, String tenant, RetryPolicyOptions retryPolicy, CancellationToken cancellationToken) in /Users/runner/work/1/s/tools/Azure.Mcp.Tools.Cosmos/src/Services/CosmosService.cs:line 333\n   at Azure.Mcp.T
Raw output
   at Microsoft.Mcp.Tests.TestExtensions.AssertProperty(JsonElement element, String propertyName) in /Users/runner/work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/TestExtensions.cs:line 38
   at Microsoft.Mcp.Tests.TestExtensions.AssertProperty(Nullable`1 element, String propertyName) in /Users/runner/work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/TestExtensions.cs:line 33
   at Azure.Mcp.Tools.Cosmos.Tests.CosmosCommandTests.Should_show_single_item_from_cosmos_account() in /Users/runner/work/1/s/tools/Azure.Mcp.Tools.Cosmos/tests/Azure.Mcp.Tools.Cosmos.Tests/CosmosCommandTests.cs:line 172
--- End of stack trace from previous location ---