Skip to content

Fix Vitest worker timeout in root test suite #322

@Mosas2000

Description

@Mosas2000

The root test command is not reliable right now.

Running npm test from the repository root completes the contract tests successfully, but Vitest still exits non-zero with an unhandled worker error:

Error: [vitest-worker]: Timeout calling "onTaskUpdate"

Observed behavior:

  • tests/tipstream.test.ts passes all 91 tests.
  • The process still exits with code 1 after roughly 94 seconds.
  • This makes the root validation command fail even when the tests themselves pass.

Why this matters:

  • CI and local validation can report a failure even when the suite is green.
  • The timeout masks whether the root test run is actually healthy.

Reproduction:

  1. cd TipStream
  2. npm test

Expected result:

  • The root test suite should finish cleanly with exit code 0 when all tests pass.

Notes:

  • The failure appears to come from Vitest worker communication rather than an assertion failure.
  • Please investigate the root test configuration and the contract test output volume or runtime behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions