Repository activity
40458 results across all weeks
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(package-deps): follow library-induced package closure
Include whole packages reached through library dependencies and track installed file changes. For packages in the lock directory, we have no easy way of getting the libraries directly, so instead we use the direct package closure which is already computed.
Ali Caglayan (@Alizter)fix(package-deps): narrow installed package version gate
Preserve the Dune 2.9 gate for explicitly requested installed packages while allowing installed packages discovered through a local package's library closure on older language versions.
Antonio Nuno Monteiro (@anmonteiro)fix(package-deps): remove the installed package version guard
Remove the language-version guard on installed package dependencies, as suggested in #16526. Fixes the regression introduced by #16362.
Antonio Nuno Monteiro (@anmonteiro)fix(package-deps): track installed files, not just cookies
Track installed artifacts of lock-built packages and their dependencies so (deps (package ...)) rebuilds when they change.
Ali Caglayan (@Alizter)fix(patch): treat empty patch as no-op
Opam treats an empty patch as a no-op. This patch makes Dune match Opam's behavior.
Shun Ueda (@shunueda)fix(status): update build duration during long-running rules
The build duration in the status line freezes when a long-running rule produces no scheduler events.
Ali Caglayan (@Alizter)perf(rules): insert singleton rule collections directly
Test coverage: #16495.
Antonio Nuno Monteiro (@anmonteiro)perf(stdune): expose the immutable array get primitive
Test coverage: #16499.
Antonio Nuno Monteiro (@anmonteiro)pkg: add @pkg-source alias
Motivation
Ali Caglayan (@Alizter)refactor(engine): hide alias expansion ordering
Make Rules.Dir_rules.Alias_spec abstract, exposing singleton construction and list conversion instead of its Appendable_list representation. Keep the reversal inside Alias_spec so Load_rules no longer needs to know how expansions accumulate. Existing expansion order and behavior are preserved.
Rudi Grinberg (@rgrinberg)refactor(env): reuse context profile
Share the context lookup and profile used by inherited environment stanzas.
Antonio Nuno Monteiro (@anmonteiro)refactor(expander): reuse private library info
Reuse resolved private-library metadata for both project validation and source-path construction.
Antonio Nuno Monteiro (@anmonteiro)refactor(merlin): retain file configuration metadata
Retain compilation mode, source kind, and counterpart metadata for plural Merlin lookup, while preserving legacy File behavior.
Antonio Nuno Monteiro (@anmonteiro)refactor(merlin): reuse compilation mode in config processing
Use the already-destructured compilation mode throughout Merlin configuration processing.
Antonio Nuno Monteiro (@anmonteiro)refactor(pkg): remove pkg digests
Description
Ali Caglayan (@Alizter)refactor(ppx): hoist lint command directory
Hoist the invariant PPX lint command directory outside the module callback.
Antonio Nuno Monteiro (@anmonteiro)refactor(ppx): share ppx resolution setup
Share PPX library resolution between the two driver entry points.
Antonio Nuno Monteiro (@anmonteiro)refactor(rules): reuse project language version
Reuse the project language version across project-level rule checks.
Antonio Nuno Monteiro (@anmonteiro)runtest: use Map.is_singleton for context selection
Use Map.is_singleton for the single-context fallback in runtest. Follow-up to #16533.
Antonio Nuno Monteiro (@anmonteiro)