mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-21 14:22:14 +03:00
fix(cache): green the full gate — redisVectorStore typecheck + env-doc-sync
- 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>
This commit is contained in:
committed by
diegosouzapw
parent
f6b314cf9d
commit
fe42f68a5e
1
open-sse/services/cache/redisVectorStore.ts
vendored
1
open-sse/services/cache/redisVectorStore.ts
vendored
@@ -31,6 +31,7 @@ export interface RedisLike {
|
||||
keys(pattern: string): Promise<string[]>;
|
||||
call?(command: string, ...args: unknown[]): Promise<unknown>;
|
||||
quit?(): Promise<string>;
|
||||
disconnect?(): void;
|
||||
}
|
||||
|
||||
export interface RedisVectorStoreOptions {
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user