Support Windows hosts
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- android, node.js, react-native, typescript
Research direction
Start with the linked open issues #183, #191, #222, #216, #218, #219, #225, and #217; each describes a Windows-specific failure to investigate. Work spans the CLI, Jest runner, device lock, and Android, Vega, and Web platforms. Done means those platforms run end to end on Windows 11, the pinned Jest preset resolves, path, lock, and process handling work like POSIX, and the unit suite passes on Windows CI.
Written by the indexing model from the issue text.
Description
Harness runs on macOS and Linux today. This issue tracks the work to make Harness run on Windows hosts: the CLI, the Jest runner, the device lock, and the Android, Vega, and Web platforms.
Each linked issue reports a Windows-specific failure, or one that was observed on a Windows host. Closed items are already fixed and are listed for reference.
Open
- #183: Windows Android SDK path not found
- #191: Android platform fails on Windows hosts (the umbrella for Android; #183 and #201 are its first two failures)
- #222: On Windows, Jest cannot find the react-native-harness preset
- #216: On a Windows host, a test's file name reaches the device with backslashes
- #218: On Windows, the device lock fails while another run deletes a lock file
- #219: platform-vega's Metro enhancer test fails on Windows
- #225: The pre-push hook builds the same packages twice at once (two
tsc --buildruns collide on Windows) - #217: Timeout diagnostics lose the promise a hung test awaits once it is garbage-collected (flaked on Windows CI)
- #259: On Windows, sdkmanager.bat and avdmanager.bat fail on any argument
- #260: A user's ANDROID_AVD_HOME is overwritten with ~/.android/avd
- #261: platform-ios's crash diagnostics test fails on Windows because it expects forward slashes
Closed
- #201: Android runner can't start on a Windows host: SDK binaries are looked up without .exe or .bat
- #232: The iOS package's tests never run (Windows also failed to load two files that resolve
package.jsonthroughimport.meta.url)
Done when
- The Android, Vega, and Web platforms run end to end on a Windows 11 host.
- The Jest preset resolves on Windows with the Jest version the CLI pins.
- Path, lock, and process handling behave the same on Windows and POSIX.
- The unit test suite passes on a Windows CI job.
- Dominant language
- TypeScript
- Stars
- 335
- Forks
- 23
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 54
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from callstackincubator/react-native-harness
-
On Windows, `report.test.ts`'s unwritable-folder case creates `\dev\null\nope` at the drive root instead of meeting an unwritable folderPossibly taken @TheSeydiCharyyev claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
callstackincubator/react-native-harness#301 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
callstackincubator/react-native-harness#296 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
callstackincubator/react-native-harness#128 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
callstackincubator/react-native-harness#303 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
callstackincubator/react-native-harness#300 ·
Maintainers usually reply within 1 day
All issues in callstackincubator/react-native-harness
Similar issues
-
bug ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
PhyberApex/kuroshiro#1687 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
microsoft/monaco-editor#5563 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
awslabs/visual-asset-management-system#937 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100