Skip to content

10.x CI: run the net10.0 suites on the .NET 11 runtime (roll-forward), so the hour-24 rows of #300 can fail #324

Done

Description

@CaffeinatedCoder

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:

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

  1. added
    tests
    package/nodatime
    package/efcore
    area/literals
    on Oct 19, 2026
  2. added
    area/release
    package/core
    package/efcore-nodatime
    on Oct 19, 2026
  3. added this to the 10.5.0 milestone on Nov 11, 2026
  4. added a commit that references this issue on Nov 30, 2026
  5. CaffeinatedCoder commented on Nov 30, 2026

    @CaffeinatedCoder
    OwnerAuthor

    Closed by hand, since a merge into release/10.x closes nothing. Done in release/10.x through #600 (merge commit 0167206).

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/literalsarea/releasepackage/corepackage/efcorepackage/efcore-nodatimepackage/nodatimetests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions