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,