ktx/packages/cli/test/context/sl
Andrey Avtomonov 5232578d44
fix(sl): stop baking drift-prone counts into overlay summaries (#270)
The auto-generated semantic-layer overlay description embedded
measure/segment/column counts that were computed once and never
recomputed, so the summary drifted and misreported its source after
measures were later appended. Make the auto fallback count-free, since
those counts are already rendered live from the body at `ktx sl list`/
`read` time; this removes the drift class without ever overwriting
human-authored descriptions (the fill-only-when-empty guard is untouched).

Adds a regression test that fails on main and passes after the fix, plus
guards for description preservation and the no-measures fallback.
2026-06-08 15:58:12 +02:00
..
tools test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
description-normalization.test.ts fix(sl): stop baking drift-prone counts into overlay summaries (#270) 2026-06-08 15:58:12 +02:00
dictionary-search.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
local-query.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
local-sl.test.ts feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00
pglite-sl-search-prototype.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
schemas.contract.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
semantic-layer.service.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
sl-dictionary-profile.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
sl-search.service.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
sqlite-sl-sources-index.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00