mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-09-27 11:09:16 +00:00
* refactor(redis): import script cache proposal from #16069
Squashed copy of PR #16069 at 7e994194c2, rebased onto current dev without changing the original branch.
Co-authored-by: Marco Beretta <81851188+berry-13@users.noreply.github.com>
* refactor(redis): cache independent claims without queueing streams
---------
Co-authored-by: Lia <lia@librechat.ai>
Co-authored-by: Marco Beretta <81851188+berry-13@users.noreply.github.com>
30 lines
1.2 KiB
TypeScript
30 lines
1.2 KiB
TypeScript
import { defineConfig } from '@playwright/test';
|
|
import mockConfig from './playwright.config.mock';
|
|
|
|
/** Browser scenarios whose behavior crosses the generation stream-store boundary. */
|
|
export default defineConfig({
|
|
...mockConfig,
|
|
/**
|
|
* Every stream event crosses a real Redis round-trip on this lane, so waits that
|
|
* sit comfortably against the in-memory store run much closer to their budget —
|
|
* pause/resume and rehydrate paths most of all, since they replay a whole job.
|
|
* The suite is serial (`workers: 1`), so this is per-operation latency rather
|
|
* than contention, and it is why this lane reports flaky runs the memory shards
|
|
* never produce. Give it a larger default assertion budget and one more retry.
|
|
*/
|
|
retries: process.env.CI ? 3 : 0,
|
|
expect: { ...mockConfig.expect, timeout: 20_000 },
|
|
testMatch: [
|
|
/completion\.spec\.ts/,
|
|
/deferred-tools-hitl\.spec\.ts/,
|
|
/model-spec-icons\.spec\.ts/,
|
|
/steering\.spec\.ts/,
|
|
/steering-escalation\.spec\.ts/,
|
|
/streaming\.spec\.ts/,
|
|
/subagent-activity\.spec\.ts/,
|
|
/thread-fold\.spec\.ts/,
|
|
/tool-approvals\.spec\.ts/,
|
|
/usage\.spec\.ts/,
|
|
/scenarios\/redis-stream\.spec\.ts/,
|
|
],
|
|
});
|