Thicket thicket
ocaml
REPOS 27
W17.2025 · 21–27 Apr

All repository summaries

16 active · 11 unchanged

Back to weekly digest

ocaml-multicore/domainslib

Permalink

Fixes

  • domainslib #131: Domainslib.Task.teardown_pool hangs (0 % CPU, unresponsive to Ctrl+C) when called after Domainslib.Task.run on a pool sized to recommended_domain_count () - 1. Opened by mbarbin on 2025-04-23; still open with no resolution. Issue

ocaml-multicore/eio

Permalink

Features

  • Eio (API proposal): Open request for a public predicate to check whether code runs under Eio's event loop. A maintainer confirms the need and notes potential conflict with future typed effects or thread-local storage. #800

Fixes

  • Eio_linux (Uring + fork): Open bug: Eio_linux hangs when Uring.cancel is called after Unix.fork in a multi-domain program; the submission queue appears full post-fork. A minimal Uring-only repro was provided. #801

ocaml-multicore/picos

Permalink

Features

  • Picos multififo scheduler: merged periodic fiber stealing to balance load across worker threads. Each worker uses a countdown to act as a thief, targeting a random victim with a longer ready queue. (#358)
  • Picos structured concurrency: merged an example implementing guarded case statements as in Clerical on top of Picos's structured concurrency primitives. Attributed to @polytypic with a note to @andrejbauer. (#355)
  • Picos test scheduler: merged a ?verbose flag and a basic fairness test for scheduler implementations. (#359)

Fixes

  • Picos semaphore stress test: merged a fix avoiding thread-based scheduling to prevent Sys_error from excessive thread creation on CI. Closes #353. (#354)

Compatibility and Releases

  • Picos picos_lwt: open issue proposing to replace shallow handlers with deep handlers in the Lwt compatibility layer. No resolution recorded. (#356)

ocaml/RFCs

Permalink

No activity within the 2025-04-21 to 2025-04-28 interval is supported by the supplied records. The sole entry (ocaml/RFCs PR #54, "Transparent ascription," opened 2025-04-11) predates the interval and records no merge, closure, or comment during it.

ocaml/dune

Permalink

Fixes

  • Dune package management: dune pkg lock fails with a cross-device link error when refreshing an existing lock file across filesystem boundaries (e.g. Docker bindmounts). The temp file is created in a separate directory from the lockfile. Reported by avsm, open.

Compatibility and Releases

  • Dune package management (OxCaml): open meta-issue tracking build failures for non-relocatable OxCaml packages under dune pkg. Identifies %{prefix} expansion issues and toolchain path mismatches in lock-file variable substitution. Reported by maiste, open.

ocaml/merlin

Permalink

Features

  • Merlin (open request): #1926 proposes a visual hint in .ml files to distinguish functions exported in the module signature from non-exported ones. Opened by nicolasdespres; no implementation or timeline stated.

ocaml/ocaml

Permalink

Features

  • OCaml stdlib: Option.blend proposed to combine two options with a function, returning None only when both inputs are None. #13995 opened.
  • OCaml manual: documentation chapter for external types proposed, noting that removing abstract-type special-casing may break programs using abstract types as GADT indices. #13994 opened.

Compatibility and Releases

  • OCaml build system: incremental make -j rebuilds fail after stdlib changes because phony-target dependencies do not trigger recompilation of compiler-libs archives. #13993 opened.
  • OCaml TSan: proposal to gate ThreadSanitizer instrumentation behind an OCAMLRUNPARAM flag to reduce overhead in non-TSan builds. #13981 opened.

Fixes

  • OCaml compiler: internal flag transparent_modules renamed to no_alias_deps in Clflags, affecting ppx authors who reference the old name. #13972 merged.
  • OCaml typing: [@remove_aliases] can produce ill-formed signatures by weakening module equalities that functor applications depend on. #13979 opened.
  • OCaml typing: incorrect "Unbound module" error when typing recursive functions containing first-class module patterns; fix modifies type approximation. #13984 opened.
  • ocamldoc: fails to parse code examples containing attributes (e.g. [@foo]), triggered by a lexer rule for @lowercase. #13990 opened.

ocaml/ocaml-lsp

Permalink

Compatibility and Releases

  • ocaml-lsp (neovim): Open issue documents that LSP settings such as inlayHints and codelens require a nested { enable = true } structure, not a flat boolean. A maintainer confirms plans to improve neovim support. #1521

  • ocaml-lsp (configuration): Open issue proposes making --fallback-read-dot-merlin the default to avoid a broken state in non-dune projects. A maintainer explains stale .merlin files make the fallback unreliable. #1522

ocaml/ocaml.org

Permalink

Features

  • ocaml.org search: Open proposal (#3074) requests a dedicated keyboard shortcut for package-docs search, as the existing / shortcut covers only top-level search.

ocaml/ocamlfind

Permalink

Compatibility and Releases

  • ocamlfind (issue #107): Open issue reports that opam-installed ocamlfind with ocaml-system resolves findlib to the system path rather than the opam switch, breaking links to opam packages. A path-reordering fix in configure is proposed but unverified.

ocaml/odoc

Permalink

Compatibility and Releases

  • odoc-parser 3.0.0: Build fails with Unbound module "Stream" under a system OCaml 5.2.0 installation; resolved by using a non-system opam switch. #1340 closed 2025-04-22 as user configuration error.

ocaml/opam

Permalink

Features

  • opam (PR #6489): Open proposal to check depexts status during opam update, addressing stale dependency-extension information. Affects the opam update workflow and performance.

Fixes

  • opam (PR #6487): Opened to prevent log messages from being retained before initialization when opam is used as a library, reducing memory usage for downstream consumers. Supersedes PR #6486.

  • opam (PR #6486): Opened to bound the pre-initialization log queue to 10 items, addressing unbounded memory growth for library consumers. Closed without merge; superseded by PR #6487.

ocaml/opam-repository

Permalink

Features

  • opam-repository (proposal): JasonGross requests a new conf-git-lfs package to declare a build-time dependency on git-lfs, preventing confusing git clone failures when LFS is not installed. Opened 2025-04-26; no implementation merged. #27823

ocsigen/js_of_ocaml

Permalink

Fixes

  • js_of_ocaml (Wasm mode): Open issue #1948 reports that DOM event handlers registered at top level do not fire in Wasm builds because Wasm compilation is asynchronous and the load event fires before code executes. A maintainer-provided workaround checks Dom_html.document##.readyState before attaching the listener; the issue remains open as of the reporting interval.

oxcaml/merlin

Permalink

Features

  • Merlin (oxcaml): PR #143 opened 2025-04-23 by voodoos, cherry-picking granular marshal changes downstream. The author notes the changes have not been tested; the PR was not merged.

oxcaml/oxcaml

Permalink

oxcaml Flambda2: #3914 reports that pattern-matching equality on a nine-variant type compiles to a linear comparison chain rather than a jump table, producing suboptimal code. The issue is open and labelled flambda2.

11 repositories · no changes