Skip to content

main: re-enable the cross-tests and the joint smoke consumer against CodoMetis.EFCore.SchemaKit.PostgreSQL #333

Done

Description

@CaffeinatedCoder

State on 2026-11-29: PR #577. The tests name CodoMetis.EFCore.SchemaKit.PostgreSQL 11.0.0-preview.3 (the maintainer chose preview.3 over preview.2; it is on nuget.org since 2026-11-29). Beyond the plan below, the PR also holds an exclusion constraint over the range alone (pg.WithUncheckedOperator(x => x.Period, "&&"), new in preview.3; claim E95). E48–E52 are retired on main and stay on release/10.x. Measured: without UseSchemaKit() a declaration is rejected when the model is built, where ComplexIndexes created the table without the constraint.

Back in 11.0.0 since 2026-11-28 (maintainer). CodoMetis.EFCore.SchemaKit.PostgreSQL is on nuget.org (11.0.0-preview.1 on 2026-11-18, preview.2 on 2026-11-27), which is what this issue waited for. It goes into 11.0.0-preview.2 of this package (#147). A test-only reference to a prerelease doesn't stop a stable pack, so v11.0.0 still doesn't wait for SchemaKit's release. The typed Overlaps and the package that carries it are #540.

It had been moved out on 2026-11-11, when SchemaKit had no preview.

Problem

On main, ComplexIndexesCrossTests and the ComplexIndexes consumer in test/consumer-smoke-test.sh are off (net10.0 only), because EFCore.ComplexIndexes 5.x pins EF Core and Npgsql to 10. So on the 11 line nothing holds this package's columns under an exclusion constraint or a GiST index.

Decided 2026-10-19 (CaffeinatedCoder/CodoMetis.EFCore.SchemaKit#1): that package stays the EF Core 10 package. Its EF Core 11 successor is a new package, CodoMetis.EFCore.SchemaKit.PostgreSQL, starting at 11.0.0.

The integration csproj and the smoke script say "CaffeinatedCoder/EFCore.ComplexIndexes#42 restores them". An issue in that repository can't change this one, so this is the issue that does.

Change (main only)

release/10.x keeps EFCore.ComplexIndexes.PostgreSQL 5.x unchanged.

Blocked by

No longer blocking: a SchemaKit preview on nuget.org (there are two), the temporal decision in CaffeinatedCoder/CodoMetis.EFCore.SchemaKit#3 (left to Npgsql 11), and #150 (closed).

Activity

  1. added this to the 11.0.0 milestone on Oct 19, 2026
  2. added
    tests
    on Oct 19, 2026
  3. added
    area/ranges
    package/efcore
    on Oct 19, 2026
  4. CaffeinatedCoder commented on Oct 19, 2026

    @CaffeinatedCoder
    OwnerAuthor

    #335 (closes CaffeinatedCoder/EFCore.ComplexIndexes#150) adds the native temporal keys on main, in their own section, "Reject overlapping rows with Npgsql's temporal keys (PostgreSQL 18)", held by NativeTemporalKeyTests as claims E64–E69. Npgsql 11's WithoutOverlaps()/WithPeriod() accept this package's columns from rc.2 on, because the mappings implement INpgsqlRangeTypeMapping. So the temporal half of this issue no longer needs moving: E48–E52 stay as the ComplexIndexes (10.x) route, which the section now labels. What's left here is the SchemaKit id swap for exclusion constraints and GiST indexes, and what E48–E52 mean on main (#321).

  5. added a commit that references this issue on Oct 19, 2026
  6. removed this from the 11.0.0 milestone on Nov 11, 2026
  7. added this to the 11.0.0 milestone on Nov 28, 2026
  8. changed the title [-]main: re-enable the ComplexIndexes cross-tests and the joint smoke consumer against CodoMetis.EFCore.SchemaKit.PostgreSQL[/-] [+]main: re-enable the cross-tests and the joint smoke consumer against CodoMetis.EFCore.SchemaKit.PostgreSQL[/+] on Nov 28, 2026
  9. added a commit that references this issue on Nov 29, 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/rangespackage/efcoretests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions