Repository navigation
Description
Problem
The PostgreSQL analysis for 5.5.0 seeded defects into the satellite; the full suite (372 tests) passed with each of these applied, so nothing guards them:
| Seed | What it would break |
|---|---|
EndStatement(builder, suppressTransaction: false) in the parts path |
CREATE INDEX CONCURRENTLY runs inside the transaction and fails at apply |
ExclusionDescriptor.Equals without Deferrable/InitiallyDeferred |
switching IsDeferrable() on an existing constraint produces no migration (silent) |
ExclusionDescriptor.Equals without Method |
changing UseMethod produces no migration (silent) |
exclusion return [.. operations, .. drops, …] |
the drop ordering CLAUDE.md calls load-bearing is untested for exclusion constraints |
nested complex property ignores HasJsonPropertyName |
index never used, filter checks the wrong key (silent) |
TrimStart renders rtrim |
wrong index expression (silent) |
"interval" removed from StableTextInputTypes |
TimeSpan JSON members get a non-IMMUTABLE cast |
null != x.P rendered IS NULL |
negation lost (silent) |
no '' doubling in typed string literals, in the JSON ARRAY[...] form, or " in Quote |
no test has a quote in a typed literal, a JSON key or an identifier |
char.IsAsciiLetter instead of IsAsciiLetterOrDigit in BuildJsonPath |
JSON keys with digits take the ARRAY form and stop matching EF's '{addr2,City}' (silent) |
The current code is right in every case; the gap is the guard. (#72 now pins TrimStart. #68 pins a null on the right, but not null != x.P: that seed still passed the suite on 2026-10-20, so it needs its own guard. A seed that removes Deferrable or Method from Equals alone, not from GetHashCode, is silent only through the rename detection: a rename plus that change became a bare RENAME CONSTRAINT.)
Change
One assertion per row, on rendered SQL or on the operation list; for Deferrable and Method, a source/target pair differing only in that facet, asserting a drop/add pair. Each proven with verify-the-guard against its seed.
Activity
tests: guard the ten defects seeded into the PostgreSQL satellite
Merge pull request #114 from CaffeinatedCoder/tests/83-satellite-guards