The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(e2e): raise auth bootstrap timeouts to 60s
Steven Enamakel2a8749b2fe86
diff --git a/app/test/e2e/helpers/app-helpers.ts b/app/test/e2e/helpers/app-helpers.tsindex dbed01ac4f..1829ad3c40 100644--- a/app/test/e2e/helpers/app-helpers.ts+++ b/app/test/e2e/helpers/app-helpers.ts@@ -183,7 +183,7 @@ export async function waitForAppReady(* Wait for auth bootstrap side effects after deep-link login.* Ensures the app has rendered, then confirms auth-related API traffic appeared.*/-export async function waitForAuthBootstrap(timeout: number = 20_000): Promise<void> {+export async function waitForAuthBootstrap(timeout: number = 60_000): Promise<void> {await waitForAppReady(timeout);const started = Date.now();while (Date.now() - started < timeout) {diff --git a/app/test/e2e/helpers/shared-flows.ts b/app/test/e2e/helpers/shared-flows.tsindex fdf083bfa5..085e9ce9dc 100644--- a/app/test/e2e/helpers/shared-flows.ts+++ b/app/test/e2e/helpers/shared-flows.ts@@ -859,7 +859,10 @@ export async function completeOnboardingIfVisible(logPrefix = '[E2E]') {// Waiting for that snapshot prevents a slow bootstrap from being mistaken// for an already-onboarded session when the onboarding button has not// mounted yet.- await waitForAuthenticatedCore(20_000);+ // Desktop cold starts can spend most of the core's 60-second startup budget+ // before the loopback session is installed; auth bootstrap must have the+ // same budget instead of expiring at the old 20-second default.+ await waitForAuthenticatedCore(60_000);await walkOnboarding(logPrefix);const marker = await waitForHomePage(15_000);if (marker) return;