Repository navigation
Conversation
make test-build ran only the integration suite. The unit tests and the isolated scripts ran only in CI, where each command was spelled out in ci.yml. tests/build_tests/Makefile now has a target per suite (unit, snapshots, verbose, interactive, isolated, integration) and test for all of them; make test-build runs that after building the runtime, and CI calls the single targets. scripts/test.js -build, which runs the projects and the error tests, is now -projects. The integration suite's check for leftover processes matched any process that named the executable in its arguments. Started from make with an absolute path, it found make and itself. It now counts only processes that run the executable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kbf3gLP8xKdoF8ZA2WZNCo Signed-off-by: Christoph Knittel <ck@cca.io>
Changelog🏠 Internal
Semantic Diff4 commits · Full page Run all build system tests from make test-buildd7d9e88 · cknitt + Claude · Nov 27, 2026, 06:16 UTC make test-build ran only the integration suite. The unit tests and the isolated scripts ran only in CI, where each command was spelled out in ci.yml. tests/build_tests/Makefile now has a target per suite (unit, snapshots, verbose, interactive, isolated, integration) and test for all of them; make test-build runs that after building the runtime, and CI calls the single targets. scripts/test.js -build, which runs the projects and the error tests, is now -projects. The integration suite's check for leftover processes matched any process that named the executable in its arguments. Started from make with an absolute path, it found make and itself. It now counts only processes that run the executable. Keep the integration suite running when no process matches on Windowsb2910b3 · cknitt + Claude · Nov 27, 2026, 06:34 UTC Git for Windows' ps has no -o, so the leftover-process check falls back to grep, which exits 1 when it finds nothing. Under set -e that ended the suite before its first test. Let the integration suite run alongside the other build tests7a2f982 · cknitt + Claude · Nov 27, 2026, 09:03 UTC Its check for leftover processes aborts when another process runs its executable. With make -j, the suites of make test-build (or other make targets) could run at the same time on the same binary. The integration target now runs a copy of the binaries, as CI did by hand, and CI no longer makes its own copy. Answers the Codex review on #9445. ✨ Catch leftover watchers again in the integration targeta6d3e56 · cknitt + Claude · Nov 27, 2026, 09:36 UTC · new Each run copied the binaries to a new temporary directory, so the suite's check for leftover processes could never match a watcher from an interrupted earlier run, and the copies piled up after Ctrl-C. The copy now always goes to tmp/integration-bin. The check also counts node running the cli/rescript.js script, the default RESCRIPT is resolved through a relative path that node understands under an MSYS make, and the docs no longer say that make test-build runs the projects. Answers the Fable review of stack #9449. |
✅ Compiler benchmarksAllocated wordsIn total: 638,387,352 → 638,387,081 (±0.00%). Generated projects: 629,071,033 → 629,072,249 (±0.00%). None of the 265 benchmarks changed by 0.1% or more. InstructionsIn total: 9,221,543,221 → 9,221,543,221 (±0.00%). None of the 33 benchmarks changed by 0.1% or more. Output sizeIn total: 26,070,038 → 26,070,038 (±0.00%). None of the 13 benchmarks changed by 0.1% or more. Pull request a6d3e56 compared with base 58c494d in this run. |
Git for Windows' ps has no -o, so the leftover-process check falls back to grep, which exits 1 when it finds nothing. Under set -e that ended the suite before its first test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kbf3gLP8xKdoF8ZA2WZNCo Signed-off-by: Christoph Knittel <ck@cca.io>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9445 +/- ##
=======================================
Coverage 82.22% 82.22%
=======================================
Files 462 462
Lines 65582 65582
=======================================
Hits 53927 53927
Misses 11655 11655 🚀 New features to boost your workflow:
|
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-9445 |
|
@codex review |
Codex Review Summary: ✅ CompletedThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b2910b3923
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
Its check for leftover processes aborts when another process runs its executable. With make -j, the suites of make test-build (or other make targets) could run at the same time on the same binary. The integration target now runs a copy of the binaries, as CI did by hand, and CI no longer makes its own copy. Answers the Codex review on #9445. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kbf3gLP8xKdoF8ZA2WZNCo Signed-off-by: Christoph Knittel <ck@cca.io>
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. 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". |
Each run copied the binaries to a new temporary directory, so the suite's check for leftover processes could never match a watcher from an interrupted earlier run, and the copies piled up after Ctrl-C. The copy now always goes to tmp/integration-bin. The check also counts node running the cli/rescript.js script, the default RESCRIPT is resolved through a relative path that node understands under an MSYS make, and the docs no longer say that make test-build runs the projects. Answers the Fable review of stack #9449. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kbf3gLP8xKdoF8ZA2WZNCo Signed-off-by: Christoph Knittel <ck@cca.io>
|
@codex review |
|
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". |
make test-buildnow runs all of the build system's tests, and CI runs them through the same targets.tests/build_tests/Makefilewith one target per suite:unit,snapshots,verbose,interactive,isolated,integration, plustestfor all of them. Like the other suites' Makefiles, it takes the executable asRESCRIPTand defaults to the platform package's binary.make test-buildbuilds the runtime and then runstest. Before, it ran only the integration suite, and the unit and isolated tests only ran in CI, where each command was spelled out inci.yml.scripts/test.js -buildis now-projects. It runs the projects,project_testsanderror_tests, not the build system's tests.🤖 Generated with Claude Code
https://claude.ai/code/session_01Kbf3gLP8xKdoF8ZA2WZNCo