Files
OmniRoute/src/shared/validation
Diego Rodrigues de Sa e Souza aed2a5024c feat(compression): persist RTK grouping config (unlock R5 enableGrouping) (#4207)
The RTK R5 grouping strategy (collapse near-equivalent consecutive lines) is read by the
engine (config.enableGrouping / groupingThreshold) but was unreachable in production: the
rtkConfigSchema (.strict()) rejected the two fields on write and normalizeRtkConfig dropped
them on read, so they could never be anything but undefined.

Add enableGrouping (bool) + groupingThreshold (int, 2..100, default 3) to DEFAULT_RTK_CONFIG,
normalizeRtkConfig, and rtkConfigSchema so the feature is actually settable and survives the
DB round-trip. Default stays OFF — no behavior change for existing configs.

Part of the compression "100% functional" program (audit follow-up).
2026-06-18 19:12:27 -03:00
..
2026-05-26 23:51:47 -03:00
2026-06-07 12:16:33 -03:00
2026-06-17 02:43:21 -03:00
2026-06-17 02:43:21 -03:00