From 11a302215c9e250edc3ee345c737e6eb8dbff8e7 Mon Sep 17 00:00:00 2001 From: Adam Sitnik Date: Thu, 26 Nov 2026 14:17:20 +0100 Subject: [PATCH] Pin Cosmos emulator for conformance tests Pin the emulator image to a known-good digest to avoid the dot-product search regression in vnext-latest while retaining conformance coverage. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7cd8e520-033e-446d-bf86-d1915f706e0f --- .../AzureCosmosDB.ConformanceTests/Support/CosmosTestStore.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MEVD/test/AzureCosmosDB.ConformanceTests/Support/CosmosTestStore.cs b/MEVD/test/AzureCosmosDB.ConformanceTests/Support/CosmosTestStore.cs index 80d381b..1fffcc2 100644 --- a/MEVD/test/AzureCosmosDB.ConformanceTests/Support/CosmosTestStore.cs +++ b/MEVD/test/AzureCosmosDB.ConformanceTests/Support/CosmosTestStore.cs @@ -66,7 +66,8 @@ protected override async Task StartAsync() } else { - _container ??= new CosmosDbBuilder("mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-latest") + // Pin the emulator version to retain working dot-product vector search. + _container ??= new CosmosDbBuilder("mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator@sha256:54d7bc334494c50cea867c270880671a7db080626a9732832b34c0d69342f9b0") .WithEnvironment("QUERY_BUFFER_SIZE_KB", "65536") .Build();