Skip to content

test: raise vitest test timeout to 30s for slow CI runners#107

Merged
jmcte merged 1 commit into
mainfrom
claude/fix-failing-ci-ff94P
May 15, 2026
Merged

test: raise vitest test timeout to 30s for slow CI runners#107
jmcte merged 1 commit into
mainfrom
claude/fix-failing-ci-ff94P

Conversation

@jmcte
Copy link
Copy Markdown
Contributor

@jmcte jmcte commented May 15, 2026

Summary

  • The test_self_hosted_trusted job runs pnpm test:coverage. test/config.property.test.ts runs 40 fast-check iterations per property, each doing real filesystem I/O (mkdtempSync + YAML write + loadConfig).
  • Under v8 coverage instrumentation on the slower self-hosted Synology runner, test/config.property.test.ts:29 exceeded vitest's default 5s per-test timeout (Test timed out in 5000ms). This is why plain pnpm test passes but pnpm test:coverage fails (observed on PR build(deps-dev): Bump fast-check from 4.7.0 to 4.8.0 #104).
  • Added testTimeout: 30000 to vitest.config.ts — a conventional, low-blast-radius change that tolerates slow CI hardware while still catching genuinely hung tests. Coverage thresholds and numRuns are unchanged.

Test plan

  • pnpm lint passes on Node 24.14.1
  • pnpm test:coverage passes on Node 24.14.1 (coverage stable at 75.36% branches)
  • pnpm build passes

https://claude.ai/code/session_01QxQ71Yrf2Cn6zVfM4LY7AR


Generated by Claude Code

The config property tests perform real filesystem I/O on every
fast-check iteration. Under v8 coverage instrumentation on the
self-hosted runner this exceeds vitest's default 5s per-test
timeout, failing `pnpm test:coverage` while plain `pnpm test`
passes.

https://claude.ai/code/session_01QxQ71Yrf2Cn6zVfM4LY7AR
@athena-omt athena-omt added area:infra Infrastructure, CI, release, governance, scripts, or repo setup. lane:hephaestus Hephaestus build/repo-ops lane. review:athena Athena review governance requested. risk:medium Medium-risk change; normal care required. state:waiting-checks Waiting for CI/check status to settle. status:needs-review PR is ready for Athena review. area:ai AI/model/agent behavior surface. labels May 15, 2026
@jmcte jmcte enabled auto-merge (squash) May 15, 2026 18:59
@jmcte jmcte merged commit b93c274 into main May 15, 2026
12 checks passed
@jmcte jmcte deleted the claude/fix-failing-ci-ff94P branch May 15, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ai AI/model/agent behavior surface. area:infra Infrastructure, CI, release, governance, scripts, or repo setup. lane:hephaestus Hephaestus build/repo-ops lane. review:athena Athena review governance requested. risk:medium Medium-risk change; normal care required. state:waiting-checks Waiting for CI/check status to settle. status:needs-review PR is ready for Athena review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants