test(web): raise the vitest timeout to 15 s for slow CI runners #62

Merged
amiryahaya merged 1 commit from ci/web-test-timeout into main 2026-10-26 15:54:30 +01:00
Owner

Why

web/src/auth/auth.test.tsx > an administrator creates a child group and sends an invitation… timed out at the vitest default of 5000 ms on a loaded CI runner (Web checks run 29608, #59 head fa32340). 88 of 89 tests passed; the PR touched no web code.

What

testTimeout: 15_000 in web/vitest.config.ts. Passing tests are unaffected; hookTimeout and waitFor keep their own defaults.

Review

Dual-pass done. Ponytail: nothing to fix. Correctness: key valid in the installed vitest 5.0.5, no test relies on a shorter timeout, a hang costs 15 s against a 10 minute job limit.

Coverage

npm run test:coverage: 89/89 tests pass, line coverage 96.34% (gate 80%).

Not verified

How long the slow test takes on the runner; 15 s is a margin, not a measurement.

🤖 Generated with Claude Code

## Why `web/src/auth/auth.test.tsx > an administrator creates a child group and sends an invitation…` timed out at the vitest default of 5000 ms on a loaded CI runner (Web checks run 29608, #59 head `fa32340`). 88 of 89 tests passed; the PR touched no web code. ## What `testTimeout: 15_000` in `web/vitest.config.ts`. Passing tests are unaffected; `hookTimeout` and `waitFor` keep their own defaults. ## Review Dual-pass done. Ponytail: nothing to fix. Correctness: key valid in the installed vitest 5.0.5, no test relies on a shorter timeout, a hang costs 15 s against a 10 minute job limit. ## Coverage `npm run test:coverage`: 89/89 tests pass, line coverage 96.34% (gate 80%). ## Not verified How long the slow test takes on the runner; 15 s is a margin, not a measurement. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
test(web): raise the vitest timeout to 15 s for slow CI runners
All checks were successful
CI / Web checks (pull_request) Successful in 44s
CI / Rust checks (pull_request) Successful in 16m51s
1fdc5992f9
The 5 s default failed a 10-step admin UI test on a loaded runner (#59 Web checks).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.