Skip to content

[test-only] Run Cosmos tests against the (vnext-latest) Linux emulator#38413

Open
Copilot wants to merge 1 commit into
mainfrom
copilot/update-linux-cosmos-emulator-image
Open

[test-only] Run Cosmos tests against the (vnext-latest) Linux emulator#38413
Copilot wants to merge 1 commit into
mainfrom
copilot/update-linux-cosmos-emulator-image

Conversation

Copilot AI commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Update cosmos linux emulator image to vnext-latest and unskip passing tests.

Comment thread .agents/skills/cosmos-provider/SKILL.md Outdated
Comment thread test/EFCore.Cosmos.FunctionalTests/cosmos-linux-emulator-test-failures.md Outdated
Copilot AI changed the title Run Cosmos tests against the Linux emulator (vnext-latest) and drop the skip machinery Run Cosmos tests against the Linux emulator (vnext-latest) Jun 11, 2026
Copilot AI requested a review from AndriySvyryd June 11, 2026 21:48
… tests

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
@AndriySvyryd AndriySvyryd force-pushed the copilot/update-linux-cosmos-emulator-image branch from 374eda8 to ed84f99 Compare June 12, 2026 01:16
@AndriySvyryd AndriySvyryd changed the title Run Cosmos tests against the Linux emulator (vnext-latest) [test-only] Run Cosmos tests against the Linux emulator (vnext-latest) Jun 12, 2026
@AndriySvyryd AndriySvyryd changed the title [test-only] Run Cosmos tests against the Linux emulator (vnext-latest) [test-only] Run Cosmos tests against the (vnext-latest) Linux emulator Jun 12, 2026
@AndriySvyryd AndriySvyryd requested a review from Copilot June 12, 2026 01:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Cosmos Linux emulator used in EF Core’s functional test infrastructure to vnext-latest and re-enables several previously Linux-emulator-skipped tests now expected to pass against that image.

Changes:

  • Switch the Linux emulator container image from vnext-preview to vnext-latest (both in testcontainer startup and GitHub Actions service container).
  • Remove the Linux-emulator-specific SaveChanges interceptor that forced AutoTransactionBehavior.Never.
  • Unskip/reenable various Cosmos functional tests for the Linux emulator and refresh linked emulator-issue references in comments.

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/EFCore.Cosmos.FunctionalTests/Update/CosmosBulkExecutionTest.cs Re-enables bulk execution tests on Linux emulator by switching to unconditional [Fact].
test/EFCore.Cosmos.FunctionalTests/Update/CosmosBulkConcurrencyTest.cs Removes Linux-emulator skip overrides so base concurrency tests run on Linux emulator.
test/EFCore.Cosmos.FunctionalTests/Types/CosmosTemporalTypeTest.cs Updates emulator-issue references for Linux-emulator-skipped aggregate/subquery cases.
test/EFCore.Cosmos.FunctionalTests/Types/CosmosNumericTypeTest.cs Updates emulator-issue references for Linux-emulator-skipped aggregate/subquery cases.
test/EFCore.Cosmos.FunctionalTests/Types/CosmosMiscellaneousTypeTest.cs Updates emulator-issue references for Linux-emulator-skipped aggregate/subquery cases.
test/EFCore.Cosmos.FunctionalTests/TestUtilities/LinuxEmulatorSaveChangesInterceptor.cs Removes interceptor previously used to disable transactional batching on Linux emulator.
test/EFCore.Cosmos.FunctionalTests/TestUtilities/CosmosTestStore.cs Stops injecting the removed Linux-emulator SaveChanges interceptor into test contexts.
test/EFCore.Cosmos.FunctionalTests/TestUtilities/CosmosTestEnvironment.cs Updates Linux emulator testcontainer image to vnext-latest.
test/EFCore.Cosmos.FunctionalTests/Query/ReadItemPartitionKeyQueryTest.cs Refreshes emulator-issue references for hierarchical partition key behavior on Linux emulator.
test/EFCore.Cosmos.FunctionalTests/Query/ReadItemPartitionKeyQueryRootDiscriminatorInIdTest.cs Refreshes emulator-issue references for hierarchical partition key behavior on Linux emulator.
test/EFCore.Cosmos.FunctionalTests/Query/ReadItemPartitionKeyQueryNoDiscriminatorInIdTest.cs Refreshes emulator-issue references for hierarchical partition key behavior on Linux emulator.
test/EFCore.Cosmos.FunctionalTests/Query/ReadItemPartitionKeyQueryDiscriminatorInIdTest.cs Refreshes emulator-issue references for hierarchical partition key behavior on Linux emulator.
test/EFCore.Cosmos.FunctionalTests/Query/PrimitiveCollectionsQueryCosmosTest.cs Updates emulator-issue references for Linux-emulator-skipped aggregates-over-subqueries scenarios.
test/EFCore.Cosmos.FunctionalTests/Query/OwnedQueryCosmosTest.cs Updates emulator-issue reference for a Linux-emulator-skipped aggregate/subquery scenario.
test/EFCore.Cosmos.FunctionalTests/Query/Associations/OwnedNavigations/OwnedNavigationsPrimitiveCollectionCosmosTest.cs Updates emulator-issue reference for Linux-emulator-skipped aggregate/subquery scenario.
test/EFCore.Cosmos.FunctionalTests/Query/Associations/OwnedNavigations/OwnedNavigationsCollectionCosmosTest.cs Updates emulator-issue references for Linux-emulator-skipped aggregate/subquery scenarios.
test/EFCore.Cosmos.FunctionalTests/Query/Associations/ComplexProperties/ComplexPropertiesPrimitiveCollectionCosmosTest.cs Updates emulator-issue reference for Linux-emulator-skipped aggregate/subquery scenario.
test/EFCore.Cosmos.FunctionalTests/Query/Associations/ComplexProperties/ComplexPropertiesCollectionCosmosTest.cs Updates emulator-issue references for Linux-emulator-skipped aggregate/subquery scenarios.
test/EFCore.Cosmos.FunctionalTests/EndToEndCosmosTest.cs Re-enables end-to-end transactional-batch parameterized test on Linux emulator by switching to unconditional [Theory].
test/EFCore.Cosmos.FunctionalTests/CosmosTransactionalBatchTest.cs Re-enables multiple transactional-batch tests on Linux emulator and adjusts one theory to run everywhere.
test/EFCore.Cosmos.FunctionalTests/CosmosSessionTokensTest.cs Re-enables session token tests on Linux emulator and refreshes emulator-issue references.
.github/workflows/copilot-setup-steps.yml Updates GitHub Actions service container to run the Linux emulator from vnext-latest.

@AndriySvyryd AndriySvyryd marked this pull request as ready for review June 12, 2026 01:45
@AndriySvyryd AndriySvyryd requested review from a team and wtgodbe as code owners June 12, 2026 01:45
@AndriySvyryd AndriySvyryd requested a review from SamMonoRT June 12, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants