Repository activity
40458 results across all weeks
experiment(stdune): use COPYFILE_UNLINK for overwrites
Ali Caglayan (@Alizter)feat(artifacts): narrow binary lookups to declared dependencies
Description
Puneeth Chaganti (@punchagan)feat(fiber): add finalize_now for synchronous finalizers
Add Fiber.finalize_now for finalizers that return unit rather than a fiber. Run cleanup directly after collecting body errors, avoiding the extra error-collection context used by Fiber.finalize while preserving exception ordering.
Rudi Grinberg (@rgrinberg)feat(melange): enable the extension by default in Dune 3.26
Enable Melange 1.0 by default in Dune language 3.26, preserving explicit declarations and older-language behavior.
Antonio Nuno Monteiro (@anmonteiro)feat(ppx): add a compilation-mode cookie
Pass the OCaml or Melange target to PPX rewriters through a compilation-mode cookie for (lang dune 3.26) and later.
Antonio Nuno Monteiro (@anmonteiro)feat(ppx): pass the compilation mode to ppx drivers as a cookie
This PR adds --cookie mode="ocaml" or --cookie mode="melange" to the ppx driver, for the mode it preprocesses. A ppx reads it with ppxlib's Driver.Cookies.get "mode".
David Sancho (@davesnx)feat: install entries concurrently
019f7869-5535-72a1-8523-fda8f919594a
Antonio Nuno Monteiro (@anmonteiro)fix(action): follow symlinks during recursive copying
Make recursive copy actions follow symlinks, matching ordinary file copies and the existing root-path handling. Linked files and directories are materialized at the destination rather than rejected.
Rudi Grinberg (@rgrinberg)fix(config): fall back when a concurrency probe cannot spawn
When a CPU-count command such as nproc cannot be spawned, try the next detection command instead of retrying the same command indefinitely.
Rudi Grinberg (@rgrinberg)fix(engine): clean outputs from failed unsandboxed actions
Failed or cancelled unsandboxed actions currently unregister their targets in a finalizer, so end-of-build cleanup misses their partial outputs.
Rudi Grinberg (@rgrinberg)fix(fs-io): reject directories before the empty-file shortcut
Fs_io.read_file treated directories as empty files whenever their reported size was zero, as happens with empty Btrfs directories and procfs directories.
Rudi Grinberg (@rgrinberg)fix(install): preserve codesign metadata when re-signing on macOS
On macOS, dune install re-signs each executable it installs with codesign -f -s -. This drops the identifier, flags and entitlements the build signed it with. dune build is not affected.
Thomas Gazagnaire (@samoht)fix(melange): separate melange.flags from shared flags
Make melange.flags override shared flags, falling back when omitted, while preserving the additive behavior of melange.compile_flags.
Antonio Nuno Monteiro (@anmonteiro)fix(memo): preserve parallel restoration for sequence reductions
Make Memo.map_reduce_seq record independent branches as Par dependencies so cache restoration can check them concurrently. Collect branches incrementally, preserving one-shot sequence consumption and recording dependencies before propagating errors.
Rudi Grinberg (@rgrinberg)fix(merlin): disambiguate lookup by filename without extension
Select the correct Merlin reader for preprocessed filenames while preserving legacy fallback and copy-line lookup.
Antonio Nuno Monteiro (@anmonteiro)fix(merlin): generate mode-aware configurations
Generate and persist both OCaml and Melange Merlin configurations for mixed-mode libraries while preserving singular lookup behavior.
Antonio Nuno Monteiro (@anmonteiro)fix(merlin): generate mode-aware configurations
Generate both OCaml and Melange Merlin configurations for mixed-mode libraries and prefer exact file matches over extensionless fallbacks.
Antonio Nuno Monteiro (@anmonteiro)fix(merlin): prefer exact configuration matches
Select all exact and copy-line matches across a Merlin configuration group before considering fallback lookups by filename without extension. Keep singular lookup as the default-first projection.
Antonio Nuno Monteiro (@anmonteiro)fix(ocaml): ignore unrelated interfaces for generated aliases
Generated aliases have no user-written interface, but the compiler can discover an unrelated same-named .mli in the build directory. This makes compilation depend on source-copy order and can break warm rebuilds.
Rudi Grinberg (@rgrinberg)fix(package-deps): work around overlapping sandbox inputs
Use per-file package dependencies to work around the sandbox overlap bug exposed by #16507, without engine changes.
Ali Caglayan (@Alizter)