Repository navigation
Run the tests skipped on Windows in Windows CI - #9041
Conversation
Windows CI ran only the GenType compiler unit tests and skipped the runtime docstrings, analysis, tools and gentype tests and the unicode and duplicated_symlinked_packages build tests. They now run there. The async overlap unit test waited for its domains by spinning, which starved the spawning domain on few cores; its domains now sleep. The analysis harness writes its source copy in binary mode, the analysis and duplicate-package tests normalize Windows path separators, the tools test passes cmd.exe a backslash PPX path, and CI checks out symlinks and installs make. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Christoph Knittel <ck@cca.io>
Changelog🏠 Internal
Semantic Diff2 commits · Full page Run the tests skipped on Windows in Windows CI320399b · cknitt + Claude · Oct 25, 2026, 08:41 UTC Windows CI ran only the GenType compiler unit tests and skipped the runtime docstrings, analysis, tools and gentype tests and the unicode and duplicated_symlinked_packages build tests. They now run there. The async overlap unit test waited for its domains by spinning, which starved the spawning domain on few cores; its domains now sleep. The analysis harness writes its source copy in binary mode, the analysis and duplicate-package tests normalize Windows path separators, the tools test passes cmd.exe a backslash PPX path, and CI checks out symlinks and installs make. ✨ Run the test scripts through bash in the test Makefiles3ca999e · cknitt + Claude · Oct 25, 2026, 10:59 UTC · new The analysis and tools Makefiles ran their scripts as ./test.sh. Make runs a recipe line without shell syntax directly rather than through SHELL, and Windows cannot run a shell script as a program, so Windows CI failed with error 193. The recipes now invoke bash, which several shebang-less scripts needed for brace expansion anyway. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9041 +/- ##
=======================================
Coverage 81.33% 81.33%
=======================================
Files 456 456
Lines 64042 64042
=======================================
Hits 52086 52086
Misses 11956 11956
🚀 New features to boost your workflow:
|
The analysis and tools Makefiles ran their scripts as ./test.sh. Make runs a recipe line without shell syntax directly rather than through SHELL, and Windows cannot run a shell script as a program, so Windows CI failed with error 193. The recipes now invoke bash, which several shebang-less scripts needed for brace expansion anyway. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Christoph Knittel <ck@cca.io>
rescript
@rescript/belt
@rescript/darwin-arm64
@rescript/linux-arm64
@rescript/linux-x64
@rescript/runtime
@rescript/win32-x64
commit: |
|
Developer playground preview: https://rescript-lang.github.io/rescript/dev-playground/?version=pr-9041 |
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Windows CI ran only the GenType compiler unit tests and skipped several suites. This PR runs them on Windows:
unicodeandduplicated_symlinked_packagesbuild testsFixes needed to get them passing:
Domain.spawnstops the world, so on a runner with few cores the spinning domains starved the spawning domain and the test timed out. The domains now sleep instead.filePathin completion data to forward slashes.-ppxthrough the system shell, andcmd.exeneeds backslashes in the program path.duplicated_symlinked_packages: checks that the fixture was checked out as a real symlink. Without one it skips locally and fails on CI. It also normalizes path separators in the error output.core.symlinks, puts Git Bash back onPATHbefore these steps, and installsmakeif it is missing.Still skipped on Windows, to be handled separately:
Checklist
changes/README.md), or no release notes are needed and a maintainer should applychangelog:skip.git commit -s).🤖 Generated with Claude Code