Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(digest): isolate symlink executable-bit hashing

    Complete #17097 by using the pooled helper when combining a symlink target digest with its executable bit. Although the target string was already hashed independently, this final step still reused the singleton and could corrupt an active outer hash.

    Rudi Grinberg (@rgrinberg)
  2. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(digest): isolate synchronous path hashing from active digests

    Use pooled hashers for synchronous regular-file and directory hashing so nested filesystem hashing does not reset an already-active singleton hasher. This also pools the initial symlink-target string hash, but does not yet fix its executable-bit wrapper.

    Rudi Grinberg (@rgrinberg)
  3. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(digest): reset the singleton hasher on exceptions

    If digest computation raises inside Hasher.with_singleton, the shared hasher can retain partial input and remain marked in use, causing later calls to fail. Clear the buffered input, reset the hasher and its guard, and re-raise with the original backtrace.

    Rudi Grinberg (@rgrinberg)
  4. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(engine): discard partial rule digests on error

    If action encoding raises while computing a rule digest, discard the partial input in the shared manual hasher and re-raise the original exception with its backtrace. Successful rule digests are unchanged.

    Rudi Grinberg (@rgrinberg)
  5. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(lib-name): validate every character of local names

    Local library name validation skipped the final character, so (name foo-) reached module-name validation and produced a misleading error. Check every character against the allowed set so Dune reports the invalid library name at its declaration.

    Rudi Grinberg (@rgrinberg)
  6. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(melange): discover select modules from melange.libraries

    Fix discovery of modules generated by select in melange.libraries, respecting separate OCaml and Melange dependency lists. Stacked on #17185.

    Antonio Nuno Monteiro (@anmonteiro)
  7. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(melange): resolve aliases through hidden private interfaces

    Resolve Melange aliases into local private modules and installed private libraries using hidden CMI paths and sandbox dependencies. Assume Melange 6+ and reuse the OCaml version check for hidden includes.

    Antonio Nuno Monteiro (@anmonteiro)
  8. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(melange): resolve artifacts for emit-owned modules

    Include melange.emit modules in artifact lookup, preserving ambiguity errors for overlapping stanzas.

    Antonio Nuno Monteiro (@anmonteiro)
  9. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(melange): track implicit Stdlib compilation dependencies

    Track the implicit Melange Stdlib as compilation inputs, including vendored builds and sandboxes. Fixes the regressions merged in #17187 and #17192.

    Antonio Nuno Monteiro (@anmonteiro)
  10. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(merlin): avoid building uncacheable preprocessor dependencies

    Skip non-file preprocessor dependencies before collecting Merlin PPX cache facts, preventing Melange-only aliases from running during OCaml builds or Merlin configuration generation.

    Antonio Nuno Monteiro (@anmonteiro)
  11. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(merlin): include hidden Melange dependency interfaces

    Include private Melange dependency interfaces as hidden Merlin paths, matching the OCaml behavior from #16629.

    Antonio Nuno Monteiro (@anmonteiro)
  12. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(nix): build pinned ocamlformat without Flambda

    Select the version pinned in .ocamlformat from Dune’s OCaml package set. The previous lookup bypassed the overlay that disables Flambda, so the development shells pulled in a second compiler and rebuilt the formatter’s OCaml dependencies with it.

    Rudi Grinberg (@rgrinberg)
  13. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(pkg): canonicalize platform disjunction hashes

    Platform disjunction equality ignores alternative order, but the structural hash and digest representation did not. Use the same sorted order for all three, without changing lockfile encoding or platform selection.

    Rudi Grinberg (@rgrinberg)
  14. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(pkg): exclude runtime job counts from command hashes

    Preserve %{jobs} as a typed runtime argument through package command expansion. Encode a stable marker in the action identity instead of the current numeric count, while still passing that count to commands when they execute.

    Rudi Grinberg (@rgrinberg)
  15. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(pkg): track package environment dependencies

    Track package-provided environment values as dependencies of managed-package and workspace rules so changes invalidate consuming actions. Include host-context exports and narrowed PATH without changing package visibility.

    Ali Caglayan (@Alizter)
  16. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(ppx): track the configured environment of staged rewriters

    When a package export or an env_vars binding changes, rerun both the dependency scan and compilation for modules using staged_pps. Unrelated shell variables remain untracked.

    Ali Caglayan (@Alizter)
  17. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(rocq): honour enabled_if of rocq.theory

    A rocq.theory whose enabled_if evaluates to false makes dune crash with

    Pwilke (@pwilke)
  18. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(rocq): restrict Corelib dependencies to its theories directory

    In the Rocq support, scanning for Corelib's .vo files includes user-contrib, not just theories, and can add dependencies to broken symlinks. Restrict the scan to theories.

    Paolo G. Giarrusso (@pgiarrusso-sl)
  19. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(sandbox): register sandbox directories with the scheduler

    Register sandbox directories with the scheduler so they are always deleted on shutdown.

    Chizy (@chizy7)
  20. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(scheduler): preserve workspace cache on terminal hangup

    Handle SIGHUP through the normal scheduler shutdown path, alongside SIGINT and SIGTERM. This lets exit hooks persist the workspace database instead of losing completed rule records after a terminal hangup.

    Rudi Grinberg (@rgrinberg)