You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tests: seeded defects in the core and SQL Server differs that the suite does not catch, and the model-less SQL Server rendering #96
area/indexesComplex-property, composite, unique and filtered indexespackage/coreAffects EFCore.ComplexIndexespackage/sqlserverAffects EFCore.ComplexIndexes.SqlServertestsAdds or changes tests only (harnesses, parity suites); no library code
The core and SQL Server analysis for 5.5.0 seeded defects; the whole suite (363 tests) passed with each applied:
removing Descending from ResolvedIndexPart.Equals/GetHashCode: changing x.A to DbOrder.Desc(x.A) produces no migration (silent)
removing FillFactor, or Clustered and SortInTempDb, from the SQL Server satellite's whitelist: property-level declarations silently lose them. Every SQL Server differ test is entity-level, and BuilderApiParityTests checks that every whitelisted key is reachable from a builder, not that every builder option is whitelisted
skipping TransformIndexAnnotation on the property-level path: INCLUDE paths stay unresolved and the clustered-slot check is skipped
CanRenameIndexes => false on SQL Server
the native-clustered-index branch of ValidateClusteredSlotIsFree
weak coverage: a provider-annotation-only change, a uniqueness-only change and a filter-only change are each caught by one incidental test
no SQL Server snapshot round trip (the analysis wrote one covering all six options, property- and entity-level, a DESC part and a placeholder filter; it passes)
And one harness trap: MigrationHarness.SqlServerSql renders with model: null, which makes EF's SQL Server generator add its pre-2.0 "legacy" IS NOT NULL filter to every unique index (UseLegacyIndexFilters). That hid #88; SQL Server rendering tests should pass the target model, as database update does.
Change
One assertion per seed, each proven with verify-the-guard; a SQL Server snapshot round-trip test; the harness renders SQL Server SQL with the target model.
area/indexesComplex-property, composite, unique and filtered indexespackage/coreAffects EFCore.ComplexIndexespackage/sqlserverAffects EFCore.ComplexIndexes.SqlServertestsAdds or changes tests only (harnesses, parity suites); no library code
Activity