abf1d12e43
test: mock matcher understands UNION existence reads; revive dead update-path mocks
...
parse_and_match_mocks matched mock.type against only the first FROM table —
always 'entity' for hierarchy existence reads — so every merger update-case
mock was silently inert and those cases snapshotted the create path. Now each
UNION arm is matched independently (a mock matching any arm returns once,
mirroring UNION dedup) and the type check accepts any FROM/JOIN table.
Regenerated the five revived cases (their snapshots now show real update /
no-op replace / archive semantics) and added the two previously untestable
probe-disagreement cases: same-row dedup (updates, no error) and id-vs-lookup
conflict (TOO_MANY_LOOKUP_ROWS).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-06 14:05:21 -04:00
d9b4f417f6
merger existence read: UNION the id and lk-lookup probes instead of OR-ing them across the hierarchy join — the OR is un-indexable and full-scans the subtype table on every child merge (one scan per relationship-edge write; surfaced by Castleberry onboarding); each UNION arm uses its own index (pk / lk_) and dedup preserves TOO_MANY_LOOKUP_ROWS semantics
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-05 20:52:29 -04:00
c5d652c6fd
fixed merger ordering issue
2026-06-15 16:41:59 -04:00
813e9ff3c2
more executor reverts
2026-06-11 17:37:34 -04:00
7e28eb2645
added kind to merge notifications, re-instated sql pattern matching
2026-06-11 17:26:07 -04:00
2a8b991269
fixed ordering of all things sql
2026-05-14 05:58:38 -04:00
c129864c89
fixed another org id issue with merger
2026-05-13 16:31:06 -04:00
40e08cbf09
proper test for merge fix for organization_id setting
2026-05-13 15:38:42 -04:00
77af67aef5
beefed up schema compiled properties with cases properties and added tests with cases to queryer and merger
2026-04-16 11:00:26 -04:00
a3bd79deef
jspg stabilized again
2026-04-15 03:08:11 -04:00
8984acaa5f
added jsonb field tests to queryer and merger and fixed a bug there
2026-04-14 13:23:01 -04:00
0017c598e1
chore: JSPG Engine tuple decoupling and core routing optimizations
2026-04-13 22:41:32 -04:00
7c8df22709
massively improves the jspg validator by removing mathmatical functions like allOf, anyOf, ref, etc to effectively use discriminators and OOP with types to determine valid pathing an nno intersections, unions, or guesswork; added cases to replace the former conditionals
2026-04-08 13:08:24 -04:00
ebcdb661fa
maybe working
2026-03-27 19:13:44 -04:00
7523431007
test pgrx no fixes
2026-03-27 18:02:24 -04:00
9c24f1af8f
fixed issue where merge lookups with no changes were not generating a notification
2026-03-27 02:08:45 -04:00
796df7763c
added replaces field to merge for the notification when a lookup is successful
2026-03-27 01:18:36 -04:00
46fc032026
fixed merge lookup issue
2026-03-26 23:49:52 -04:00
3c4b1066df
fixed merger with anchor test issue
2026-03-23 12:25:55 -04:00
a1038490dd
tested nested merging with anchors
2026-03-23 12:05:34 -04:00
882bdc6271
merger now requires a schema id, queryer and merger now use pre-compiled edges for O(1) relations
2026-03-21 20:33:28 -04:00
9f6c27c3b8
support ad-hoc refing without entity types
2026-03-20 15:53:48 -04:00
e01b778d68
jsob and test array handling improved in merger
2026-03-20 05:58:43 -04:00
77bfa4cd18
historical and notify respected
2026-03-20 04:41:35 -04:00
fcd8310ed8
added new and old to changes and pg notify
2026-03-20 01:59:48 -04:00
db5183930d
queryer supports subfiltering now
2026-03-15 07:49:05 -04:00
6de75ba525
merger notification process order testing
2026-03-15 07:31:14 -04:00
732034bbc7
more tests progress
2026-03-12 17:46:38 -04:00
5b183a1aba
test cleanup
2026-03-11 23:19:51 -04:00
be1367930d
test cleanups passing
2026-03-11 21:55:37 -04:00
44ba3e0e18
test cleanup
2026-03-11 21:11:31 -04:00
c007d7d479
test checkpoint
2026-03-11 17:46:08 -04:00
2c74d0a1a6
passing all tests
2026-03-11 17:26:45 -04:00
44be75f5d4
queryer merger test progress
2026-03-11 05:18:01 -04:00