[release/13.2] Pin Kusto emulator image and backport Cosmos fix#15504
Merged
mitchdenny merged 3 commits intomicrosoft:release/13.2from Mar 24, 2026
Merged
Conversation
* Tighten Kusto functional log assertions Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Document Kusto log assertion source Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Assert Kusto failure log message Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix Kusto assertion analyzer warning Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Re-enable Kusto Linux tests Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Relax Kusto invalid log assertion Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Strengthen Kusto failure log assertions Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Relax Kusto exception assertion Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Reduce Cosmos emulator test footprint Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Scope Cosmos wait test health checks Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Harden Cosmos emulator readiness Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Pin classic Cosmos emulator image Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use Cosmos emulator 2.14.26 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use stable Cosmos emulator image Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> (cherry picked from commit 75c45a3)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15504Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15504" |
Contributor
There was a problem hiding this comment.
Pull request overview
Backports test/emulator stabilization fixes for Azure Kusto and Cosmos DB onto release/13.2, aligning behavior with main (per #15473) to reduce flaky assertions and lock Cosmos emulator to a non-moving default tag.
Changes:
- Kusto functional tests: narrow log assertions to only database-creation failure logs (instead of all warning/error resource logs).
- Cosmos DB: change the default Linux emulator container image tag from
latesttostable. - Update Cosmos unit test expectation for the default tag behavior (per intent in PR description).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| tests/Aspire.Hosting.Azure.Tests/AzureCosmosDBExtensionsTests.cs | Updates expected Cosmos emulator tag string used in assertion. |
| tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs | Narrows log assertions to specific “Failed to create database” error signal. |
| src/Aspire.Hosting.Azure.CosmosDB/CosmosDBEmulatorContainerImageTags.cs | Switches default Cosmos emulator image tag constant to stable. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
mitchdenny
approved these changes
Mar 23, 2026
JamesNK
approved these changes
Mar 23, 2026
Member
Contributor
|
@mitchdenny ❌ Quarantine failed. Error: PR #15504 is from a fork or the source repository was deleted. Cannot push to fork branches. See the workflow run for full details. |
Member
|
Merging after 15511 went in. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the
release/13.2backport branch to keep the Kusto functional tests enabled, revert the Kusto log-assertion tightening, and pin the Kusto emulator image to2026.03.16.1116-2611-994a3c9-master.This PR now includes:
Validation:
./dotnet.sh test tests/Aspire.Hosting.Azure.Kusto.Tests/Aspire.Hosting.Azure.Kusto.Tests.csproj -- --filter-method "*.RunAsEmulator_ShouldConfigureContainerImageWithCorrectTag" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"./dotnet.sh test tests/Aspire.Hosting.Azure.Tests/Aspire.Hosting.Azure.Tests.csproj -- --filter-method "*.AddAzureCosmosDBWithEmulatorGetsExpectedImageTag" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"KustoFunctionalTestslocally after the image pin; the class still failed in this environmentFixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?aspire.devissue: