You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Decision Record (a reason the code does not show): deleted, and kept in a local plan.
Other changes:
Removed seven empty test lists that held only commented-out tests (nan_infinite, toboolean, regex_split, regex_splits, destructuring_alternative, loc, generators_iterators). The test count stays at 6594.
query-json.opam is regenerated from query-json.opam.template.
The public API doc comments in Core.mli, Demand.mli, Read.mli and Write.mli are deleted too.
Kept: shebangs, the Makefile ## help text, the JSDoc @type in website/vite.config.js, and the prose in the cli/test/*.t cram files.
The max_fast_digits comment led to a bug in the JavaScript build. Decimals with 10 to 18 digits overflow there, for example 1234567890.5 prints as -53922298.3. Filed as #94.
Checks
make format-check
dune build --root . --profile=release @all
make test: 6594 tests pass
make web-build
Merge risk: low. The diff only deletes comments and empty test lists, plus the formatting changes that follow.
Summary by CodeRabbit
Documentation
Removed explanatory comments and section labels across the project. These edits do not change application behavior or available features.
Tests
Updated and reorganized runtime test cases, including coverage for numeric precision and boundaries, sorting, paths, and string handling. Existing test expectations and functionality remain unchanged.
No actionable comments were generated in the recent review.
Walkthrough
This change removes comments and section labels across configuration, scripts, source code, and tests. It also removes commented-out tests and several runtime test groups from the registry. Implementations and configuration behavior remain unchanged.
Comments and section labels were removed. Existing settings, recipes, and executable code remain unchanged.
Language declarations and function mappings source/Ast.ml, source/Language.ml, source/Lexer.ml
Comments were removed from AST constructors, function mappings, and lexer declarations. The mappings and logic remain unchanged.
Core APIs and interpreter annotations source/Core.*, source/Demand.mli, source/Error.mli, source/Interpreter.ml
API and implementation comments were removed. Declarations and interpreter logic remain unchanged.
Jotason implementation and test annotations source/jotason/Codec.ml, source/jotason/Common.ml, source/jotason/Read.*, source/jotason/Write.*, source/jotason/test/*
Comments and documentation were removed. Implementations and registered Jotason test cases remain unchanged.
Parser, error, and runtime test updates source/test/Test_errors.ml, source/test/Test_parse.ml, source/test/Test_runtime.ml
Comments and commented-out tests were removed. Several runtime test groups were removed from the registry; the merge-boundary test invocation was consolidated while retaining its cases.
This change removes comments and empty test lists and does not alter runtime behavior. Merge risk is minimal.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "Remove code comments" matches the main change. The PR deletes comments across source, tests, CLI, website, scripts, CI, and build files. It is short and specific. It does not name the decis…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "Remove code comments" matches the main change. The PR deletes comments across source, tests, CLI, website, scripts, CI, and build files. It is short and specific. It does not name the decision-record or stale-comment scope, but that detail is not required for a title.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: b50040c3-4134-49dd-9059-0c5d55f40630
Commits
Reviewing files that changed from the base of the PR and between 254b2b3 and 7ebf6f9.
Files selected for processing: 39
.gitattributes
.github/workflows/ci.yml
.gitignore
Makefile
benchmarks/bench.sh
cli/Repl.mlx
cli/cli.ml
js/dune
query-json.opam
query-json.opam.template
scripts/install.sh
scripts/make-npm-release.js
scripts/release-postinstall.js
source/Ast.ml
source/Core.ml
source/Core.mli
source/Demand.mli
source/Error.mli
source/Interpreter.ml
source/Language.ml
source/Lexer.ml
source/console-style/Console_style.ml
source/jotason/Codec.ml
source/jotason/Common.ml
source/jotason/Read.ml
source/jotason/Read.mli
source/jotason/Write.ml
source/jotason/Write.mli
source/jotason/test/Test_jotason.ml
source/jotason/test/Test_read.ml
source/jotason/test/Test_write.ml
source/jotason/test/Testable.ml
source/test/Test_errors.ml
source/test/Test_parse.ml
source/test/Test_runtime.ml
website/App.mlx
website/monaco-editor.js
website/styles.css
website/vite.config.js
Files with no reviewable changes: 27
.gitattributes
.github/workflows/ci.yml
.gitignore
benchmarks/bench.sh
cli/Repl.mlx
cli/cli.ml
scripts/make-npm-release.js
scripts/release-postinstall.js
source/Core.ml
source/Core.mli
source/Demand.mli
source/Error.mli
source/Language.ml
source/console-style/Console_style.ml
source/jotason/Read.ml
source/jotason/Read.mli
source/jotason/Write.mli
source/jotason/test/Test_jotason.ml
source/jotason/test/Test_read.ml
source/jotason/test/Test_write.ml
source/jotason/test/Testable.ml
source/test/Test_errors.ml
source/test/Test_parse.ml
website/App.mlx
website/monaco-editor.js
website/styles.css
website/vite.config.js
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the code comments in source, tests, CLI, website, scripts, CI and build files. Code is unchanged apart from formatting.
Each comment was sorted into one of four groups:
Other changes:
nan_infinite,toboolean,regex_split,regex_splits,destructuring_alternative,loc,generators_iterators). The test count stays at 6594.query-json.opamis regenerated fromquery-json.opam.template.Core.mli,Demand.mli,Read.mliandWrite.mliare deleted too.Kept: shebangs, the Makefile
##help text, the JSDoc@typeinwebsite/vite.config.js, and the prose in thecli/test/*.tcram files.The
max_fast_digitscomment led to a bug in the JavaScript build. Decimals with 10 to 18 digits overflow there, for example1234567890.5prints as-53922298.3. Filed as #94.Checks
make format-checkdune build --root . --profile=release @allmake test: 6594 tests passmake web-buildMerge risk: low. The diff only deletes comments and empty test lists, plus the formatting changes that follow.
Summary by CodeRabbit