Skip to content

Tests: server-images and server-search time out under host load even in isolation (pre-existing at v2.100.3) #8853

Closed

Description

@lidge-jun

Client or integration

Other

Area

Other

Summary

On a loaded macOS host, tests/server/server-images.test.ts and tests/server/server-search.test.ts fail heavily, even when each file runs alone. Most failures are this test timed out after 5000ms. The same counts appear at v2.100.3, so this is not a regression. It does make local full-suite evidence unusable on a busy machine:

file (run alone) v2.100.3 dev a14e809
server-images 61 pass / 42 fail (38 timeouts) 59 pass / 46 fail (34 timeouts)
server-search 22 pass / 14 fail (12 timeouts) 21 pass / 16 fail (16 timeouts)

Related: a full bun run test on the same host hit the 900 s main-lane timeout (exit 124) with 1008 files never started. With OCX_TEST_MAIN_TIMEOUT_MS=3000000 it finished in 1719 s with 257 failures, about 211 of which were 5 s timeouts, and server-live.test.ts was killed at its 180 s file cap.

Each test in these files starts a real server and upstream fixtures. Under CPU contention the 5 s per-test default is too tight. Possible fixes: give these server suites a larger per-test timeout, or move them to an isolated lane in scripts/test.ts.

Reproduction

  1. Run a CPU-heavy workload elsewhere on the machine (load average around 6 to 15).
  2. bun run test tests/server/server-images.test.ts at v2.100.3 and at current dev.
  3. Observe the 5000 ms timeouts in both.

Version

v2.100.3 and dev a14e809 / 2589be5

Operating system

macOS (Apple Silicon, 18 cores), shared host with other build lanes (load average 6 to 36 during runs)

Provider and model

n/a (test suite)

Logs or error output

No response

Screenshots and supporting files

No response

Redacted configuration

No response

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Activity

  1. added
    bug
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions