Skip to content

Tests: run the suites on the EF Core 10 floor, the newest patch and the .NET 11 runtime #133

Closed

Description

@CaffeinatedCoder

Problem

5.5.0 is the last minor on the EF Core 10 line. After the tag, release/5.x takes fixes only, so a silent bug found later cannot ship as a minor with ### Changed answers. Every check today runs one dependency set, and that set is neither the floor nor the newest patch.

  • src/ declares [10.0.0, 11.0.0) for EF Core Abstractions, SqlServer and Npgsql EF; Design is 10.0.0.
  • The test project pins Sqlite 10.0.11 (a Dependabot bump from before EF Core was on its ignore list, 6a304ae) but SqlServer, Npgsql EF and Design 10.0.0. NuGet resolves the highest requested, so the test host runs EF Core, Relational, Abstractions and Sqlite 10.0.11, with Design, SqlServer and Npgsql EF 10.0.0. No consumer has that mix.
  • Newest on nuget.org (2026-10-20): EF Core, Relational, Design, SqlServer and Sqlite 10.0.13; Npgsql EF 10.0.3. Npgsql EF 10.0.1 to 10.0.3 require EF Core 10.0.4 or later, so a real Npgsql consumer cannot be on 10.0.0.
  • 10 files under src/ use EF internal APIs (EF1001 pragmas), because the package replaces the migrations differ and the SQL generator. EF internals have no patch-compatibility promise.
  • In CodoMetis.ValueRanges the same check found an empty captured list failing with 42883 text && int4range on EF Core 10.0.2 and later, and a silent hour-24 parse difference on the .NET 11 runtime.

Change

Run the existing suites (unit, PostgreSQL 18 and 16, SQL Server 2022) and test/consumer-smoke-test.sh on three legs. src/ stays on its floor; only the test project floats.

  1. Floor. Every EF Core package and Npgsql EF at 10.0.0. The test project's pins are aligned to it, so the default run is the floor.
  2. Newest patch. EF Core (Relational, Design, SqlServer, Sqlite) 10.0.13 and Npgsql EF 10.0.3, floated through test/Directory.Build.targets properties. The test host's deps.json is read to prove the float took effect.
  3. .NET 11 runtime. The net10.0 test build rolled forward to .NET 11 (RollForward=LatestMajor). EF Core 10 supports .NET 11, and the 5.x line does not block that runtime.

File every disagreement as its own bug under #36. Make the newest-patch leg a permanent lane in dotnet.yml that the CI gate (#110) needs, with a deps.json check that fails when the float does not take effect. The roll-forward leg goes to #111's nightly, or to a follow-up issue.

Done when

Results (2026-10-20)

No disagreement on any leg. No bug issues were filed. Every count below has 0 failed, 0 skipped and 0 inconclusive.

Leg Versions (read from the test host's deps.json) Runtime (from the --diag host log) Where Result
Floor every EF Core package and Npgsql EF at 10.0.0 10.0.13 local (macOS arm64) 558/558, without the SQL Server lane¹
Floor same .NET 10 CI, PR #135 unit 533/533, PostgreSQL 25/25, SQL Server 13/13, smoke ✅
Newest patch EF Core 10.0.13, Npgsql EF 10.0.3 (newest on nuget.org today) 10.0.13 local 558/558, without the SQL Server lane¹; smoke ✅ pinned to the newest and to the floor
Newest patch same .NET 10 CI, PR #135 (Newest EF Core patch) unit 533/533, PostgreSQL 25/25, SQL Server 13/13, smoke ✅
.NET 11 roll-forward, floor 10.0.0 / 10.0.0 ~/.dotnet/shared/Microsoft.NETCore.App/11.0.0-rc.2.26504.105 local 558/558, without the SQL Server lane¹
.NET 11 roll-forward, newest 10.0.13 / 10.0.3 same local 558/558, without the SQL Server lane¹
.NET 11 roll-forward, floor and newest as above /usr/share/dotnet/shared/Microsoft.NETCore.App/11.0.0-rc.2.26504.105 CI, a throwaway branch (run 39399546860) 571/571 each, SQL Server included

¹ The SQL Server 2022 image is amd64 only. It crashes without Rosetta in the OrbStack VM, and Rosetta is off on this machine. Its 13 tests ran on CI in every leg.

  • Sqlite 10.0.11 → 10.0.0. Nothing needed 10.0.11. The floor passes everywhere, and NU1903 stays the warning it already was.
  • The deps.json check catches a float that does not take. A misspelled -p:EfFlaot=10.0.13 builds green, and the host resolves EF Core, Relational and Abstractions 10.0.4 (pulled up by Npgsql EF 10.0.3) beside Sqlite, SqlServer and Design 10.0.0. The check fails on all seven entries, locally and in the lane itself (run 39399235386, seeded on purpose). A build with the float properties but no matching restore is caught the same way.
  • Roll-forward recipe. -p:RollForward=LatestMajor at build, then DOTNET_ROLL_FORWARD_TO_PRERELEASE=1 at test. Locally, global.json (10.0.400, latestPatch) rules out ~/.dotnet's SDK 10.0.303. So the build used the system SDK 10.0.402, and dotnet test <dll> ran from outside the repository with ~/.dotnet first on PATH. A permanent lane is CI: run the lanes when an upstream input changes, not every night (.NET 11 roll-forward included) #137.
  • Permanent. PR Tests: run every suite on the newest EF Core 10 patch, and prove the floor #135 adds the Newest EF Core patch lane, which the CI gate needs and the nightly reaches through dotnet.yml. It also adds the floor check in the unit job and the smoke test's SMOKE_EF_VERSION/SMOKE_NPGSQL_EF_VERSION.

Activity

  1. added this to the 5.5.0 milestone on Oct 20, 2026
  2. added
    tests
    package/core
    package/postgresql
    package/sqlserver
    area/release
    on Oct 20, 2026
  3. added a commit that references this issue on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/releasepackage/corepackage/postgresqlpackage/sqlservertests

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions