Open
Bug 2026715
Opened 6 months ago
Updated 5 months ago
[firefox-devtools-mcp] Windows: Vitest fork issues with Firefox integration tests
Categories
(Developer Infrastructure :: Firefox MCP, task, P3)
Developer Infrastructure
Firefox MCP
Tracking
(Not tracked)
NEW
People
(Reporter: jdescottes, Unassigned)
Details
(cloned from https://github.com/mozilla/firefox-devtools-mcp/issues/33)
Problem
Vitest has known issues with process forking on Windows when running integration tests that spawn Firefox. The tests hang or fail unpredictably due to how vitest isolates test processes.
Related upstream issues:
Current Workaround
We use a separate test runner (scripts/run-integration-tests-windows.mjs) that runs integration tests directly via Node.js without vitest's process isolation.
The CI workflow detects Windows and automatically uses this runner instead of vitest for integration tests. Unit tests still run via vitest on all platforms.
Ideal Solution
Once vitest fixes the underlying forking issues on Windows, we should:
- Remove the separate Windows test runner
- Use vitest for all tests on all platforms
Labels
- platform: windows
- type: workaround
| Reporter | ||
Updated•6 months ago
|
Blocks: firefox-devtools-mcp
| Reporter | ||
Updated•6 months ago
|
Summary: [firefox-devtoos-mcp] Windows: Vitest fork issues with Firefox integration tests → [firefox-devtools-mcp] Windows: Vitest fork issues with Firefox integration tests
| Reporter | ||
Updated•5 months ago
|
Component: AI for Development → Firefox MCP
| Reporter | ||
Updated•5 months ago
|
No longer blocks: firefox-devtools-mcp
You need to log in
before you can comment on or make changes to this bug.
Description
•