All repository summaries
13 active · 14 unchanged
ocaml-multicore/eio
PermalinkFeatures
-
Eio_unix.set_signal(merged, #956): Installs signal handlers that wake the scheduler via a pipe, fixing a race where signals arriving just beforepoll(2)were delayed until the next timer. Closes #732 and #946; supersedes #948. -
Flow.Pi.simple_copy(merged, #954): UsesRead_source_bufferwhen the source supports it, avoiding an intermediate buffer allocation. NewEio_mock.Flow.limit_readsandEio_mock.Flow.trace_readsreplace the removedset_copy_method.
Fixes
-
eio_posixwake-up pipe (merged, #957):Sched.clear_event_fd,Sched.wakeup, andSignal_fd.acknow retry onEINTR. Prevents crashes in long-running macOS servers where a concurrent pipe writer and a signal interrupt a read. -
opam install -t eio_main(merged, #955): Chown tests are skipped when the opam sandbox blocks ownership changes, fixing a build failure.
Compatibility
- Socket I/O (merged, #951):
eio_posixnow always usesrecvmsg/sendmsgwithMSG_DONTWAIT.Eio_unix.Net.import_socket_streamon files or pipes now raisesSocket operation on non-socketrather than silently working.
Proposals
-
Executor_poolresilience (open, #959): The pool continues when some worker domains fail to start (e.g.ENOMEMfromRLIMIT_MEMLOCKin containers) instead of killing the whole program. A second optional commit drops the per-domain io_uring fixed buffer, cutting memlock cost ~30×. -
io_uring in containers (open, #958): Documents that
Eio.Domain_managerdomains have no io_uring fallback;ENOMEMunder Docker's 8 MiBRLIMIT_MEMLOCKkills the process. Affects Semgrep CI and similar multi-process workloads.
ocaml-multicore/saturn
PermalinkFixes
-
Htbl.length/Skiplist.lengthnon-linearizability (open, by nobrakal): the Size snapshot can miss a pending forward, yielding sizes outside the valid range (e.g. 4611686018427387903). No fix merged. -
Bounded_queue.is_fullnon-linearizability (open, by nobrakal): a two-step push leaves the tail pointer stale, sois_fullreads a cached capacity and returnsfalseon a full queue. No fix merged. -
Both interleavings were proven non-linearizable in Rocq via a research prototype; the bugs were identified with Claude Opus 5.5. This links formal verification tooling to concrete defects in Saturn's concurrent data structures.
ocaml/dune
PermalinkFeatures
-
New
(job_slots ...)rule lets a build declare how many scheduler slots it consumes, optionally computed by a program. The value is exposed via an environment variable for use by polyglot sub-builds (e.g. Cargo). Merged in #16475. -
Dune 3.26 adds
melange.flagsfor library and env stanzas, deprecatingmelange.compile_flags.melange.emitretainscompile_flags. Requires(lang dune 3.26). Merged in #16573.
Fixes
-
A
(select)in one stanza no longer causes "excluded module doesn't exist" errors in a sibling stanza's(modules :standard \ ...). Fixes a 3.22 regression. Merged in #16639, closing #14085. -
Rocq plugin-layout dependency sharing eliminates a 3.25.0-RC build-time regression (median 33.8 s → 11.5 s on the Skylabs workspace). Merged in #16622.
-
dune buildproceeds without an RPC server when socket creation fails (e.g. under sandbox restrictions).--passive-watch-modestill requires RPC. Merged in #16597. -
Merlin configuration loading now persists compact per-module records and builds filename indexes at load time, reducing repeated lookups. Merged in #16641 and #16642.
-
dune pkg lockreports "could not fetch revision … from …" instead of "revision not found" when a git fetch fails due to network issues. Merged in #16623, closing #16466. -
dune runtestnow prints the signal (e.g.SEGV) alongside captured test output in normal and quiet display modes. Merged in #16578, closing #16575.
ocaml/merlin
PermalinkFeatures
Compatibility and Releases
- v5.9 released 2026-10-12. The binary now reads C library flags from
ocamlc -config, fixing the Haiku build. v5.9
Fixes
- v5.9: Cursor position detection corrected for type-constrained expressions. v5.9
- v5.9: Parsetree cache no longer overshares entries across sessions. v5.9
- PR #2138 (open, not merged): Diagnostics sharing the same source range are sorted by severity before deduplication, preventing distinct errors from being silently dropped.
ocaml/ocaml
PermalinkFeatures
Compatibility and Releases
Fixes
- Merged:
Atomic.exchangeandAtomic.compare_and_setnow emit native instructions (xchg, cmpxchg, amoswap, etc.) for immediate values on all five backends. Single-domain exchange drops from 1.36 s to 0.51 s on amd64. (#14980) - Merged: the bytecode compiler caches
getcwdonce per source file instead of per debug event. On macOS this cuts system time by roughly 80 % for large bytecode builds. (#15140) ocamloptmiscompilesasr 63andlsr 63when the result is immediately untagged (e.g. viaInt64.of_int), producing wrong values. The bug dates to 1999; no fix PR is open yet. (#15157, open)- A soundness bug in variance composition lets a bivariant parameter inside an invariant GADT parameter escape invariance, enabling
Obj.magic-equivalent unsoundness. PR #15165 proposes a stricter check. (#15142, open) - A race between
Gc.finalise_lastand the minor GC can cause segfaults or heap corruption when a domain finalises a young value from another domain. PR #15153 promotes cross-domain values before the barrier. (#15152, open) - Merged:
Seq.ints_in_rangeno longer overflows for ranges ending atmax_int. Cherry-picked to 5.6. (#15173)
ocaml/ocaml-lsp
PermalinkFeatures
- Interactive completions with snippet edit slots for construct, destruct, and whole-call (multi-argument) items. Requires client snippet support. (#2212, #2204, #2199, #2198)
ocp-indentsupported as an alternative formatter for document and range formatting;textDocument/onTypeFormattingavailable via theocp-indent-rpchelper. (#2148, #1986)textDocument/implementationnow resolves type declarations in interface files, including nested modules, functor results, includes, and aliases. (#2074)- Semantic highlighting distinguishes operators from functions, classifies parameters and labels, and separates built-in from user-defined types. (#1831, #1857, #1858)
- Dune RPC, build progress, and Merlin configuration activity are reported through LSP trace notifications. A code action opens the closest Dune file. (#1899, #1817)
- Topiary formatter integration is under review; range formatting is not yet supported by Topiary, so the whole document is reformatted. (#2226, @toastal)
Fixes
- Documentation corrected: the
getDocumentationcapability ishandleGetDocumentation, nothandleDocumentation; several typos in custom-request specs also fixed. Merged 2026-10-12. (#2229, @toyeshhm)
Compatibility and Releases
- 1.28.0 released 2026-10-12. Includes all features and fixes above; FreeBSD build fixed (
statfsheader path). (Release)
ocaml/ocaml.org
PermalinkFeatures
-
[Proposed] Display per-package build status from check.ci.ocaml.org on
/p/<package>, the GraphQL API, and the MCP server via a live cached query (~10 KB, ~0.1 s) rather than a batch scrape. Revives #42 with a lighter design. (#3847) -
[Proposed] Render opt-in tutorial OCaml code blocks as editable, re-evaluatable in-browser cells using the
art-w/x-ocamlWebComponent, with state chaining across cells. Suggested path: ship an "Open in Playground" link first, then upgrade to inline cells. (#3849) -
[Proposed] Audit and unskip
$MDX skipmarkers in already-allow-listed tutorial files sodune runtestactually verifies the code; add a tripwire flagging files whose unskipped block count drops to zero. (#3848)
Fixes
-
[Merged] Corrected six broken or mis-anchored internal links across tutorial pages and the install page (e.g.
/docs/up-and-ready→/docs/installing-ocaml, relative → absolute module links). By @SatvikMishra08. (#3842) -
[Open] Revert the mistaken "type variable" → "type parameter" substitution from #3793 in three tutorials and correct
DOCUMENTATION_WRITING.mdto distinguish the two terms. By @cuihtlauac, with review from @Octachron. (#3803) -
[Opened] Document the package metadata model in
HACKING.md: the server parses a local opam-repository clone (no switch, no compilation) and caches computed state topackage.state. Merged 2026-10-20, after this interval. (#3846)
ocaml/odoc
PermalinkFeatures
-
[@atomic]annotations on mutable record fields are now parsed from.cmi/.cmtiand displayed in generated documentation. Requires OCaml ≥ 5.4. Merged by @ElectreAAS in #1496. -
{!modules: ...}references now accept full paths of the form/library/ModuleName, not just bare module names. Open in #1503. -
OxCaml kind abbreviations gain a dedicated namespace with rendering and cross-linking support. Open in #1467 by @art-w.
-
OxCaml parameterized libraries are integrated: odoc records whether a library is a parameter, is parameterized, or implements a parameter, and renders
Lib[Param:Impl]instance paths with individual links. Open in #1464 by @art-w. -
A tracking issue for extended markup (quotes, strikethrough, definition lists,
<details>, footnotes) is open in #1497. Each extension is intended to ship independently.
Fixes
-
Multi-line
{!link ...}markup is reformatted to a single line in output, resolving #865. Merged in #1439. -
Internal substitution names no longer leak into generated HTML when a signature contains type substitutions. Substitutions now use a separate namespace and are scoped to the enclosing signature. Open in #1504.
-
Sibling libraries exposing same-named modules (e.g.
eliom.client/eliom.server) still resolve cross-references to the wrong library. A partial fix is in #1495; a full fix is in preparation. Issue #1450 remains open.
ocaml/opam
PermalinkFeatures
opam install --fail-fast(PoC, open): stops the install sequence on the first build failure rather than continuing with remaining packages. Targets CI and container workflows where a partial install is useless. #7204- Confirmation will be requested before every action by default, not only when a package was not explicitly named. Scripts that omit
-y/OPAMYES=1will now prompt. #7215 (open) opam list --columns=depexts(tag)syntax is removed; the freed column name allows querying theextra-sources:field. #7209 (open, queued)
Compatibility and Releases
- Vendored cmdliner updated to 2.1.1 (merged 2026-10-19). Includes a fix for shell-completion generation and unconditionally enables legacy prefix behaviour. #6867
- opam 2.6.1 Windows binary is flagged by Windows Defender as containing a virus (false positive). A follow-up issue explores code-signing via SignPath, Azure Artifact Signing, or an OV certificate to build SmartScreen reputation. #7197, #7217 (both open)
Fixes
- A missing depext on a pinned package version was silently swallowed; the check now runs against the pinned version instead of the highest matching version, so the user sees a "Missing depexts" explanation. #7213 (open)
opam pin <pkg> <dir> --with-version=Nerrors with "No valid package definition" when the source tree lacks an opam file; it should fall back to the repository opam file as it does without--with-version. #7203 (open)opam pin ./archive.tgz -nassigns a random temp-directory name as the package name when no name is inferable from the opam file or archive filename. #7202 (open)https://opam.ocaml.org/install.shstill prompts for the install path when piped, despite the--ttyflag being intended for the opposite. A fully unattended invocation (e.g.--unsupervised --target /usr/local/bin) is not yet supported. #7201 (open)
ocaml/opam-repository
PermalinkFeatures
- opentelemetry 0.92 (merged): Adds head sampling via
Trace_flagsandTrace_sampler; raises minimum OCaml to 4.14. #30916 - merlin 5.9 (merged): Supports destructing let-binding patterns, advertises PPX dependencies via
PPX_DEPS, and fixes the Haiku build. #30910 - lsp 1.28.0 (open): Adds ocp-indent formatting, interactive snippet completions, and
textDocument/implementationfor interface types. #30913
Compatibility and Releases
- ppx_platform 0.3.0 (opened): Breaking renames—
browser_only→melange_only,platform native→native_only; old names removed. #30945 - New packages (open):
a2a-client.0.2.1(A2A protocol over Eio),corvus-json-schema.0.1.1(dependency-free JSON Schema evaluator),trexio.2.6.101(quantum-chemistry I/O binding). #30947 #30952 #30919 - conf-python-3.14 (open): Replaces the deprecated
conf-python-3.9record; drops CentOS < 9, usespython3 --versionprobe. #30930
ocsigen/js_of_ocaml
PermalinkFeatures
- Share identical literals at bytecode parse time, reducing JS size by 51% and Wasm by 68% on Fiat-Crypto. Breaking: identical literals may now be physically equal. (#2547, merged)
- Three fixes to debug-event parsing (CRC table, array naming, memoized sanitization) cut parsing from 1.24 s to 1.04 s on a small Core/Async program. (#2548, merged)
- Integer comparisons with 0 used as conditions compile to
!x/xinstead of0 === x/0 !== x. Minified size −2398 B on js_of_ocaml.bc. (#2538, merged) - Redundant
break lat the end of an if-then inside a labelled block is removed; following statements sink into the else-branch. 144 of 522 labelled blocks removed on js_of_ocaml.bc. (#2513, merged)
Fixes
caml_wrap_exceptionis no longer imported under WASI, where it is never called. Fixes a linking failure that appeared once wasm-opt was skipped at--opt 1. (#2543, merged)- The JS and Wasm runtimes rewrite
CONIN$/CONOUT$/CONto\\.\NAMEbefore passing tofs.openSyncon Windows. Fixes ENOENT when opening the console from compiled programs. (#2525, merged)
Compatibility and Releases
oxcaml/opam-repository
PermalinkFixes
-
dune.3.22.2+oxfailed to bootstrap after #5462 changed theOptionparameter type. The patch in #63 was closed unmerged (2026-10-14); the fix landed upstream as #16589. Dune CI gained an OxCaml-main bootstrap job via #16582. -
oxcaml-compiler.5.2.0minus39hit an assertion inutils/warnings.mlduring amake -j17build on macOS 27.0.1/arm64 (#64, opened 2026-10-15, closed 2026-10-16). The failure was not reproducible with-vor in a 10-build loop;5.4.0-ox7built cleanly. No fix was identified.
Compatibility and Releases
-
Dune's OxCaml CI previously checked only that Dune builds with a fixed OxCaml release and that OxCaml main builds with the latest Dune. The gap—whether OxCaml main can build Dune—was acknowledged and a dedicated job added (#16582).
-
#65 (opened 2026-10-16, still open) adds the missing
license: "LGPL-2.0-only WITH OCaml-LGPL-linking-exception"field to fourzarith.1.12+ox*packages, aligning them withzarith.1.14+ox.
oxcaml/oxcaml
PermalinkFeatures
-
Omnidirectional type inference:
-extension omnidirectionality(eager/delayed) defers Tvar defaulting and mode crossing to a scheduler. #7540, #7544 opened; #7418 (Tivar/Ivar/Scheduler) ongoing. -
Never-returning functions carry
Unknownarity in Flambda, enabling layout-polymorphic returns such asassert falsetyped('a : any). #7541, #7545, #7546 opened. -
FDO: new
-fdo-countersflag, counter propagation through Flambda, and function identity via scope path plus body hash. #7530, #7531, #7551, #7553 opened. -
JSIR backend: Smallint, block-index, and stdlib-build support added; ocamltest integration for JSIR tests. #7534, #7581, #7586, #7607 opened.
-
Address patterns (
addr_,addr_imm_) now type-check and translate to lambda. Merged #7456, #7458. Mode crossing for addresses in #7605 (opened).
Fixes
-
TLS state is now per-preemptible-fiber;
Obj_slot.accessreplaces get/set, eliminating crossing requirements. Merged #7399, #7539, #7398. -
Datalog engine: union opcodes, binding-position tracking, parameter-stage folding, and Patricia-tree prefetching. Merged #7596–#7604, #7321.
-
Unboxed products in external calls: complex return arities preserved end-to-end in Flambda2; C struct ABI on x86-64/arm64. Merged #6861; #6862 ongoing.