Repository navigation
Description
Decided 2026-11-14 by the maintainer: gate A (#2). The sub-issues marked "before preview.1" (#112, #113, and the snapshot policy on #9) are part of that preview; the others are preview.2's or the gate of rc.1, as each says. What each changes is still to decide, issue by issue.
A theme, not a release: what the review of 2026-11-14 (four analysts, three rounds with GPT, every finding reproduced) says about the kernel's shape, as opposed to its defects. The defects are #98 to #110. They fall into groups, each made possible by one design choice, and each sub-issue here removes a group instead of one member.
Nothing below is decided. Several reopen the form of a decision of plan section 7 (templates at declaration; ImpactOf mandatory with no default), and each says so.
The criterion the maintainer set
The kernel has to be right for other database providers, not only for PostgreSQL. Nothing that is PostgreSQL's behaviour belongs in a kernel type, a closed union or a public entry point of the first public release. Today, read from the code:
KeyTarget.OfandPredicate.Ofare unmarked public statics of the kernel, take no provider and spell every lambda as Npgsql does.- The kernel holds copies of provider rules: the provider's name compared as a string for SQLite, SQLite's rebuild list, Npgsql's and SQL Server's drop-and-add rule with
Npgsql:TsVector*, operation types of two providers by name, the PostgreSQL package named in a kernel message. Impact.Lostis what PostgreSQL does with a constraint whose column goes; SQL Server refuses the change (5074, 4922) and SQLite rebuilds the table.Dependency.ExtensionandISchemaDialect.EnsureExtensionare PostgreSQL's notion in a union closed for the major.NameClaim's cases and the kernel's default scopes are a guess for any provider without a package; a schema that is null meanspublicon one server anddboon another; names compare ordinally, and SQL Server's by collation.- No second provider's contributor has been written against the contract, and nothing of the kernel runs on a live SQL Server or SQLite.
The groups, and what removes each
| Group | Members | Sub-issue |
|---|---|---|
| A rule keyed on a model's position in the diff, a registration that passes at the wrong call | #98, #108, the kernel's UseSchemaKit() alone on Npgsql, a mixed pair of package versions |
ownership and capability |
| A lambda translated before the model is known, a template that is a string to be scanned | #103, #83, the converter and nullability cases on #26 and #43, the scanners on #43 | the lambda factories; the binder |
| Statements placed before or after EF Core's operations, checks of the end state | #99, #100, #105, the ordering #24 still owes, SQLite's rebuild | the timeline; the effect adapters |
| A table of database behaviour written by hand per contributor | #80, #81, #102 | the measured impact table |
| A declaration lands on the entity type's table | #82, #85, #101, entity splitting | the landing function |
| A contract shaped by one provider | the list above | the second provider |
Timing, as the debate left it
- Before
preview.1: the lambda factories leave the kernel and the unmarked value API is settled; the capability stamp and the version check; the policy for a preview's snapshots (SchemaKit: snapshot format v2 and CodoMetis: annotation keys ship in 11.0.0; the 5.x format is read forever (D11) #9). These keep every later step open. - Before
preview.2, wherePgIndexwould copy each pattern: the binder, the timeline, the measured impact table, the landing function, the second provider. - Before
rc.1, as a gate and not a date: the provider-neutral unions, the effect adapters, and what a third party needs to ship a contributor.
GPT's condition for shipping preview.1 before the binder: that the unmarked value API (Predicate, KeyTarget, their Template and with) can be specified now so that binding later changes no public answer. If it cannot, the binder comes first.
Activity
test: a second provider against the public contract, on SQL Server 20…
test: a second provider against the public contract, on SQL Server 20…