From fe42f68a5e1b2c9d56598bd64ef937fbb0437721 Mon Sep 17 00:00:00 2001 From: BillyOutlast <172061051+BillyOutlast@users.noreply.github.com> Date: Wed, 16 Sep 2026 03:09:49 -0300 Subject: [PATCH] =?UTF-8?q?fix(cache):=20green=20the=20full=20gate=20?= =?UTF-8?q?=E2=80=94=20redisVectorStore=20typecheck=20+=20env-doc-sync?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - open-sse/services/cache/redisVectorStore.ts: RedisLike was missing the optional disconnect() method that close() already calls as an ioredis fallback when quit() isn't available — 2 TS2339 errors under check:open-sse-typecheck. - scripts/check/check-env-doc-sync.mjs: allowlist LEMONADE_URL/KEY/MODEL, same class as the existing NVIDIA_BASE_URL/MODEL entry — they only configure the gated tests/integration/semantic-cache-lemonade.test.ts live test against an operator's local Lemonade server (self-skips when unreachable), never OmniRoute runtime config. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com> --- open-sse/services/cache/redisVectorStore.ts | 1 + scripts/check/check-env-doc-sync.mjs | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/open-sse/services/cache/redisVectorStore.ts b/open-sse/services/cache/redisVectorStore.ts index 7841655ad4..96af1d8e77 100644 --- a/open-sse/services/cache/redisVectorStore.ts +++ b/open-sse/services/cache/redisVectorStore.ts @@ -31,6 +31,7 @@ export interface RedisLike { keys(pattern: string): Promise; call?(command: string, ...args: unknown[]): Promise; quit?(): Promise; + disconnect?(): void; } export interface RedisVectorStoreOptions { diff --git a/scripts/check/check-env-doc-sync.mjs b/scripts/check/check-env-doc-sync.mjs index d333a89649..72d684f38d 100644 --- a/scripts/check/check-env-doc-sync.mjs +++ b/scripts/check/check-env-doc-sync.mjs @@ -213,6 +213,12 @@ const IGNORE_FROM_CODE = new Set([ // NVIDIA diagnostic/test helpers used only by ad-hoc scripts. "NVIDIA_BASE_URL", "NVIDIA_MODEL", + // Lemonade embedding-provider integration test (tests/integration/semantic-cache-lemonade.test.ts) + // — points the gated live test at an operator's local Lemonade server; the test skips itself + // when the endpoint is unreachable, never OmniRoute runtime config. + "LEMONADE_URL", + "LEMONADE_KEY", + "LEMONADE_MODEL", // Discord integration ad-hoc script (scripts/ad-hoc/mesh-send.mjs) — // operator-supplied bot credentials, not user-facing OmniRoute config. "BOT_TOKEN",