Repository navigation
Conversation
belt_tests, commonjs_tests and docstring_tests were top-level siblings of suites twenty to fifty times their size. They test the runtime and Belt, so they now live in tests/runtime_tests as belt, commonjs and docstrings. tests/dependencies held no tests, only the rescript-react project other suites build against, and is now tests/fixtures. The one-file cli_tests suite tests the npm package's platform mapping and moves to tests/package_tests. 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>
The base of this pull request already has tests/compiler_tests. 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 Group the small runtime test suites9a65e19 · cknitt + Claude · Nov 27, 2026, 06:20 UTC belt_tests, commonjs_tests and docstring_tests were top-level siblings of suites twenty to fifty times their size. They test the runtime and Belt, so they now live in tests/runtime_tests as belt, commonjs and docstrings. tests/dependencies held no tests, only the rescript-react project other suites build against, and is now tests/fixtures. The one-file cli_tests suite tests the npm package's platform mapping and moves to tests/package_tests. Drop the fallback to tests/tests in the benchmarks177ba7e · cknitt + Claude · Nov 27, 2026, 06:23 UTC The base of this pull request already has tests/compiler_tests. Find the benchmarks' React fixture under its new name9b8cd53 · cknitt + Claude · Nov 27, 2026, 06:42 UTC compilerBenchmarks.js built the path to the rescript-react project from separate pieces, so the move to tests/fixtures missed it. It falls back to tests/dependencies for a base from before the move; the next pull request in the stack drops the fallback. Move the vendored rescript-react to packages/rescript-react5c355a7 · cknitt + Claude · Nov 27, 2026, 07:29 UTC It is no test fixture: the playground depends on it and ships its compiled interfaces, and most test projects build against it. It now sits next to the playground packages, outside packages/ The yarn constraint that gives our packages their release metadata matched every |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## compiler-tests-dir #9447 +/- ##
=====================================================
Coverage ? 82.23%
=====================================================
Files ? 462
Lines ? 65582
Branches ? 0
=====================================================
Hits ? 53929
Misses ? 11653
Partials ? 0 🚀 New features to boost your workflow:
|
✅ Compiler benchmarksAllocated wordsIn total: 638,385,027 → 638,384,622 (±0.00%). Generated projects: 629,064,739 → 629,064,195 (±0.00%). None of the 265 benchmarks changed by 0.1% or more. InstructionsIn total: 9,221,543,506 → 9,221,543,506 (±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 6a468b9 compared with base 61a7add in this run. |
Brings the fix for the integration suite on Windows into this branch. 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>
compilerBenchmarks.js built the path to the rescript-react project from separate pieces, so the move to tests/fixtures missed it. It falls back to tests/dependencies for a base from before the move; the next pull request in the stack drops the fallback. 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>
rescript
@rescript/belt
@rescript/darwin-arm64
@rescript/linux-arm64
@rescript/linux-x64
@rescript/runtime
@rescript/win32-x64
commit: |
It is no test fixture: the playground depends on it and ships its compiled interfaces, and most test projects build against it. It now sits next to the playground packages, outside packages/@rescript, so pkg-pr-new, which publishes packages/@rescript/*, leaves it out. The yarn constraint that gives our packages their release metadata matched every @rescript-scoped workspace under packages, so it would have set the rescript version on this one too. It now matches the root and packages/@rescript only. A new constraint requires "private": true for every other workspace, because the publish workflow publishes all workspaces that are not private. 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 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. |
|
Codex Review: Didn't find any major issues. Hooray! 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". |
Brings the integration target fix from the Codex review into this branch. 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. Already looking forward to the next diff. 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". |
Brings the integration target fixes from the Fable review into this branch. 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. Can't wait for the next one! 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". |
Groups the small runtime suites that
scripts/test.js -mocharuns:tests/runtime_tests/belt/tests/belt_teststests/runtime_tests/commonjs/tests/commonjs_teststests/runtime_tests/docstrings/tests/docstring_testspackages/rescript-react/tests/dependencies/rescript-react(the vendored@rescript/reactthat the playground and most test projects build against; no tests of its own)tests/package_tests/platform_test.mjstests/cli_tests/platform_test.mjs(it tests the npm package's platform mapping; next tocli/it would be published)The workspace paths in
package.jsonandyarn.lockchange. The packages keep their names.packages/rescript-reactmust never be published:"private": true.publish.ymlpublishes every non-private workspace (yarn workspaces foreach --no-private).packages/@rescript/, sopkg-pr-new(which publishes./packages/@rescript/*) andupdateArtifactList.js(explicit list) leave it out.@rescript/*workspace underpackages, so it would have caught this one. It now matches only the root andpackages/@rescript/*."private": trueon every other workspace, soyarn constraintsfails CI if someone drops the flag.Also removes the
tests/testsfallback that #9446 added to the benchmarks.Stacked on #9446.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Kbf3gLP8xKdoF8ZA2WZNCo