Skip to content

test: the consumer smoke test runs on an EF Core the packages were not built with - #144

Merged
CaffeinatedCoder merged 1 commit into
mainfrom
test/smoke-ef-version
Nov 15, 2026
Merged

CaffeinatedCoder merged 1 commit into
mainfrom
test/smoke-ef-version

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Closes #143

Problem

Every suite ran on EF Core 11.0.0-rc.3, which Npgsql EF 11.0.0-rc.3 pins exactly. A consumer that references EF Core 11.0.0 directly gets it, with NU1608 and a build, and nothing said what that consumer gets. The smoke test had no way to run on another EF Core than the kernel's own dependency.

Change

  • SMOKE_EF_VERSION in test/ConsumerSmokeTest/run.sh: the consumers' Directory.Build.props gets a direct reference to Microsoft.EntityFrameworkCore.Relational at that version for every project but the judge, and EfVersion (the design package, the host, dotnet-ef) follows it.
  • A row, "EF Core ", requires that version of Microsoft.EntityFrameworkCore and .Relational in the consumer's project.assets.json, so the run cannot pass on the packages' own version.
  • Without the variable, or with the packages' version, the script is as it was.
  • CLAUDE.md: the command, and the measurement under "Upstream pins".

Tests

🤖 Generated with Claude Code

…t built with

SMOKE_EF_VERSION makes every consumer reference
Microsoft.EntityFrameworkCore.Relational at that version directly; the design
package, the host and dotnet-ef follow it, and a row checks that the consumer
resolved it. With 11.0.0, over Npgsql EF rc.3's exact pin (NU1608), every row
passed on PostgreSQL 18.4.

Closes #143

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@CaffeinatedCoder CaffeinatedCoder added this to the 11.0.0 milestone Nov 14, 2026
@CaffeinatedCoder CaffeinatedCoder added tests Adds or changes tests only (harnesses, parity suites); no library code area/release Versioning, changelogs, release wiring labels Nov 14, 2026
@CaffeinatedCoder
CaffeinatedCoder merged commit 1690320 into main Nov 15, 2026
9 of 10 checks passed
@CaffeinatedCoder
CaffeinatedCoder deleted the test/smoke-ef-version branch November 15, 2026 10:17
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 tests Adds or changes tests only (harnesses, parity suites); no library code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant