Skip to content

The consumer smoke test on an EF Core the packages were not built with: SMOKE_EF_VERSION, and the run on 11.0.0 #143

Closed

Description

@CaffeinatedCoder

Before preview.1 is tagged. Every suite so far ran on EF Core 11.0.0-rc.3, which Npgsql EF 11.0.0-rc.3 pins exactly. EF Core 11.0.0 is out, and a consumer that references it directly gets it: NuGet answers Npgsql's pin with the warning NU1608 and builds.

Problem

Nothing says what that consumer gets. The smoke test takes EF Core's version from the kernel's own dependency and has no way to run on another.

Change

SMOKE_EF_VERSION in test/ConsumerSmokeTest/run.sh: every consumer references Microsoft.EntityFrameworkCore.Relational at that version directly, and the design package, the host and dotnet-ef follow it. A row checks that the consumer resolved that version, so the run cannot pass on the packages' own.

Measured, 2026-11-14

SMOKE_EF_VERSION=11.0.0, packages packed from main @ 0126b3a, PostgreSQL 18.4, Npgsql 10.0.3, dotnet-ef 11.0.0. The consumer's deps.json holds Microsoft.EntityFrameworkCore, .Relational, .Abstractions and .Design at 11.0.0 beside Npgsql.EntityFrameworkCore.PostgreSQL 11.0.0-rc.3, with NU1608 for both of Npgsql's pins.

Every row passed, 48 of 48 in 48 s: the refusals, design time, the applied paths (update, scripts, the bundle), run time, the compiled model, the factory with a migrations assembly of its own, and the project that comes from 5.x.

What this does not say: that the packages may reference 11.0.0. Npgsql's own assembly was built against rc.3, and the pins move when Npgsql ships 11.0.0 (the spikes are run again then, plan section 8). Not run: PostgreSQL 16, and the unit and integration suites, which build against the repository's references.

Done when

The switch is in the script and documented. A CI lane for it is not part of this: the result changes only when EF Core or Npgsql publish.

Activity

  1. added this to the 11.0.0 milestone on Nov 14, 2026
  2. added
    tests
    area/release
    on Nov 14, 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/releasetests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions