From f75bd7538987f74553bdaaad96744a4efab5b39b Mon Sep 17 00:00:00 2001 From: Webman Date: Wed, 26 Aug 2026 15:39:57 -0500 Subject: [PATCH] test(sse): bump hard-lease inventory count for #11495 sweep query (#11677) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merged via /merge-batch (2026-08-26, v3.8.51). Boarded no worktree combinado; validação única: typecheck/complexity/cognitive-complexity/file-size/changelog verdes, lint nos mesmos 228 achados pré-existentes confirmados contra o tip puro, testes focados passando. Obrigado pela contribuição. --- changelog.d/maintenance/11495-hard-lease-inventory-count.md | 1 + tests/unit/hard-session-lease-bypass-inventory.test.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelog.d/maintenance/11495-hard-lease-inventory-count.md diff --git a/changelog.d/maintenance/11495-hard-lease-inventory-count.md b/changelog.d/maintenance/11495-hard-lease-inventory-count.md new file mode 100644 index 0000000000..3f02b3f326 --- /dev/null +++ b/changelog.d/maintenance/11495-hard-lease-inventory-count.md @@ -0,0 +1 @@ +- **test(sse):** bump the hard-lease connection-query inventory for `src/lib/tokenHealthCheck.ts` to 2 — the verify-only web-cookie sweep added by #11495 split the single `getProviderConnections` call into oauth + cookie variants, which the frozen inventory had not tracked ([#11495](https://github.com/diegosouzapw/OmniRoute/pull/11495)). diff --git a/tests/unit/hard-session-lease-bypass-inventory.test.ts b/tests/unit/hard-session-lease-bypass-inventory.test.ts index a12c6ec80b..133a96c842 100644 --- a/tests/unit/hard-session-lease-bypass-inventory.test.ts +++ b/tests/unit/hard-session-lease-bypass-inventory.test.ts @@ -137,7 +137,8 @@ const EXPECTED: Record> = { "src/lib/proxyEgress.ts": 1, "src/lib/quota/connectionRecovery.ts": 2, "src/lib/sync/bundle.ts": 1, - "src/lib/tokenHealthCheck.ts": 1, + // #11495: verify-only sweep queries oauth + cookie connections + "src/lib/tokenHealthCheck.ts": 2, "src/lib/tokenHealthCheckCopilot.ts": 1, "src/lib/usage/callLogs.ts": 1, "src/lib/usage/codexResetCredits.ts": 1,