From 41d76505a1f19b0b5baef4dc98ff47bc0af03940 Mon Sep 17 00:00:00 2001 From: "lia-by-librechat[bot]" <328778573+lia-by-librechat[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 18:00:42 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A9=EF=B8=8F=20ci:=20Allow=20More=20Ti?= =?UTF-8?q?me=20for=20Chrome=20Startup=20in=20Client=20Build=20Recovery=20?= =?UTF-8?q?(#16330)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lia (cherry picked from commit 094179f75444c9e25e03ac1e2029e75e5c772c5a) Original-PR: https://github.com/LibreChat-AI/LibreChat/pull/16330 --- e2e/client-build.test.mjs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/e2e/client-build.test.mjs b/e2e/client-build.test.mjs index 2a7286bd01..dd4c6f058d 100644 --- a/e2e/client-build.test.mjs +++ b/e2e/client-build.test.mjs @@ -14,8 +14,8 @@ const root = fileURLToPath(new URL('../', import.meta.url)); // without requiring a database or identity provider. It does not simulate an active model run. test( 'an old tab retains its bundle identity and draft across a worker update', - /** Allow setup plus both activations; individual browser waits remain bounded. */ - { timeout: 60000 }, + /** Allow a slow CI browser launch plus both activations; individual browser waits remain bounded. */ + { timeout: 90000 }, async () => { const temporary = await mkdtemp(path.join(tmpdir(), 'librechat-builds-')); const appHtml = await readFile(path.join(root, 'client/index.html'), 'utf8'); @@ -78,7 +78,9 @@ test( browser = await chromium.launch({ headless: true, channel: process.env.PLAYWRIGHT_CHANNEL, - timeout: 10000, + // CI runners can take longer than 10s to start Chrome under contention. + // Keep startup independently bounded; page/worker waits still use 10s. + timeout: 30000, }); const page = await browser.newPage(); page.setDefaultTimeout(10000);