Repository navigation
Keep the rules that fill the platform packages in packages/dune - #9448
Conversation
Changelog🏠 Internal
Semantic Diff3 commits · Full page Keep the rules that fill the platform packages in packages/dune98dccf4 · cknitt + Claude · Nov 27, 2026, 06:22 UTC compiler/sync held only the dune rules that strip and copy every executable (bsc, rescript, the editor analysis and rescript-tools) into packages/ Drop the benchmarks' fallback to tests/dependencies again8634321 · cknitt + Claude · Nov 27, 2026, 07:29 UTC The base of this pull request already has packages/rescript-react. Rebuild through make when packages/dune changesa918ba3 · cknitt + Claude · Nov 27, 2026, 09:04 UTC Make reran dune only for changes in the directories it scans, which covered compiler/sync/dune but not packages/dune, so editing the packaging rules alone left the binaries as they were. The root dune and dune-project, which hold the shared flags, were not tracked either. Answers the Codex review on #9448. |
✅ Compiler benchmarksAllocated wordsIn total: 674,905,687 → 674,905,849 (±0.00%). Generated projects: 630,569,718 → 630,571,181 (±0.00%). None of the 265 benchmarks changed by 0.1% or more. InstructionsIn total: 9,225,173,628 → 9,225,173,628 (±0.00%). None of the 33 benchmarks changed by 0.1% or more. Output sizeIn total: 27,368,415 → 27,368,415 (±0.00%). None of the 13 benchmarks changed by 0.1% or more. Pull request a918ba3 compared with base 4c45949 in this run. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## runtime-test-suites #9448 +/- ##
====================================================
Coverage 82.47% 82.47%
====================================================
Files 466 466
Lines 66070 66070
====================================================
Hits 54493 54493
Misses 11577 11577 🚀 New features to boost your workflow:
|
rescript
@rescript/belt
@rescript/darwin-arm64
@rescript/linux-arm64
@rescript/linux-x64
@rescript/runtime
@rescript/win32-x64
commit: |
|
@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: c1a4df0623
ℹ️ 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".
Make reran dune only for changes in the directories it scans, which covered compiler/sync/dune but not packages/dune, so editing the packaging rules alone left the binaries as they were. The root dune and dune-project, which hold the shared flags, were not tracked either. Answers the Codex review on #9448. 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. You're on a roll. 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". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! 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". |
compiler/sync held only the dune rules that strip and copy every executable (bsc, rescript, the editor analysis and rescript-tools) into packages/@rescript/<platform>/bin. That is packaging, not compiler code, and "sync" did not say so. The rules now sit next to the packages they fill; (dirs) keeps dune out of the npm packages. 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 packages/rescript-react. 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>
Make reran dune only for changes in the directories it scans, which covered compiler/sync/dune but not packages/dune, so editing the packaging rules alone left the binaries as they were. The root dune and dune-project, which hold the shared flags, were not tracked either. Answers the Codex review on #9448. 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>
e9e3a36 to
a918ba3
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! 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". |
Moves the dune rules that strip and copy every executable (bsc,
rescript, the editor analysis,rescript-tools) intopackages/@rescript/<platform>/binfromcompiler/sync/dunetopackages/dune. They are packaging, not compiler code, and now sit next to the packages they fill.(dirs)inpackages/dunekeeps dune out of the npm packages. The rootdunenow listspackages. The Makefile andscripts/checkCompilerExes.jsread the promoted binaries from_build/default/packages/.Stacked on #9447.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Kbf3gLP8xKdoF8ZA2WZNCo