Skip to content

fix(test): bump vitest default timeout to 15s for CI stability#150

Merged
jeff-r2026 merged 1 commit into
mainfrom
fix/vitest-timeout-gh
Jul 3, 2026
Merged

fix(test): bump vitest default timeout to 15s for CI stability#150
jeff-r2026 merged 1 commit into
mainfrom
fix/vitest-timeout-gh

Conversation

@jeff-r2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bump vitest's testTimeout/hookTimeout from the 5s default to 15s.
  • The internal Coding CI (tnpm) runner can be resource-constrained under parallel test load, which caused otherwise-fast/mocked unit tests (agent-skills, ci-extract-mr, import-dir, etc.) to sporadically time out at exactly 5000ms — reproduced twice via manual pipeline re-runs.
  • This went unnoticed until now because Coding CI wasn't triggering on main-targeted MRs due to the stale master branch reference fixed in fix(ci): trigger Coding CI on main branch instead of stale master #149.

Test plan

  • npx vitest run locally: full suite passes except one pre-existing, unrelated assertion failure in import-repo-merge.test.ts (not a timeout, confirmed to fail identically without this change too — tracked separately).
  • npx tsc --noEmit passes.

Made with Cursor

CI workers can be resource-constrained under parallel test load, which
caused otherwise-fast unit tests to sporadically exceed vitest's 5s
default timeout (e.g. agent-skills, ci-extract-mr, import-dir suites),
observed on the internal Coding CI runner.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jeff-r2026 jeff-r2026 merged commit dadb7dd into main Jul 3, 2026
7 checks passed
@jeff-r2026 jeff-r2026 mentioned this pull request Jul 6, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant