Skip to content

test: give the desktop discovery tests a 30s timeout - #43

Merged
MrCoder merged 1 commit into
mainfrom
fix/desktop-discovery-test-timeout
Nov 19, 2026
Merged

MrCoder merged 1 commit into
mainfrom
fix/desktop-discovery-test-timeout

Conversation

@MrCoder

@MrCoder MrCoder commented Nov 19, 2026

Copy link
Copy Markdown

PR review support materials

main CI, test (1) shard, run 44624804474 (two attempts)
 tests/localDesktopDiscovery.test.ts
   startServer(...)  ──▶  default 5000 ms test timeout  ──▶  "Test timed out in 5000ms"

Before and After

Before (main c67db04) After (this PR)
Timeout of both tests in localDesktopDiscovery.test.ts 5000 ms (vitest default) 30 000 ms (same value other server tests use)
main CI, shard 1 failed twice on the first test not yet run
Local run of the file passes, takes about 11 s passes, takes about 11 s

What you must know

The cause is a hypothesis, not a proven finding: the file needs about 11 s locally because startServer is slow, and a loaded CI shard crosses 5 s. I did not reproduce the timeout locally. If main CI stays red after this PR, the cause is something else.

Summary

tests/localDesktopDiscovery.test.ts
  it(..., async () => { ... })        →  it(..., async () => { ... }, 30_000)   (x2)

Evidence

Merge Danger

Door: two-way

Blast Radius: one test file; no product code.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@MrCoder
MrCoder merged commit 6271f1c into main Nov 19, 2026
10 checks passed
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