Repository navigation
Description
Problem
The 10.x packages target net10.0, and a net11.0 application runs them on the .NET 11 runtime. CI on release/10.x only runs the .NET 10 runtime (global.json, every job). A fix whose subject is .NET 11 behaviour therefore has no test there that can fail.
#300 is that case. With only the StartsWithHour24 check stripped, all 115 TemporalLiteralGrammarTests pass on .NET 10, while 7 of them fail on .NET 11.0.0-rc.2. main holds the same rows on .NET 11 (#286), but a change made directly on release/10.x is not checked against them.
Found by the 10.1.0 review on 2026-10-19.
Measured 2026-10-19
Measured on release/10.x at 3ed738e (macOS arm64). Built with SDK 10.0.303 and -p:RollForward=LatestMajor, which writes rollForward into each test host's runtimeconfig. Run with DOTNET_ROLL_FORWARD_TO_PRERELEASE=1, next to an installed 11.0.0-rc.2.26504.105 runtime:
| Suite | Passed on 11.0.0-rc.2 |
|---|---|
| Core | 1397 / 1397 |
| NodaTime | 238 / 238 |
| Conventions | 404 / 404 |
| AspNetCore | 92 / 92 |
| EF translation, EF NodaTime translation | 303 / 303, 91 / 91 |
| Integration on PostgreSQL 16, floor | 280 / 280, InfinityDisabled 4 / 4 |
The four EF suites again with -p:EfFloat=10.0.13 -p:NpgsqlEfFloat=10.0.3 (deps.json checked) |
303, 91, 280, 4 |
The run was really on 11. With StartsWithHour24 returning false, 7 of the 115 grammar rows fail on rc.2, and all 115 pass when DOTNET_ROLL_FORWARD_TO_PRERELEASE is unset, which resolves 10.0.x.
Change
A leg in dotnet.yml on release/10.x that:
- installs the newest .NET 11 runtime beside the SDK
global.jsonnames; - builds with
-p:RollForward=LatestMajorand runs the unit and convention suites, withoutDOTNET_ROLL_FORWARD_TO_PRERELEASE: .NET 11 has been generally available since 2026-11-10, so the leg installs the stable 11.0 runtime; - asserts that the test host ran on 11, as 10.x CI: run the EF Core suites on the newest EF Core / Npgsql 10 patch and the daily servicing builds, not only the floor #297's leg checks
deps.json. Without that, a renamed property tests .NET 10 a second time and passes.
Release
Test-only, with no package change. Scheduled for 10.5.0 on 2026-11-11 (#521): since .NET 11 GA a net11.0 application really runs the 10.x packages on the .NET 11 runtime. It goes first in 10.5.0, so it guards #300 and the SDK move of #534 on the branch.
Activity