Skip to content

tests: lookup-timeout allowance for the Windows-flaking daemon suites - #575

Merged
bompus merged 1 commit into
fork/consolidatedfrom
test/windows-daemon-flake
Oct 28, 2026
Merged

bompus merged 1 commit into
fork/consolidatedfrom
test/windows-daemon-flake

Conversation

@bompus

@bompus bompus commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • daemon-registry and mcp-daemon suites set CODEGRAPH_PROCESS_LOOKUP_TIMEOUT_MS=60000 in beforeAll, matching daemon-lock-holder.test.ts.
  • Root cause of three recent Windows CI flakes: a loaded runner's PowerShell Get-CimInstance exceeds the 5 s production lookup timeout → describeProcess falls back to tasklist (no command line) → classifyLockHolder returns unknown → stopDaemonAt reports unverified instead of not-running; handovers wait on the same probes. The env propagates to spawned daemon children.

Test plan

  • both suites green locally, 43 tests

Both flaked on Windows CI (unverified vs not-running; a 44s handover
timeout): a loaded runner's PowerShell can exceed the 5 s production
lookup timeout, and a timed-out probe has no command line to classify.
daemon-lock-holder.test.ts already sets 60 s; extend the same env to
the two suites that lacked it.
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 28 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between a42f5cb and 04e0501.

Files selected for processing: 2
  • __tests__/daemon-registry.test.ts
  • __tests__/mcp-daemon.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@bompus

bompus commented Oct 28, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@bompus
bompus merged commit de5a7b8 into fork/consolidated Oct 28, 2026
4 checks passed
@bompus
bompus deleted the test/windows-daemon-flake branch October 28, 2026 03:08
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