Skip to content

build: move main to the .NET 11 GA SDK and Npgsql's provider rc.3, and let the core tests end on it - #536

Merged
CaffeinatedCoder merged 3 commits into
mainfrom
build/532-net11-ga-sdk
Nov 11, 2026
Merged

CaffeinatedCoder merged 3 commits into
mainfrom
build/532-net11-ga-sdk

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Closes #532
Closes #535

Problem

.NET 11 has been generally available since 2026-11-10, and main was still on the RC2 toolchain: global.json pinned SDK 11.0.100-rc.2, the test packages were at rc.2, and no measurement of the retarget had been repeated on the GA runtime.

Moving to the GA SDK showed a second problem. dotnet test over the core test project did not end on SDK 11.0.100: every test passed, then vstest.console ran at full CPU for ten minutes (#535). global.json says rollForward: latestFeature, so any machine or CI job that installs the newest 11.0.1xx SDK had this runner already.

Change

  • global.json names SDK 11.0.100. release.yml no longer asks setup-dotnet for a preview build.
  • Npgsql.EntityFrameworkCore.PostgreSQL, its NodaTime plugin and Microsoft.EntityFrameworkCore.Design move to rc.3, in one change. rc.3 pins EF Core to exactly rc.3, so EF Core 11.0.0 waits for Npgsql (main: move the EF Core and Npgsql floors to 11.0.0 when Npgsql's provider ships it #533).
  • The test packages that don't depend on EF Core move to 11.0.0, and MSTest to 4.5.2. This replaces Bump the test-dependencies group with 5 updates #531.
  • ParserResilienceTests: the DynamicData rows carry only the name, and each test builds its hostile text from it. With the text as an argument, one results message was 20 MB.
  • The changelogs and docs/efcore.md name rc.3. The comment on the Native AOT workaround in IValueSetFactory.cs records the GA measurement.

Tests

Measured on macOS arm64; the full record is in this comment on #532.

Not done here: a reproduction of #535 for microsoft/vstest, and the cherry-pick of the test change to release/10.x, which #534 needs before that branch builds with SDK 11.

🤖 Generated with Claude Code

CaffeinatedCoder and others added 3 commits November 11, 2026 06:35
… is a test argument (#535)

A DynamicData row's arguments travel in every message the test host sends
about the row. With the hostile text as an argument, one results message
of ParserResilienceTests was 20 MB, and vstest.console in SDK 11.0.100 ran
at full CPU on it for ten minutes without ending the run. The same
assembly passed in 8 seconds through SDK 11.0.100-rc.2's runner.

The rows now hold the name, and each test builds its text from it. The
largest message in a --diag log is 31 KB, and the suite ends in 3 seconds
on SDK 11.0.100.

Found-By: CA
Defect-Class: PKG
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…Npgsql's provider rc.3 (#532)

- global.json names SDK 11.0.100, and release.yml no longer asks
  setup-dotnet for a preview build.
- Npgsql.EntityFrameworkCore.PostgreSQL and its NodaTime plugin move to
  11.0.0-rc.3, and Microsoft.EntityFrameworkCore.Design with them: rc.3
  pins EF Core to exactly rc.3, so EF Core 11.0.0 waits for Npgsql (#533).
- The test packages that don't depend on EF Core move to 11.0.0
  (ASP.NET Core OpenApi and TestHost, Microsoft.Extensions.Configuration
  and its Binder), and MSTest to 4.5.2.
- The changelogs and docs/efcore.md name rc.3.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ill in .NET 11.0.0 (#532)

The minimal repro from the upstream issue, published with Native AOT on SDK
11.0.100, ends with SIGTRAP (exit 133) when the default IFormattable.ToString
may be inlined, and prints its two lines with NoInlining. The fix's backport
to release/11.0 (dotnet/runtime#136148) is approved for servicing and not
merged, so the NoInlining attribute and the per-family overrides stay.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@CaffeinatedCoder CaffeinatedCoder added this to the 11.0.0 milestone Nov 11, 2026
@CaffeinatedCoder CaffeinatedCoder added chore Build, CI, packaging, refactoring with no behaviour change package/nodatime Affects CodoMetis.ValueRanges.NodaTime package/efcore Affects CodoMetis.ValueRanges.EFCore.PostgreSQL area/release Versioning, changelogs, release wiring package/core Affects CodoMetis.ValueRanges package/efcore-nodatime Affects CodoMetis.ValueRanges.EFCore.PostgreSQL.NodaTime labels Nov 11, 2026
@CaffeinatedCoder
CaffeinatedCoder merged commit d441c79 into main Nov 11, 2026
20 checks passed
@CaffeinatedCoder
CaffeinatedCoder deleted the build/532-net11-ga-sdk branch November 11, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/release Versioning, changelogs, release wiring chore Build, CI, packaging, refactoring with no behaviour change package/core Affects CodoMetis.ValueRanges package/efcore Affects CodoMetis.ValueRanges.EFCore.PostgreSQL package/efcore-nodatime Affects CodoMetis.ValueRanges.EFCore.PostgreSQL.NodaTime package/nodatime Affects CodoMetis.ValueRanges.NodaTime

Projects

None yet

1 participant