Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    perf(cache): share lazy artifact storage directories by version

    Reuse one lazy artifact-storage directory path per supported file-format version in Layout.Versioned.file_storage_dir, instead of allocating and forcing a new directory-path lazy for every artifact-reference lookup.

    Rudi Grinberg (@rgrinberg)
  2. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    perf(cache): skip sorting for oversized trim goals

    Skip ctime sorting when the trimming goal strictly exceeds the total unused artifact size. Every candidate will be visited, so sorting cannot change which files are selected.

    Rudi Grinberg (@rgrinberg)
  3. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    perf(cache): stop traversing candidates once the trim goal is met

    Replace the deletion fold with a tail-recursive loop that returns as soon as the byte goal is reached. Previously, the remaining candidate list was still traversed even though the deletion callback did nothing.

    Rudi Grinberg (@rgrinberg)
  4. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    perf(cache): stream unused artifacts for size queries

    dune cache size folds over unused artifacts instead of materializing the eviction-candidate list. Lazily concatenate supported cache versions, sharing enumeration/stat/filter logic with trimming; only eviction materializes a list for sorting.

    Rudi Grinberg (@rgrinberg)
  5. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    perf(merlin): avoid unused compilation dependency facts

    Build Merlin configuration prerequisites without collecting dependency facts that compilation prefixes discard.

    Antonio Nuno Monteiro (@anmonteiro)
  6. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    perf(merlin): batch library-directory construction

    Batch Merlin library-directory collection while retaining parallel memoized reads for local source directories.

    Antonio Nuno Monteiro (@anmonteiro)
  7. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    perf(process): avoid loading entire captures before truncation

    Keep small captures on the fd-based read path through a new read_file_if_small helper. It uses the existing file-size check, without a preliminary stat or channel allocation.

    Rudi Grinberg (@rgrinberg)
  8. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    perf(sandbox): reuse ancestor checks for sibling dependencies

    Reuse the previous parent’s coverage result for sibling sandbox inputs. Follow-up to #16806.

    Ali Caglayan (@Alizter)
  9. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    perf(sexp): reuse empty field decoder states

    Field decoder state retains recognized names only to generate hints for unknown input fields. Once no unparsed fields remain, those names are no longer observable.

    Rudi Grinberg (@rgrinberg)
  10. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    prototype: add RPC-backed rule plugins

    This prototype lets a project define its own stanza-like forms using a small OCaml program. For example, here's a (plugin.greet ...) form that generates a greeting file.

    Rudi Grinberg (@rgrinberg)
  11. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    prototype: link ppx drivers with -no-pie on Linux

    Description

    Louis (@Khady)
  12. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    refactor(action): remove redundant execution context fields

    Remove the unused build context from action inputs and execution contexts, and stop duplicating the target set in the recursive execution context.

    Rudi Grinberg (@rgrinberg)
  13. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    refactor(action): use one concrete action representation

    Use a single concrete Action.t instead of the parameterized AST and print-only representation. Encode actions directly when printing rules, tracking the working directory for relative paths and preserving symlink-source handling.

    Rudi Grinberg (@rgrinberg)
  14. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    refactor(boot): remove unused SIMD C flags

    The blake3 impelemntations use assembly and not the C intrinsics implementations that were removed in #11914. The flags encoded here are unused and are therefore useless.

    Ali Caglayan (@Alizter)
  15. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    refactor(engine): cancel the loop-owned process context

    Store the process context in the active build state instead of its run ID. Cancel that context directly rather than consulting Process.Build.current, and derive trace and RPC run IDs from the stored context.

    Rudi Grinberg (@rgrinberg)
  16. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    refactor(engine): classify source and external paths in the rule loader

    Match Path.t directly during directory triage instead of routing through the one-use Dpath.analyse_dir wrapper and its duplicate source/external/build type.

    Rudi Grinberg (@rgrinberg)
  17. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    refactor(engine): clean unsandboxed targets within the action scope

    Follow up on #16743 by moving unsandboxed target cleanup into Sandbox.with_. Collect action errors, delete targets on failure, and propagate the original errors alongside any cleanup errors.

    Rudi Grinberg (@rgrinberg)
  18. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    refactor(engine): expose the rules-facing build configuration API

    Move the rule-generation constructors and combination logic into Build_config.Gen_rules, removing the wrapper from dune_rules/import.ml. Use Gen_rules.t as the single result type throughout the engine and rules.

    Rudi Grinberg (@rgrinberg)
  19. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    refactor(engine): fix promotion policy at the rules boundary

    Narrow the source-promotion hook to source and destination paths. Its sole caller always requests writable promoted files and replacement of destination directories, so keep those fixed policies in the rules-side implementation instead of passing them through the engine API.

    Rudi Grinberg (@rgrinberg)
  20. Pull requestW44.2026 · 26 Oct – 1 Novocaml/dune

    refactor(engine): keep generated-rule payload combination private

    Hide Build_config.Gen_rules.Rules.combine_exn; production callers already use Gen_rules.combine.

    Rudi Grinberg (@rgrinberg)