Conversation
Contributor
There was a problem hiding this comment.
Copilot reviewed 5 out of 9 changed files in this pull request and generated 1 comment.
Files not reviewed (4)
- compiler/tests-io/dune: Language not supported
- compiler/tests-io/non_ascii_filenames.expected: Language not supported
- compiler/tests-io/non_ascii_filenames.ml: Language not supported
- runtime/js/unix.js: Evaluated as low risk
Comments suppressed due to low confidence (4)
runtime/js/fs.js:216
- [nitpick] Ensure the new error message 'ENOTDIR: not a directory, chdir' is clear and helpful.
caml_raise_sys_error("ENOTDIR: not a directory, chdir '" + caml_jsstring_of_string(dir) + "'");
runtime/js/fs.js:209
- Ensure the new behavior introduced in caml_sys_chdir is covered by tests.
if (root.device.is_dir(root.rest)) {
runtime/js/io.js:93
- The removal of the compatibility check for Open_rdonly and Open_wronly flags may lead to unclear error states if these checks are not handled elsewhere in the codebase.
if (f.rdonly && f.wronly)
runtime/js/io.js:96
- The removal of the compatibility check for Open_text and Open_binary flags may lead to unclear error states if these checks are not handled elsewhere in the codebase.
if (f.text && f.binary)
hhugo
reviewed
Feb 3, 2025
hhugo
reviewed
Feb 3, 2025
Member
I don't mind minor releases if something break. Can you update CHANGES.md ? |
In particular: - I'm not sure inconsistent flags when opening a file should result in a failure - I suspect fs.writeSync does not always write everything - Unix.getuid should not fail - The target of Unix.symlink is just some arbitrary text
hhugo
added a commit
to hhugo/opam-repository
that referenced
this pull request
Feb 7, 2025
CHANGES: ## Features/Changes * Compiler/Runtime: Make resuming a continuation more efficient in js (ocsigen/js_of_ocaml#1765) * Compiler/Runtime: Effects: add an optional feature of "dynamic switching" between CPS and direct style, resulting in better performance when no effect handler is installed * Compiler: Merged Wasm_of_ocaml (ocsigen/js_of_ocaml#1724) * Lib: fix the type of some DOM properties and methods (ocsigen/js_of_ocaml#1747) * Lib: removed no longer relevant Js.optdef type annotations (ocsigen/js_of_ocaml#1769) * Lib: Add other textMetrics property (ocsigen/js_of_ocaml#1784) * Lib: rename Firebug to Console (ocsigen/js_of_ocaml#1802) * Test: use dune test stanzas (ocsigen/js_of_ocaml#1631) * Test: run wasm tests on windows * Misc: drop support for IE * Misc: move tests to OCaml 5.3 * Misc: import many test from the OCaml codebase * Runtime: support for float16 bigarrays * Runtime: support more Unix functions (ocsigen/js_of_ocaml#1823) * Runtime: various filesystem fixes (ocsigen/js_of_ocaml#1825) ## Bug fixes * Compiler: Fix small bug in global data flow analysis (ocsigen/js_of_ocaml#1768) * Runtime: no longer leak channels * Runtime: Fix Marshal.to_buffer (ocsigen/js_of_ocaml#1798) * Runtime: unmarshalling objects should refresh its id * Runtime: check size upper bound during array creation * Runtime: return sys_error when reading from a closed channels * Runtime: fix parsing of hex-float with very large exponent * Runtime: make sure [n / 0L] is not optimized away by DCE * Runtime: fix Unix.LargeFile.stat/lstat * Runtime: fix stat/lstat times * Runtime: fix reading from stdin in an interactive nodejs
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
@hhugo I'm a bit worried of making large changes right before a release. So, if you are unsure of some of the changes, I can just omit them.