omnigraph/crates
Andrew Altshuler 2d34d7c432
test(engine): pin camelCase @index → scalar-index routing (#283 follow-up) (#286)
Greptile P2 on #285: the #283 tests prove correctness (right rows, type-level
coercion) but not that a camelCase @index equality actually reaches the
scalar-index path — a result-only test passes on a silent full-scan fallback,
exactly the gap testing.md warns about and the bug-case-fix.md validation
checklist (step 5) promised to close.

Add lance-surface Guard 20 (mirrors Guard 16): build a BTREE on a camelCase
column and assert the scan plan contains `ScalarIndexQuery` under the fix's
case-preserving `ident()` expr, and that the pre-fix `col()` expr fails to plan
(it normalizes `repoName` → a nonexistent `reponame`). A regression that breaks
camelCase index routing — or reverts to `col()` — turns this red instead of
degrading to a full scan. The existing e2e (`camelcase_property_filter_executes`)
already guards the engine call-site (a `col()` revert errors there).


Claude-Session: https://claude.ai/code/session_01FQ1Hf4eXLsJmeLUkTYBEw7

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 21:06:13 +03:00
..
omnigraph test(engine): pin camelCase @index → scalar-index routing (#283 follow-up) (#286) 2026-06-19 21:06:13 +03:00
omnigraph-api-types feat(cli)!: query/mutate invoke stored queries by name; server kind-assert (RFC-011 D3) (#247) 2026-06-15 16:52:58 +03:00
omnigraph-cli feat(cli): surface stored-query @description/@instruction in queries list (#280) 2026-06-19 14:26:50 +03:00
omnigraph-cluster fix(cluster): stop cluster-apply crash-loops from the recovery-sidecar trap (#284) 2026-06-19 03:34:15 +03:00
omnigraph-compiler address compiler error review comments 2026-06-18 00:02:21 +03:00
omnigraph-policy release: bump workspace to 0.7.0 2026-06-12 14:12:33 +03:00
omnigraph-server feat(cli): surface stored-query @description/@instruction in queries list (#280) 2026-06-19 14:26:50 +03:00