Skip to content

Add regression tests for three issues already fixed - #39165

Merged
AndriySvyryd merged 3 commits into
dotnet:mainfrom
tunahanaliozturk:test/regressions-34183-28488-32513
Oct 8, 2026
Merged

AndriySvyryd merged 3 commits into
dotnet:mainfrom
tunahanaliozturk:test/regressions-34183-28488-32513

Conversation

@tunahanaliozturk

Copy link
Copy Markdown
Contributor

Fixes #34183
Fixes #28488
Fixes #32513

These three issues no longer reproduce on main. This PR adds a test for each so they stay fixed, and lets them be closed.

Test-only change; no product code is touched.

Copilot AI balanced review requested due to automatic review settings October 4, 2026 22:03
@tunahanaliozturk
tunahanaliozturk requested a review from a team as a code owner October 4, 2026 22:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The focused test-only changes cover the stated regressions, with no blocking issues identified.

Review effort: Balanced
Findings: None

What changed in this PR

Adds regression tests for three issues already fixed on main, without changing production code.

Changes:

  • Preserves migration SQL containing identifiers beginning with “Go” (#34183).
  • Covers truncated foreign-key name collisions during table splitting (#28488).
  • Verifies validation errors for nested JSON collections mapped to different columns (#32513).
File Description
test/​EFCore.SqlServer.FunctionalTests/​Migrations/​SqlServerMigrationsSqlGeneratorTest.cs Tests preservation of the GoodColumn SQL line.
test/​EFCore.Relational.Tests/​Infrastructure/​RelationalModelValidatorTest.Json.cs Tests nested OwnsMany JSON column validation.
test/​EFCore.Relational.Tests/​Infrastructure/​RelationalModelValidatorTest.cs Tests table-splitting foreign keys with colliding truncated names.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@AndriySvyryd AndriySvyryd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for your contribution!

@AndriySvyryd AndriySvyryd changed the title Add regression tests for three issues already fixed on main (#34183, #28488, #32513) Add regression tests for three issues already fixed Oct 8, 2026
@AndriySvyryd
AndriySvyryd enabled auto-merge (squash) October 8, 2026 00:05
@AndriySvyryd
AndriySvyryd merged commit 69008aa into dotnet:main Oct 8, 2026
21 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants