Repository navigation
Description
2026-11-25: the audit's rows against what was built since. Each row that said "has to change" or "not measured", and where it stands:
| Row | Stands |
|---|---|
NameClaim, SchemaDialect.Claims, SchemaNameComparison |
Open, at the gate of rc.1: #200 |
| A null schema | Sound, as measured |
Dependency.Extension, EnsureExtension |
Open, not measured: #200 |
Dependency.Column |
Answered by #117: the dependency has a role. A change still names its table as the target has it; a contributor finds the column by its name, and the PostgreSQL package now does so too (#172) |
Dependency.SchemaObject |
Answered by #195: it carries the scope. A_dependency_on_an_index_says_which_tables_index_it_means turned over |
BaseChange.ColumnAltered; RebuildAround on SQLite |
Answered by #117: the change says what was altered, and the SQL Server probe leaves an index through a default and a change of nullability. On SQLite a create a rebuild would lose is refused (#145, #193) until the generator places it (#115, slice D) |
SchemaPlacement, SchemaChange.InPlace, SchemaSql.Statement |
Open: a statement compiled apart from its batch and SQL as a literal are #156; a create after SQLite's rebuild is #115, slice D; a place among EF Core's operations is #115, slice C |
SqlName, SqlOperator |
Open: #200 |
KeyTarget.Of, Predicate.Of |
Answered for the spelling by #184: each probe spells a lambda with a spelling of its own, held against EF Core's queries (SpellingParityTests). What a filter needs beyond a spelling, a form without OR on SQL Server, is #29's |
Beyond the table: the dialect says what an operation does (#198, part of #116), and SQL Server's and SQLite's rules leave the kernel with their dialects (#116). Every row that is open has an issue of its own now, so this issue has nothing left that only it holds.
From PR #157, 2026-11-16: the contributor is written and measured, and every row of the table has its answer under "The audit, as measured" below. Nothing under src/ changed. Seven of the nine rows hold a "has to change"; changing the contract is the maintainer's decision on #114 to #118, and this issue stays open until those rows are decided. The lane Integration (SQL Server 2022) is in the PR, which closes #5. The project has 171 tests: 86 run on the server, 85 need none, and the lane passed with 86 of 86 in CI. Found on the way: #145 and #150.
Corrected the same day, after a review of the PR. Eleven defects were seeded into the contributors and dialects, and eight of them passed all 133 tests the project had then. The tests for those eight are written, and the audit below was gone through again: a row says "sound" or "has to change" only for what a test carries, and "not measured" or "by reading" for the rest. Rows 1, 2, 3, 6, 7, 8 and 9 changed. No "has to change" was taken back; those stay the maintainer's to decide.
During preview.2, as the gate for the contract; the reading before preview.1. From the architecture debate of 2026-11-14; not decided.
Problem
Every type of the contract was shaped by one contributor on one provider. What in it is PostgreSQL's cannot be found by reading alone, and the first SQL Server contributor is planned for preview.3, after two previews of consumers and a second PostgreSQL contributor have copied the patterns.
Change
- A throwaway contributor for SQL Server, written against the public contract only, in the test tree, on SQL Server 2022 in CI: a filtered nonclustered index with an included column. It creates, renames (
sp_rename), follows a column rename, stands in the way ofALTER COLUMNandDROP COLUMN(5074, 4922), collides by name with a table's constraint, goes through a snapshot round trip and through a generated script with its batches. Not shipped. - The same for SQLite as far as it goes: an expression index created, and the table rebuild that loses it refused loudly until the generator decorator places the create (plan 3.12).
- The audit it feeds, each row to change before the contract freezes unless it says otherwise:
| Kernel surface | What another provider needs |
|---|---|
NameClaim, SchemaDialect.Claims, SchemaNameComparison |
SQL Server: a constraint is an object of the schema, names compare by collation. SQLite: one namespace per database. A provider-defined namespace and comparison; no guessed scopes for a provider without a package |
A null schema in TableRef and Relation |
public, dbo, or the connection's: the dialect names the default (#100) |
Dependency.Extension, ISchemaDialect.EnsureExtension |
No other provider has extensions. A prerequisite the provider owns |
Dependency.Column |
A role: key, expression, predicate, include (the impact table's issue) |
Dependency.SchemaObject, QualifiedName, SchemaScope |
An identity that is fully scoped: an object of a table, an attached database |
Impact.Lost, BaseChange |
An outcome the provider's effects decide (the effect adapters' issue) |
SchemaPlacement, SchemaChange.InPlace, SchemaSql.Statement |
A statement that must start a batch, a rename through a procedure, a create after SQLite's rebuild |
Identifier, SqlName, SqlOperator, SqlFragment |
A dialect outside this repository builds them only through SchemaDialect's own grammar: a provider's operator grammar and reserved words need a way in |
KeyTarget.Of, Predicate.Of |
Before preview.1: the lambda factories' issue |
Done when
The contributor's tests are green on SQL Server 2022 behind the CI gate, each row of the table is changed or marked sound with its reason, and nothing in the kernel had to be forked for it. If a common SQL Server or SQLite change cannot be said without a fork, that is the evidence against the shape itself.
The audit, as measured
By test/CodoMetis.EFCore.SchemaKit.SecondProvider.Tests (PR #157), on SQL Server 2022 (16.0.4305.5, mcr.microsoft.com/mssql/server:2022-latest) and on SQLite, with EF Core 11.0.0-rc.3. Two contributors, each with a dialect, against the public contract alone: the kernel grants the assembly no InternalsVisibleTo, and nothing under src/ changed. A test named below is in that project; "live" means it ran on the server.
Nothing had to be forked for SQL Server. Every change the issue lists can be said. Three are said by going around the contract: the rename and the create put composed SQL into a literal through SqlFragment.ToString(), and a changed column is found by its name because the change names another table than the descriptor. On SQLite one cannot be said at all: an object created in a migration that rebuilds its table (#145).
How far the tests hold the two contributors. Each line of the contributors, dialects and declarations was changed in turn and the project run on the server: 102 changes, the review's eleven among them. 94 fail at least one test. Eight fail none, and none of the eight is a rule of a contributor:
- The answer to
TableDropped, on both providers: row 6. - An answer to a change the provider never makes:
TableRebuilton SQL Server,TableMovedon SQLite. The union makes the contributor answer anyway. - Which of
Plan's two descriptors names the table insp_rename. The kernel handsPlanthe source under the target's table, after a rename and after a move (Renaming_the_table_of_a_default_named_index,Moving_the_table_and_renaming_its_index_keeps_the_index, live). - SQLite's
WithName. ItsPlanis always a rebuild, and a pair that is rebuilt gets the drop and the create an unpaired object gets. - SQLite's answer
Lostto an altered or a dropped column. The provider rebuilds the table for both, the rebuild is asked about by itself, and it saysLostalready.
One rule is held at the diff alone and cannot be held on the server: that a filter without a placeholder reads every column (A_filter_without_a_placeholder_is_taken_to_read_every_column). When the column such a filter reads is renamed, the filter's text changes with it, which is a rebuild whatever is answered. The rule is caution, and its cost is a rebuild for the rename of a column the filter does not read.
The PR has the table of all 102. Nothing in CI repeats the run.
| Kernel surface | Answer |
|---|---|
NameClaim, SchemaDialect.Claims, SchemaNameComparison |
Has to change: the comparison, the default scopes, the names of the cases. The namespaces themselves can be said |
A null schema in TableRef and Relation |
Sound since #100 as far as it is measured: the comparison through a stand-in, the statements on the server. One limit, not measured |
Dependency.Extension, ISchemaDialect.EnsureExtension |
Not measured: neither object has a prerequisite. The name is a finding by reading |
Dependency.Column |
Sound as it is. Has to change beside it: a change names its table as the target has it |
Dependency.SchemaObject, QualifiedName, SchemaScope |
Scope and name are sound as an identity. Dependency.SchemaObject has to change |
Impact.Lost, BaseChange |
Lost is sound. BaseChange.ColumnAltered has to change; RebuildAround cannot be kept on SQLite |
SchemaPlacement, SchemaChange.InPlace, SchemaSql.Statement |
Has to change: a statement that is compiled apart from its batch, SQL as a literal, a create after SQLite's rebuild |
Identifier, SqlName, SqlOperator, SqlFragment |
Identifier is sound. SqlName and SqlOperator have to change |
KeyTarget.Of, Predicate.Of |
Has to change with #114: there is one spelling, and a filter needs more than a spelling |
1. NameClaim, SchemaDialect.Claims, SchemaNameComparison
The namespaces can be said, by a dialect. SQL Server's index is TableIndex; a primary key and a unique constraint take TableIndex too, since each is built on an index of its name, and everything else EF Core creates is "an object of the schema", written as Relation. SQLite's tables and indexes are Relation with no schema, and its constraints take nothing. The server agrees row by row: The_server_refuses_an_index_named_like (Msg 1913) and The_server_takes_an_index_named_like (live), The_database_refuses_an_index_named_like on SQLite, and the check with them: An_index_named_like_a_key_of_its_table_is_refused_at_the_diff, An_index_named_like_a_foreign_key_or_a_check_constraint_of_its_table_is_let_through. On SQLite the name of a key or a check constraint is taken nowhere: an index of that name passes the diff and is created (An_index_named_like_a_key_or_a_check_constraint_of_its_table_is_let_through_and_created).
The half that is "an object of the schema" is carried by a stand-in. An index is named within its table and this contributor declares nothing else, so nothing it declares is ever compared with a table, a sequence or a constraint of the schema. What holds the dialect's answers for those:
- by value, for each of the seven kinds the kernel asks about:
The_dialect_says_where_SQL_Server_keeps_each_name; - at the diff, with the index's claim replaced by one in the schema, which a hook does for these tests alone (
ClaimedAs): refused under the name of a sequence, a foreign key, a check constraint, a primary key and a table (An_object_of_the_schema_is_refused_at_the_diff_when_it_is_named_like), let through under the name of an index of EF Core's (An_object_of_the_schema_may_be_named_like_an_index) and under a name that is taken in another schema (A_name_taken_in_another_schema_is_free_in_this_one); - the server's word for such pairs:
The_server_refuses_an_object_of_the_schema_named_like_another(Msg 2714, live, nine pairs).
Not measured: an object of the schema that a contributor really declares, a trigger or a named default. The stand-in shows that the dialect's answers are compared, not that such a contributor can be written.
Has to change:
- The comparison is the database's, and neither case of the enum. SQL Server compares by the database's collation: under the default one
IX_StraßeandIX_Strasseare one name, the model passes the diff and the server refuses the second index (Two_names_the_collation_takes_for_one_pass_the_diff_and_fail_at_the_server, Msg 1913, live). In a database with a case-sensitive collationIX_ordersandIX_ORDERSare two indexes, and the kernel refuses the model where it is declared (Two_names_that_differ_in_case_are_two_in_a_case_sensitive_database_and_one_to_the_kernel, live). SQLite folds ASCII letters alone:IX_ÄandIX_äare two, and refused the same way (Two_names_that_differ_in_the_case_of_an_umlaut_are_two_to_the_database_and_one_to_the_kernel). The comparison is a property of the declaration (ISchemaObject.NameComparison), which knows no database. - It is in the stored key. Under
IgnoreCasea named declaration's key is hashed overToUpperInvariant()(DeclarationCodec.Fold), a fold no database uses. A comparison that becomes the provider's later moves those keys, which is a change of the format. Whether that fold moves with the runtime is held by no test: a program outside the repository gave the same 1504 mappings on .NET 9.0.23, 10.0.15 and 11.0.0 on 2026-11-16, and nothing repeats it. - The kernel's own scopes are wrong on both providers. A provider without a package names a constraint within its table and knows no index behind a key: on SQL Server an index named like its table's primary key passes the diff and fails at apply (
The_kernels_own_scopes_let_a_key_named_index_through,Under_the_kernels_own_scopes_a_key_named_index_fails_at_the_server, Msg 1913, live). On SQLite an index named like an index of another table does the same (The_kernels_own_scopes_let_the_collision_through_to_the_database). Both fail loudly. - The cases are named and described for PostgreSQL.
Constraint(Table, …)andTrigger(Table, …)have no reading on SQL Server, where both are objects of the schema (The_server_refuses_an_object_of_the_schema_named_like_another, Msg 2714, live).Relationstands in for "an object of the schema" and for SQLite's one namespace, andSK1001then tells the consumer of "the relations of the default schema (tables, indexes, sequences, and the indexes behind constraints)" (An_index_named_like_an_index_of_another_table_or_like_a_table_is_refused_at_the_diff). SchemaModelObjectis a closed list of seven kinds. SQL Server's default is a constraint with a name of its own in the schema, EF Core names it (UseNamedDefaultConstraints), and the dialect is never asked about it (The_dialect_is_never_asked_about_a_named_default).
2. A null schema in TableRef and Relation
Sound as far as it is measured, because the dialect names the default since #100 and the statements never need it.
- The comparison, through the stand-in of row 1. SQL Server's dialect says
dbo(The_dialect_names_the_schema_of_a_table_without_one; the server's word inA_table_created_without_a_schema_is_in_dbo, live). What the answer decides: an object claimed in the schema of a table that has none collides with a table mapped todboby name, and with that table's key; under the kernel's own dialect, which names no default, it does not (A_name_taken_in_dbo_is_taken_for_a_table_without_a_schema). An index never claims a schema, so for this contributor's own objectDefaultSchemadecides nothing, and the first version of this row rested on the getter alone. - The statements, on the server. A table without a schema is written unqualified in
CREATE INDEX,DROP INDEX … ONand insidesp_rename's literal, and a table with one is written with it in all three (An_index_of_a_table_in_a_schema_is_dropped_renamed_and_rebuilt_under_the_schema; live:Dropping_the_index_of_a_table_in_a_schema,Rebuilding_the_index_of_a_table_in_a_schema,Renaming_the_index_of_a_table_in_a_schema_keeps_the_index). With two tables of one name in two schemas, the drop and the rename of one table's index leave the other's (Dropping_an_index_leaves_its_namesake_in_another_schema,Renaming_an_index_leaves_its_namesake_in_another_schema, live). - A model that begins to say
dbois a move to EF Core, which the server takes and the index stays through (Saying_the_default_schema_moves_nothing, live); the move back to no schema is written by SQL Server's provider, unlike Npgsql's (A table moved back to the default schema stays where it was on Npgsql, and a statement written after the move fails with 42P01 #105;Moving_the_table_back_to_the_default_schema, live).
The limit, not measured: it is the default schema of the user that runs the migration. EF Core's own move back asks the server for it (SCHEMA_NAME()); a dialect answers before any connection. That is the caveat search_path is on PostgreSQL.
3. Dependency.Extension, ISchemaDialect.EnsureExtension
Not measured. Neither index has a prerequisite and neither descriptor lists one, so the dialect is never asked: both probe dialects inherit the kernel's EnsureExtension, which throws, and every test passes under them. That says the path was not taken, and nothing about the mechanism. Whether the case can carry what another provider would need (a full-text catalog, a partition scheme) is open: it would have to be called an extension, and that name is the one finding, by reading.
4. Dependency.Column
Sound, because the kernel never needs the role: it asks the contributor, and the contributor keeps the role in its descriptor. That was enough for every cell of SQL Server's table: the rename of a key or an included column follows (Renaming_a_key_column, Renaming_an_included_column, live), the rename of a column the filter reads is refused while the index is there (Answered_as_followed_the_rename_of_a_filters_column_is_refused, Msg 5074, live) and is a drop before and a create after (Renaming_a_column_the_filter_reads, live).
Has to change, beside it: a BaseChange names its table as the target model has it, and a descriptor's dependencies name it as the source has it. The kernel carries the names forward before it asks (BaseChanges.Forward, internal); a contributor cannot. So the lookup a contributor writes first, new Dependency.Column(change.Table, change.From), finds nothing once the table is renamed in the same migration. Smallest case: a table renamed and a filter's column renamed together. Looked up that way the answer is Follows and the server refuses the rename (Looked_up_by_the_changes_table_the_filters_column_is_not_found_and_the_rename_is_refused, Msg 5074, live). PgExclusionDescriptor.GoesWith is that lookup for a dropped column; there the miss falls to RebuildAround, which is safe. Either the change carries the dependency it touched, or #117's table takes the lookup away from contributors.
5. Dependency.SchemaObject, QualifiedName, SchemaScope
Scope and name are sound as an identity. An index of SQL Server is named within its table: its descriptor's name has no schema and its scope is the table. Two indexes of one name on two tables are two objects, and one is dropped by its table (One_name_on_two_tables_is_no_collision_and_one_of_the_two_is_dropped_by_its_table; Dropping_an_index_leaves_its_namesake_on_another_table, live).
Dependency.SchemaObject has to change: it holds an owner and a QualifiedName and no scope, so a dependency on one of those two indexes equals a dependency on the other (A_dependency_on_an_index_cannot_say_which_tables_index_it_means). Nothing in the kernel reads the case yet (#24), so it costs nothing to change now. SQLite's attached database was not measured: EF Core's provider writes no schema.
6. Impact.Lost, BaseChange
Lost is sound as a case: SQL Server answers it for a dropped table, SQLite for a rebuilt one. What is PostgreSQL's is one cell, a dropped column. On SQL Server that is refused while the index is there (Answered_as_lost_a_dropped_column_is_refused, Msg 5074 and Msg 4922, live) and has to be RebuildAround (Dropping_an_included_column, Dropping_a_column_the_filter_reads, Dropping_a_key_column, live). The same for an altered type (Answered_as_unaffected_an_altered_type_is_refused, Msg 5074). The table is the provider's, the union holds both.
The plan's line that a changed computation is a drop and an add "is read from the generator's text, not run" on SQL Server is now run: Making_a_key_column_a_computed_one applies, and Answered_as_unaffected_a_column_made_computed_is_refused (Msg 5074, Msg 4922, live).
Has to change:
ColumnAltereddoes not say what was altered. SQL Server refuses a change of type under an index, takes a change of nullability (A_change_of_nullability_did_not_need_the_index_out_of_its_way, live), and for a default EF Core writes noALTER COLUMNat all (A_default_added_to_a_key_column_rebuilds_the_index_although_no_column_is_altered). The contributor cannot tell the three apart, so it drops and builds the index for each (A_default_did_not_need_the_index_out_of_its_way_and_rebuilds_it, live, by the index's storage). On a large table that rebuild is the cost of the migration. EF Core's own generator answers the same question for an index of its own by what was altered: out of the way for a type, left through nullability, and noALTER COLUMNfor a default (EF_Core_takes_its_own_index_out_of_the_way_for_a_change_of_type_alone).RebuildAroundis an answer SQLite cannot take. Answered toTableRebuilt, the index is dropped, created and then lost with the old table (Today_an_index_answered_as_rebuilt_around_the_rebuild_is_lost_without_a_word, On SQLite an object created in the migration that rebuilds its table is lost in silence #145).Lostis the only answer that is loud there, and only for an object that keeps its name. The same holds for the column the index reads: altered or dropped, the provider rebuilds the table, and answeredRebuildAroundthe migration applies and the index is gone (An_altered_column_under_the_index_fails_the_migration_as_a_rebuild_does,A_dropped_column_under_the_index_fails_the_migration_as_a_rebuild_does, each failing on that answer).- The answer to
TableDroppeddecides nothing. An index on a table that goes is no longer declared, and the planner drops it as such before the table, whatever the contributor answers (A_dropped_tables_index_is_dropped_before_the_table): answeredRebuildAroundin place ofLost, not one of the 171 tests fails. It is a mandatory question without a case, at least for an object of a table. - By reading, for Provider effect adapters: what a MigrationOperation does is the provider package's to say, not the kernel's #116:
TableRebuiltis in the union for one provider and is produced by comparing the provider's name. The SQLite probe confirms it is asked, also for a renamed table whose key is named after it (A_renamed_table_whose_key_is_named_after_it_is_a_rebuild_and_fails_as_one).
7. SchemaPlacement, SchemaChange.InPlace, SchemaSql.Statement
AfterTables and the fixed order are sound for an index, the pair of #99 included: a rename whose old name EF Core takes becomes a rebuild, and the other way it stays a rename (An_index_of_EF_Cores_takes_the_name_a_renamed_index_gives_up, A_renamed_index_takes_the_name_of_an_index_EF_Core_drops, live).
Has to change:
- A statement that is compiled apart from its batch. EF Core 11 writes a migration into a script as one batch, idempotent or not. SQL Server binds a filter's columns when it compiles the batch. The kernel's own plan for a renamed filter column (drop, EF Core's
sp_rename, create) therefore applies by commands and does not compile as a script: Msg 207, in both scripts (Written_as_a_plain_statement_the_create_fails_the_script, live). EF Core writes its own filtered index throughEXECin an idempotent script and in no other (EF_Cores_own_filtered_index_is_written_through_EXEC_in_an_idempotent_script_alone, live). The contributor writesEXEC(N'…')always, since a statement is rendered at design time, before anyone has said how it is applied; with that the scripts apply, also to a database at any migration (The_migrations_script_leaves_what_EnsureCreated_builds,The_idempotent_script_applies_to_a_database_at_any_migration, live).StatementhassuppressTransactionand nothing for this. A mark the generator decorator acts on is The plan as ordered actions with a name ledger, not two lists around EF Core's operations #115's point 4. - A statement that needs a session option.
sqlcmdconnects withQUOTED_IDENTIFIERoff unless it is started with-I, and SQL Server then refuses to create a filtered index: this contributor's insideEXEC, and EF Core's own (With_QUOTED_IDENTIFIER_off_a_filtered_index_is_refused, Msg 1934, live; an unfiltered index is taken). The test sets the option off on SqlClient's session; through sqlcmd itself the same is measured by hand inspikes/D.ScriptsAndBundles/README.md. So the script tests above say that the batches compile and apply on a session as SqlClient and Management Studio open it. They do not saysqlcmd -i script.sqlapplies them, and for a filtered index it does not. Nothing inStatementsays what a statement needs of its session. - SQL as a literal.
sp_renametakes the index's qualified, delimited name as a string, andEXECtakes a statement as one. The only way from composed SQL toLiteralisSqlFragment.ToString(), which is "for messages and tests". The rename works (Renaming_the_index_keeps_the_index, live, by the index's storage), by going around. - A create after SQLite's rebuild cannot be said. On SQLite an object created in the migration that rebuilds its table is lost in silence #145: three migrations that apply and leave no index, beside the one that fails loudly.
8. Identifier, SqlName, SqlOperator, SqlFragment
As the row says: none has a public constructor (A_value_of_a_statement_has_no_public_constructor), so a dialect derives from SchemaDialect and calls its base for every value.
Identifieris sound: delimiting is the provider's helper's and the limit is the model's. Brackets and reserved words need nothing, since an identifier is always delimited.SqlNamehas to change. Bare or delimited is decided by PostgreSQL's rule, lower case bare and everything else delimited, and without knowing what the name is. SQL Server needs it the other way round, twice: a filegroup calledprimaryis written bare and refused (Msg 156), a collation is delimited and refused (Msg 102) (A_name_the_database_defines_is_delimited_by_PostgreSQLs_rule, live).Delimit(SqlName)can be overridden, and no one rule serves both kinds.SqlOperatorhas to change. The base's grammar is PostgreSQL's:&&and-|-are operators on SQL Server and SQLite, andLIKE,IS NOTandGLOBare none on either (The_operator_grammar_of_both_providers_is_PostgreSQLs). That a dialect can refuse more and can accept nothing more is by reading:Operatoris virtual and its value has no public constructor. Neither probe dialect overrides it, so no test narrows anything. Neither index needed an operator.SqlFragment: see 7, the literal.
9. KeyTarget.Of, Predicate.Of
#132 gave both a SqlSpelling. What is left has to change with #114:
- There is one spelling, behind a private constructor (
There_is_one_spelling_and_a_package_cannot_make_another). Passed by another provider's package it writes PostgreSQL's SQL: SQL Server refuses its boolean (The_server_refuses_what_the_one_spelling_writes_for_a_boolean, Msg 102 and Msg 10735, live), SQLite itsTrim, for two reasons that are each enough: the string that begins withEis a syntax error, and with a string of SQLite's own there is no functionbtrim(SQLite_refuses_what_the_one_spelling_writes_for_Trim, by both messages). The probes' filter and expression are templates written by hand, which works. - A filter needs more than a spelling.
x.Tag != "blocked"is written as EF Core's query writes it, withOR … IS NULL, and SQL Server's filtered index takes noOR(The_server_refuses_the_null_compensation_of_an_inequality_in_a_filter, Msg 156, live). A provider has to be able to refuse a construct for the place it is written in, not only to spell it.
Found on the way
- On SQLite an object created in the migration that rebuilds its table is lost in silence #145: on SQLite an object created in the migration that rebuilds its table is lost in silence.
- CI: a failing test does not fail the Test and Integration lanes, since dotnet test is piped to tee without pipefail #150: a failing test did not fail the
TestandIntegrationlanes of CI (dotnet test | teewithoutpipefail). Fixed by fix: a failing test fails the Test and Integration tests steps #158 for every step of the file, the new lane's among them. - EF Core's own, not filed: a column renamed and a filtered index created on its new name in one migration do not compile as a migrations script (Msg 207); the idempotent script is fine. Measured in
EF_Cores_own_filtered_index_is_written_through_EXEC_in_an_idempotent_script_alone.
Activity
CaffeinatedCoder commentedon Nov 16, 2026
Two facts from spike D (#19) that bear on a SQL Server contributor whose scripts are applied, measured on SQL Server 2022 on 2026-11-16:
-I. By hand, sqlcmd 18.7 against 16.0.4305.5:CREATE INDEX … WHERE …fails with Msg 1934 (QUOTED_IDENTIFIER) and creates nothing, and sqlcmd exits 0. With-Ithe index is created. SqlClient sets the option on, so a test that applies a script through SqlClient passes where sqlcmd's defaults fail.GOstands where a transaction ends, not after each statement; 11.0.0 writes the same). A statement that must start its batch fails inmigrations scriptand in--idempotent: A trigger on SQL Server has to be written inside EXEC, and the contract cannot write a statement with line breaks into a string constant #156 has it forCREATE TRIGGER.CREATE INDEXis not such a statement, andCREATE INDEX … WITH (ONLINE = ON)with the transaction suppressed applied from both scripts and from a bundle, twice each.test: a second provider against the public contract, on SQL Server 20…
chore: the SQL Server 2022 lane
test: a second provider against the public contract, on SQL Server 20…
chore: the SQL Server 2022 lane
CaffeinatedCoder commentedon Nov 25, 2026
Closed as done. The evidence is on
main, and every row of the audit is answered or has an issue of its own: the table at the top of this issue says which. What is still open is held by #200 (name claims and their comparison, an extension as a prerequisite, the grammar of names and operators), #156 and #115 (where a statement stands), and #29 (the SQL Server package itself).